- Import the JSON file that needs updating into geojson.io and draw/modify features that need updating.
- Use the table view in geojson.io to add attributes.
- Export as a GeoJSON file.
- Rename it to replace the relevant JSON file, including changing the file type from GeoJSON to JSON.
- 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.
- Move the mbtiles file to the mbtiles folder, and change the name of it to include today's date.
- Replace the mbtiles file currently hosted in Mapbox with the new one.
- Refresh the application to double check that the changes were made.