instedd / planwise

PlanWise applies algorithms and geospatial optimisation techniques to existing data on population, road networks and health facilities, so health care planners can better understand the unmet health needs of their constituents and better locate future health facilities.
GNU General Public License v3.0
40 stars 6 forks source link

Tool to generate/update region previews using Mapshaper #665

Closed ggiraldez closed 2 years ago

ggiraldez commented 3 years ago

Create a babashka (essentially interpreted Clojure) script to generate and update the preview regions in a Planwise instance. The script uses mapshaper so a Docker image with the script and all necessary dependencies is provided as instedd/planwise-tools.

The script has some brief usage help documentation, and it allows listing the available regions along with the size of the preview GeoJSON (if any) and generating missing previews, for one specific region or for all regions.