Skip to content

un-vector-tile-toolkit/spinel-produce

Repository files navigation

spinel-produce

background

I would like to provide a set of tools for downloading and importing data for the production of vector tiles in the hands-on session of the OSGeo.JP Workshop for the UN Vector Tile Toolkit.

install

$ git clone git@github.com:un-vector-tile-toolkit/spinel-produce
$ cd spinel-produce
$ npm install

configure

All configuration are stored in config/default.json.

$ vi config/default.json

usage

download source data

$ node download.js

This downloads GeoJSON text sequences from the following URLs.

import source data, adding layer name and zoom levels

$ node import.js > 6-46-30.ndjson

produce mbtiles from imported data

$ tippecanoe -f --read-parallel --drop-densest-as-needed --simplification=2 --minimum-zoom=6 --maximum-zoom=15 --base-zoom=15 --output=6-46-30.mbtiles 6-46-30.ndjson

see also

About

vector tile production scripts for OSGeo.JP Workshop for the UN Vector Tile Toolkit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published