UNHCR-Guatemala / A2SIT

Admin2 Severity Index Tool
https://unhcr-guatemala.github.io/A2SIT/
Other
2 stars 1 forks source link

Shapefile upload #36

Closed bluefoxr closed 8 months ago

bluefoxr commented 8 months ago

The main addition here is enabling users to upload their own shape files to plot custom geometry in the app. At the moment, this supports geojson and json formats, which are read in using the sf package.

After reading in the geometry, the app generates a template for you to fill in based on codes specified by dropdown menus in the app.

Also added a switch to generate some fake data to populate the template - this was mainly for quick testing so could be removed if not useful in general.

Also added some potential fixes for deployment: