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

Add quadkey parameter in XYZ layers #24273

Closed
qgib opened this issue Mar 17, 2017 · 4 comments
Closed

Add quadkey parameter in XYZ layers #24273

qgib opened this issue Mar 17, 2017 · 4 comments

Comments

@qgib
Copy link
Contributor

qgib commented Mar 17, 2017

Author Name: Nikolay Lebedev (Nikolay Lebedev)
Original Redmine Issue: 16363

Redmine category:unknown


Some XYZ services (i.e. Bing Maps) use quadkey in a tile address, so it'll be handy to have this parameter in layer definition.
Also there are some params like (a,b,c) in server url (i.e. in OpenStreetMap service),
and some services are in different CRS (i.e. Yandex Maps is in 3395). Could be great to have them configurable too.

@qgib
Copy link
Contributor Author

qgib commented Apr 1, 2017

Author Name: Martin Dobias (@wonder-sk)


That is supported already, try using {q} for Bing-style quadkey placeholder


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2017

Author Name: Jürgen Fischer (@jef-n)


  • category_id was configured as Unknown

@FrankyBoy
Copy link

Hi! Is there any actual documentation on this feature ({q}), how exactly it works or how it could be customized? Can't find anything on it in any of the docs :/

Reason is, I am currently trying to import a map from an MC map client and it's file structure is a quad tree in a folder structure
image

Digging through the web frontend, the tile loading code must be this here which in turn uses this method to generate the actual URL.

@wonder-sk
Copy link
Member

This is my only reference:
https://docs.microsoft.com/en-us/bingmaps/articles/bing-maps-tile-system?redirectedfrom=MSDN

{q} simply gets replaced by string like 210311 ... if you have this kind of directory structure like in your screenshot, I think you would need some kind of extension of this... e.g. to introduce {q/} or something similar that would add slashes between the digits.

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