ODIN icon indicating copy to clipboard operation
ODIN copied to clipboard

some WMTS sources are shifted to east/south (probably due to incorrect axis orientation)

Open ThomasHalwax opened this issue 5 years ago • 4 comments

The tiles of some WMTS providers are shifted to the east/south. This is especially true for Austrian WMTS sources like

  • https://gis.bgld.gv.at/gisbgld/rest/services/Public/Nur_Flaechenwidmung/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
  • https://gis.ktn.gv.at/arcgis/rest/services/tilecache/Ortho_2010_2012/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
  • https://service.salzburg.gv.at/arcgis/rest/services/Orthofoto_Land_Salzburg/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
  • https://gis.tirol.gv.at/arcgis/rest/services/Basis/basis_dom/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

My codepen shows the issue. I've also created a Stackoverflow question. The solution to this might be a fix included in the next OpenLayers release (6.3.2).

ThomasHalwax avatar May 12 '20 20:05 ThomasHalwax

Is there already an OL issue addressing this problem?

dehmer avatar May 13 '20 07:05 dehmer

I understand that QGIS has no problems with these WMTS providers?

dehmer avatar May 13 '20 07:05 dehmer

I understand that QGIS has no problems with these WMTS providers?

It has the same problems but seems to have a workaround. I've updated my StackOverflow issue and added a screenshot of QGIS that shows the inconsistency of the right boundary.

ThomasHalwax avatar May 13 '20 07:05 ThomasHalwax

Is there already an OL issue addressing this problem?

At the moment I am not sure about this. There is an old one and they changed calculation of the WMTS bounding box.

I'd wait for the next release (6.3.2) in order to verify if the changes solve our problem.

ThomasHalwax avatar May 13 '20 07:05 ThomasHalwax