Webmap of De-sprawl Switzerland project by ETHOS lab
Install the dependencies
npm installStart the app in development mode (hot-code reloading, error reporting, etc.)
npm run devLint the files
npm run lintFormat the files
npm run formatBuild the app for production:
- use
npm versionto update with major/minor/patch version increment - commit and push changes to main branch
- create new Github release vx.x.x and the
deployaction will take care of deployment
Source datasets are GeoJSON files (use Git LFS to retrieve them). These are to be tiled in PMTiles format following this process:
- Preliminary:
- make sure GeoJSON files are in CRS84 format. If not, use QGis to convert.
- have tippecanoe installed
- if new dataset, update Makefile accordingly
- Use
make tiles - Then push to EPFL S3 with
make cdn