-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Tile not found - pmtiles file, I know the tiles exist #675
Comments
@tobinbradley i guess it will be mega-hard for me to debug it without the original data file. Do you think you somehow can make it much much smaller while still having the bug manifest itself? This way we can add that tiny pmtiles file to the CI, and ensure that it passes all the tests. BTW, this would be part of the https://crates.io/crates/pmtiles crate. |
oh, silly me, you did post the pmtiles file! I will try to play with it to see if i can reproduce the issue locally! |
(but still - see if you can generate a tiny subset of it, ideally with just one tile) |
I think i found the culprit - stadiamaps/pmtiles-rs#17, but it would be awesome to create a lot more tiny test fixture files, where each tile is just a few bytes long with some sequential numbers. |
Thank you so much! I set Cargo.toml to I really appreciate you tracking this down in the pmtiles dependency. That's going above and beyond. To paraphrase Jon "maddog" Hall, you will never pay for a beer in my presence. Tnanks again! |
you are very welcome. This should be part of the v0.8.4 release too (should be published in the next few minutes) |
I've been digging through the code trying to figure out what's going on with this, but I've hit the limits of my Rust skills, which are approximately none.
I have a PMTiles file (~200mb) that I converted from a MBTiles file using go-pmtiles. If I look at it with the pmtiles preview tool, works fine. I server it with go-pmtiles, works fine. I consume it with the PMTiles client-side JS library in MapLibre GL, works fine. I try serving it with martin, and with every request I get tile not found, ex:
I tried turning debuggin on, and it doesn't say much more (at least to my stupid eyes):
This happens on both Linux and Windows binary releases and on martin built from the latest source on Linux, so it doesn't appear to be a platform/build issue.
My guess is the ZXY isn't getting translated correctly via thePMTiles header info, which means this might be a bug in the pmtiles crate and not in martin itself. But my rust skills don't extend much past the swearing stage, so I could be totally wrong.
The text was updated successfully, but these errors were encountered: