File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- yarn run generate-mapbox-gl-fonts
1+ source ~ /.nvm/nvm.sh
2+ nvm use 16 # generate-mapbox-gl-fonts needs node 16
3+
4+ yarn --ignore-engines run generate-mapbox-gl-fonts
25mkdir -p data/spatial/tiles/fonts
36cp -r _output/Roboto\ Regular data/spatial/tree-app-tiles/tiles/fonts/Roboto\ Regular
47rm -r _output
Original file line number Diff line number Diff line change @@ -1400,7 +1400,7 @@ SELECT
14001400CREATE TABLE "forest_types_sz " (
14011401 gid serial ,
14021402 " fid" float8,
1403- " sz_einheit " varchar (80 ),
1403+ " sz einheit " varchar (80 ),
14041404 " nais" varchar (80 ),
14051405 " nais1" varchar (80 ),
14061406 " nais2" varchar (80 ),
Original file line number Diff line number Diff line change 1818 "data:treetypes:deploy" : " vercel deploy --cwd ./data/treetypes" ,
1919 "data:spatial:export" : " cd data && docker-compose exec db sh -c '/data/spatial/2-export.sh'" ,
2020 "data:spatial:tile" : " cd data && docker-compose exec tippecanoe sh -c '/data/spatial/3-tile.sh'" ,
21- "data:spatial:fonts" : " ./data/spatial/4-fonts.sh" ,
21+ "data:spatial:fonts" : " bash ./data/spatial/4-fonts.sh" ,
2222 "data:spatial:deploy" : " cd data/spatial/tree-app-tiles && pnpm install && pnpm build && vercel deploy --cwd ." ,
2323 "data:spatial:deploy:local" : " cd data/spatial/tree-app-tiles && pnpm install && pnpm build && node dist/server.js" ,
2424 "data:export:csv" : " node --experimental-json-modules export/src/export_csv.mjs" ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const OLD_SO_PDF_CACHES = Array.from(Array(currentSoPdfVersion).keys()).map(
3434) ;
3535
3636const tileCacheString = "tree-app-tiles-v" ; // IMPORTANT: This string should NEVER be changed, otherwise the old caches will not be identifyable anymore
37- const currentTileVersion = 25 ; // Current tile version, needs to be increased every time new tiles are deployed
37+ const currentTileVersion = 26 ; // Current tile version, needs to be increased every time new tiles are deployed
3838const TILE_CACHE_NAME = `${ tileCacheString } ${ currentTileVersion } ` ;
3939
4040// Create an array of 'tree-app-tiles-v[1 - currentVersion]' strings for the caches to be removed
You can’t perform that action at this time.
0 commit comments