Vector tile caching from GeoJSON files
npm install -g tylr
tylr -f ./examples/us-states.json -d ./output -l 0,5 -a center
-
Options
-f input geojson
-n name of tiles (for client side rendering / styling)
-t output type ('pbf', 'json')
-d output dir
-l zoom levels ( 0 to 20 )
-a aglo use to choose tile center : choose one tile touching the center of the boundary geo zone area box : choose all tile touching the boundary box of the geo area