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

Change tile order z/y/x to z/x/y #668

Open
normanb opened this issue Jan 31, 2025 · 1 comment
Open

Change tile order z/y/x to z/x/y #668

normanb opened this issue Jan 31, 2025 · 1 comment

Comments

@normanb
Copy link

normanb commented Jan 31, 2025

Not an issue but a question (in the absence of a mailing list).

I can use Z/Y/Z for vector output in a web browser (and it works great, thank you!) by specifying this in a tile.json file, but I want to conform more to web maps using vectors (e.g. Mapbox and others) I would use Z/X/Y, is there a way to change the output and if not where should I look in the code to make this change?

Thanks!

@ungarj
Copy link
Owner

ungarj commented Feb 4, 2025

Yes, you can set it via the tile_path_schema parameter in the output definition:

output:
  format: foo
  path: bar
  tile_path_schema: {zoom}/{col}/{row}.{extension}

(default it is set as {zoom}/{row}/{col}.{extension})

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

2 participants