Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate spritesheet #1336

Open
gkinsman opened this issue May 11, 2024 · 1 comment
Open

Unable to generate spritesheet #1336

gkinsman opened this issue May 11, 2024 · 1 comment

Comments

@gkinsman
Copy link

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
Copy link
Collaborator

CommanderStorm commented Oct 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants