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

Scheme setting is ignored when creating mbtiles #498

Closed
Emptyless opened this issue Jun 11, 2023 · 3 comments
Closed

Scheme setting is ignored when creating mbtiles #498

Emptyless opened this issue Jun 11, 2023 · 3 comments

Comments

@Emptyless
Copy link

In the config-openmaptiles.json file, the XYZ scheme is referenced. Tilemaker however uses TMS. Is this (or should it be) a configurable option?

https://github.com/systemed/tilemaker/blob/c6ae3cd68fdf3c090fcfce9fe6c4fe68e912ec03/resources/config-openmaptiles.json#LL48C13-L48C13

Related issues #8 and #491 show similar confusion in interpreting the Z/X/Y endpoint.

@pnorman
Copy link
Contributor

pnorman commented Jun 12, 2023

mbtiles are always TMS numbered. I don't see any confusion about that.

If someone writes code to respond to xyz requests they have to do some basic math.

@Emptyless
Copy link
Author

While it adheres to the specification, it does strike me as odd that there is no mention that the projection used is deprecated and does not follow the OSM standard pseudo mercator. The ruby example server implements the y to y_tms mapping, why not add a note in the readme?

@systemed
Copy link
Owner

systemed commented Jun 12, 2023

I don't think the TMS format is "deprecated", is it? It's just that .mbtiles uses one thing and the OSM tileservers use something else - neither is right or wrong.

why not add a note in the readme?

If we explained absolutely everything that people could potentially get confused by in the readme it would be about 50000 lines long. :) But it could make a FAQ, I guess (FSVO "frequently").

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

No branches or pull requests

3 participants