maplibre / martin

Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
https://martin.maplibre.org
Apache License 2.0
2.3k stars 216 forks source link

Unable to generate spritesheet #1336

Open gkinsman opened 6 months ago

gkinsman commented 6 months ago

Hi there!

Kicking the tyres on this as an alternative to tileserver-gl-light and was pretty quick to get going which was great!

I'm having some issues getting sprites working, though my config is pretty simple:

# Publish MBTiles files
mbtiles:
  sources:
    # named source matching source name to a single file
    greater-london: ../tiles/London/greater-london.mbtiles

# Sprite configuration
sprites:
  paths:
    - ./osm-liberty

Tiles load fine with this config, but attempts to load sprites cause this error in the martin console:

[2024-05-11T21:34:26Z ERROR martin::srv::server] Unable to generate spritesheet

when trying to navigate to http://localhost:3000/sprite/osm-liberty.json

I found where this happens in the source code here but there don't appear to be logs from spreet and no verbose mode.

Does anyone have any ideas what I might be doing wrong?

CommanderStorm commented 2 weeks ago

@gkinsman Sorry for the long wait, but could you please share the exact files you used? When I try the osm-liberty or related maki svgs in that folder it works..