← Back to team overview

dhis2-devs team mailing list archive

Generating GeoJSON from the database

 

Hi,

Please find attached some PHP code I used to connect to a Mysql
version of the DHIS2 db and produce GeoJSON.

Would be great if we could have a service in DHIS 2 produce the same.
Especially because this would allow us to easily create maps (map
views) for just one district or province, and not the whole country,
as many local users would want (though we may need some more machinery
for the display of overlays in that case). This means that. a map view
should be attached to an orgunit.

Knut

Attachment: geojson.php
Description: Binary data


Follow ups