Easily creates thumbnails from GL JSON style
3.3K
Simple tool for generating preview raster images for styles.
The tool generates 3 images:
thumbnail.png -- 512x512, whole worldpreview-2.png -- 640x360, image with zoom level 2 (centered on Zurich)preview-10.png -- 640x360, image with zoom level 10 (centered on Zurich)custom.png -- custom image (if specified in the second parameter)docker run -v $(pwd):/data klokantech/thumbnail-gl {JSON_URL} [{CUSTOM_AREA_SPEC}]
docker run -v $(pwd):/data klokantech/thumbnail-gl https://maps.tilehosting.com/styles/topo/style.json?key=[key] "-x 8.235 -y 46.787 -z 7 -w 800 -h 600 -r 2"
thumbnail.png
preview-2.png
preview-10.png
custom.png
Content type
Image
Digest
Size
130.1 MB
Last updated
over 8 years ago
docker pull klokantech/thumbnail-gl