With Geoserver 2.22.5 I’ve installed the MBStyle extension (and the style editor gives the Mapbox style option in the Geoserver ui) (and the vector tiles plugin). I followed along with the documentation for installing it and creating mapbox styles and I fear I may have missed something for for instance https://docs.geoserver.org/2.22.x/en/user/styling/workshop/mbstyle/polygon.html refers to employing a sprite for a fill pattern :
" You can view the names of all the icons in the sprite-sheet by looking at its json definition, at http://localhost:8080/geoserver/styles/sprites.json." says the docs and that does not seem to exist in my environment, in short there is no “sprites” under styles, and I wonder if there’s supposed to be from merely installing the MBStyle extension or if there’s anything else that need doing.
I can create a sprites file with https://github.com/mapbox/spritezero-cli I think and host it someplace but it seems like the Geoserver docs imply that there’s supposed to be sprites already and I don’t entirely get it and would appreciate a heads-up : )
I am goad you found the workshop; I only update that material (and indeed mbstyle) when I have an opportunity to teach that workshop.
Although I tested the plugin with MapLibre I have not had the opportunity to update the content and plugin to reflect changing from mapbox to maplibre library.
I think you will find that the sprite was available as a download on that page (if not it should be).
Actually I can see that the content is quoted in full as part of that page
But it does not seem to have a download link, or the associated PNG file
With Geoserver 2.22.5 I’ve installed the MBStyle extension (and the style editor gives the Mapbox style option in the Geoserver ui) (and the vector tiles plugin). I followed along with the documentation for installing it and creating mapbox styles and I fear I may have missed something for for instance https://docs.geoserver.org/2.22.x/en/user/styling/workshop/mbstyle/polygon.html refers to employing a sprite for a fill pattern :
" You can view the names of all the icons in the sprite-sheet by looking at its json definition, at http://localhost:8080/geoserver/styles/sprites.json." says the docs and that does not seem to exist in my environment, in short there is no “sprites” under styles, and I wonder if there’s supposed to be from merely installing the MBStyle extension or if there’s anything else that need doing.
I can create a sprites file with https://github.com/mapbox/spritezero-cli I think and host it someplace but it seems like the Geoserver docs imply that there’s supposed to be sprites already and I don’t entirely get it and would appreciate a heads-up : )
Friendly regards
David
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list: