[Geoserver-users] MBstyle workshop reference to geoserver/styles/sprites

Hello,

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

Hello David,

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).

If you have a moment to update the page, each page has an edit button and your assistance would be appreciated.


Jody

On Mon, Oct 9, 2023 at 7:51 AM David Persson <perssond9@anonymised.com> wrote:

Hello,

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:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users