[MapProxy] WMTS MatrixWidth at Level 0

Starck Heinrich Heinrich.Starck at energieag.at
Tue Aug 11 06:44:55 PDT 2015


Hello,

I try to access to a WMTS offer of our local government:
http://srv.doris.at/arcgis/rest/services/Basisdaten/FlaeWi/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

But I get the wrong tiles. X,Y are to low.

Mapproxy:
         http://srv.doris.at/arcgis/rest/services/Basisdaten/FlaeWi/MapServer/WMTS/tile/1.0.0/Basisdaten_FlaeWi/default/default028mm/9/5/45.png

Correct something like this:
         http://srv.doris.at/arcgis/rest/services/Basisdaten/FlaeWi/MapServer/WMTS/tile/1.0.0/Basisdaten_FlaeWi/default/default028mm/6/3449/4182.png

I think the reason is the TileMatrixSet definition:

<TileMatrixSet>
         <ows:Title>TileMatrix using 0.28mm</ows:Title>
         <ows:Abstract>The tile matrix set that has scale values calculated based on the dpi defined by OGC specification (dpi assumes 0.28mm as the physical distance of a pixel).</ows:Abstract>
         <ows:Identifier>default028mm</ows:Identifier>
         <ows:SupportedCRS>urn:ogc:def:crs:EPSG::31255</ows:SupportedCRS>
         <TileMatrix>
                   <ows:Identifier>0</ows:Identifier>
                   <ScaleDenominator>2267861.678580215</ScaleDenominator>
                   <TopLeftCorner>5001000.0 -5622500.0</TopLeftCorner>
                   <TileWidth>256</TileWidth>
                   <TileHeight>256</TileHeight>
                   <MatrixWidth>36</MatrixWidth>       <------ Level 0 starts with [36:60] instead of [1:1]
                   <MatrixHeight>60</MatrixHeight>
         </TileMatrix>
         <TileMatrix>
                   <ows:Identifier>1</ows:Identifier>
                   <ScaleDenominator>1133930.8392901076</ScaleDenominator>
                   <TopLeftCorner>5001000.0 -5622500.0</TopLeftCorner>
                   <TileWidth>256</TileWidth>
                  <TileHeight>256</TileHeight>
                   <MatrixWidth>71</MatrixWidth>
                   <MatrixHeight>119</MatrixHeight>
         </TileMatrix>
         ...

I found no way to reflect this in my mapproxy.yaml.
Is there a config possibility/solution?


Or can I hack the mapproxy python source?
A first look shows me no starting point.
Currently I don't understand metatile,tile pattern etc. and their relationships.

best regards,

Heinrich.




mfG,
Heinrich Starck
Konzern-IT-Services
Consultant

Energie AG Oberösterreich Business Services GmbH
Böhmerwaldstraße 3, 4020 Linz, Austria
Sitz: Linz, FN 282575 b LG Linz

Tel.: +43 (0)732 9000-3491
Fax: +43 (0)732 9000-53491
Mobil: +43 (0)664 60 165 3491
E-Mail: heinrich.starck at energieag.at<mailto:heinrich.starck at energieag.at>
Internet: www.energieag.at<http://www.energieag.at/>


________________________________

Diese Mitteilung ist vertraulich und nur fuer den Adressaten bestimmt. Weitergabe oder Vervielfaeltigung durch andere als den Adressaten ist verboten. Wenn Sie die Sendung irrtuemlich erhalten, verstaendigen Sie bitte unverzueglich den Absender.
This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message by mistake, please advise the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150811/fc4c1f3d/attachment.html>


More information about the MapProxy mailing list