Feature request #15927

Y format parameter for Tile Server (XYZ) layers

Added by Daniel Sánchez Pillot Gutiérrez almost 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:Data Provider
Pull Request or Patch supplied:Yes Resolution:
Easy fix?:No Copied to github as #:23844

Description

The new Tile Server layers work great for Google or OSM-like tile servers, however there's no option to select if the service follows the TMS standard with the Y tile number starting at the bottom which generates connection errors when using servers that do follow the standard, web clients like leaflet use a TMS=true parameter that could be easy to implement and allow for the selection of the tiles convention used by the server. Could a feature like this be implemented for QGIS?

Associated revisions

Revision ccd5d752
Added by Alessandro Pasotti over 7 years ago

[bugfix] Fix broken inverted Y support in XYZ layers

This follows the convention used by OpenLayers, where
an inverted axis is indicated by {-y} in the URL
definition.

Fixes #15927

Needs backporting.

Revision bb7f95fb
Added by Alessandro Pasotti over 7 years ago

[bugfix] Fix broken inverted Y support in XYZ layers

This follows the convention used by OpenLayers, where
an inverted axis is indicated by {-y} in the URL
definition.

Fixes #15927

(cherry-picked from ccd5d752254ce)

History

#1 Updated by Martin Dobias over 7 years ago

Can you point me to a server I can use? It seems relatively difficult to find a publicly available TMS server to test the inverted Y axis...

#3 Updated by Alessandro Pasotti over 7 years ago

Probably related, OpenLayers has a convention to indicate an inverted axis in the template with {-y}, see: https://github.com/openlayers/openlayers/issues/3923#issuecomment-125109362

#4 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No

#5 Updated by Alessandro Pasotti over 7 years ago

  • Category set to Data Provider
  • Assignee set to Alessandro Pasotti

#6 Updated by Alessandro Pasotti over 7 years ago

  • Pull Request or Patch supplied changed from No to Yes

#7 Updated by Anonymous over 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF