https://github.com/blacha/basemaps-tile-generator
use linz/basemaps to generate tiles of a GPX route
https://github.com/blacha/basemaps-tile-generator
Last synced: 3 months ago
JSON representation
use linz/basemaps to generate tiles of a GPX route
- Host: GitHub
- URL: https://github.com/blacha/basemaps-tile-generator
- Owner: blacha
- Created: 2022-08-25T07:37:28.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-25T07:51:47.000Z (about 3 years ago)
- Last Synced: 2025-01-14T11:47:34.159Z (10 months ago)
- Language: JavaScript
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @basemaps/tile-generator
You need access to [linz/basemaps](https://github.com/linz/basemaps) S3 Buckets of imagery for this to work.
Create a folder called `route/` and put `gpx` files into
Load all the data from `route/*.gpx` and create a tile covering
```
node src/create-tile-cover.mjs
```
Load the output `data/tiles.json` and start generating tiles
```
node src/tile-generator.mjs
node src/tile-generator.mjs --reverse # Run a second node process backwards through the imagery
```
Bundle the tiles from `tiles/*` into mbtiles
```
node src/create-mbtiles.mjs
```