Feature request #15927

Y format parameter for Tile Server (XYZ) layers

Added by Daniel Sánchez Pillot Gutiérrez 10 months ago. Updated 4 months ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:Data Provider
Pull Request or Patch supplied:Yes Resolution:
Easy fix?:No

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 4 months 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 4 months 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 7 months 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 6 months 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 5 months ago

  • Easy fix? set to No

#5 Updated by Alessandro Pasotti 4 months ago

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

#6 Updated by Alessandro Pasotti 4 months ago

  • Pull Request or Patch supplied changed from No to Yes

#7 Updated by Anonymous 4 months ago

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

Also available in: Atom PDF