osm-bright-gl-style
osm-bright-gl-style copied to clipboard
Tools for building the style
Really nice style, and I just wonder if it would be possible to provide the tool/scripts that you use for building the github pages version that contains the local version and that also builds the sprites?
This container seems to generate sprites in the right format. However, I still can not call them in my style sheet. Have you found a solution ?
https://github.com/macteo/spritezero-docker (mapbox/spritezero)
My solution was to go the github-pages branch of the style and grab the generated spirits there... https://github.com/openmaptiles/osm-bright-gl-style/tree/gh-pages (It also contains versions of the style to run offline, and that is nice.)
I found a solution :
- Create /sprites/_svg in your tileserver folder (/data)
mkdir sprites &&\
mkdir sprites/_svg
- Put your *.svg files in sprites/_svg
- Run this container : generate sprites in the format required by Mapbox and OpenMapTiles
docker run -it -e THEME=sprite -v ${PWD}:/data dolomate/spritezero