From 2781fd2e3001d57de7a1a3c4bd5caaae3d085f67 Mon Sep 17 00:00:00 2001 From: nlebovits Date: Thu, 17 Oct 2024 14:41:53 -0400 Subject: [PATCH] update docs to reflect conversion from pmtiles to geojson --- docs/SETUP/BACK_END.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/SETUP/BACK_END.md b/docs/SETUP/BACK_END.md index 9a184d1c..7906385f 100644 --- a/docs/SETUP/BACK_END.md +++ b/docs/SETUP/BACK_END.md @@ -164,6 +164,10 @@ GOOGLE_CLOUD_BUCKET_NAME=your-bucket-name-here The python script loads the tiles to Google Cloud as `vacant_properties_tiles_staging.pmtiles`. You can check this tileset by changing the config setting on the frontend `useStagingTiles` to `true`. If the tiles look OK, manually change the name in Google Cloud to remove the `_staging` and archive the previous copy. +##### Converting PMTiles to Vector Data + +Pmtiles stored in the cloud or locally can be converted back to a vector dataset (e.g., GeoJson) by using [tippecanoe](https://github.com/mapbox/tippecanoe) in the terminal: `tippecanoe-decode -c vacant_properties_tiles.pmtiles > vacant_properties_tiles.geojson`. (Note that this can likely be done in the Docker container to avoid installing a local copy of tippecanoe, but we haven't explored this yet.) + #### Google Streetview To update streetview images, after running the full data script run: