codeforboston / mattapan-mapping

Mattapan Mapping application. A collaborative between powerfulpathways.org & codeforboston.org . Ideation phase.
https://mattapan-pp.netlify.app/
MIT License
5 stars 16 forks source link

Github Action to Fetch BTD transportation projects (Issue #49) #50

Closed kellstefan closed 2 years ago

kellstefan commented 2 years ago

Changes include:

The action is currently set to run every Saturday at 8:30 UTC.

thadk commented 2 years ago

Amazing!

netlify[bot] commented 2 years ago

👷 Deploy request for mattapan-mapping pending review. Visit the deploys page to approve it

🔨 Explore the source changes: 74c0138a619843c89e9caaa061a917c591c6ad7e

thadk commented 2 years ago

@kellstefan Would you mind modifying this so that it just overwrites the old file and does not date the file?

Many thanks. This will let us not need an index of all the filenames for the frontend to download each time.

kellstefan commented 2 years ago

@thadk I modified the script to not include the date in the filename. The BTD projects file should now always save as "BTD_transportation_projects.geojson".

thadk commented 2 years ago

Merging and will adjust afterwards in a different issue. Main adjustment needed is to use the public/ folder and maybe to convert pjson to GeoJSON files using the same tool that this notebook uses: https://observablehq.com/@thadk/arcgis-json-parser-to-geojson.