Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.64 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.64 KB

Image of the app

Summary

This map was initially created as part of the 20x20: Connected, Protected, Equitable advocacy campaign. It shows the current protected bike lane and trail networks, WABA's proposal for the infrastructure to be built in 2020, and the vision for the future network. This map was never released publicly in 20x20, but may be used in the future.

Updating Features

  1. Import the JSON file that needs updating into geojson.io and draw/modify features that need updating.
  2. Use the table view in geojson.io to add attributes.
  3. Export as a GeoJSON file.
  4. Rename it to replace the relevant JSON file, including changing the file type from GeoJSON to JSON.
  5. Create a new mbtiles file with the new JSON file using the mbtiles_script.txt. This is completed in Terminal, and requires Tippecanoe (documentation). Don't change names in the script. The names are used as IDs in the application; changing them will cause the data to fail to appear on the map.
  6. Move the mbtiles file to the mbtiles folder, and change the name of it to include today's date.
  7. Replace the mbtiles file currently hosted in Mapbox with the new one.
  8. Refresh the application to double check that the changes were made.