Skip to content

Reads mosquito presence shapefile and writes it to the caesapp database

Notifications You must be signed in to change notification settings

Mosquito-Alert/presence_reader

Repository files navigation

presence_reader

This project uses a config.py file. This file is quite self-explanatory, but it should contain the credentials to connect to a postgresql database and the full path to the shapefile dbf file.

The main.py script reads the shapefile and scans for presence of albopictus and japonicus. Then it updates the table main_natcodepresence in the madatosapp.mosquitoalert.com with the presence data found in the shapefile.

This update process takes place before the load_observation_data.py of the madatosapp.mosquitoalert.com is executed.

About

Reads mosquito presence shapefile and writes it to the caesapp database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages