View Single Post
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#492
Hey orava,

i think i'm close to get the german map working in Mapsi, only problem are the scales i think.

Capabilities tell me this:

HTML Code:
<TileMatrixSet><ows:Title>Default 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::25832</ows:SupportedCRS><TileMatrix><ows:Identifier>0</ows:Identifier><ScaleDenominator>9449404.761904761</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>2</MatrixWidth><MatrixHeight>2</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>1</ows:Identifier><ScaleDenominator>7087053.571428571</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>2</MatrixWidth><MatrixHeight>2</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>2</ows:Identifier><ScaleDenominator>4724702.380952381</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>3</MatrixWidth><MatrixHeight>3</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>3</ows:Identifier><ScaleDenominator>2834821.428571428</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>3</MatrixWidth><MatrixHeight>3</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>4</ows:Identifier><ScaleDenominator>1889880.9523809522</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>4</MatrixWidth><MatrixHeight>4</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>5</ows:Identifier><ScaleDenominator>1417410.714285714</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>5</MatrixWidth><MatrixHeight>6</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>6</ows:Identifier><ScaleDenominator>944940.4761904761</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>7</MatrixWidth><MatrixHeight>8</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>7</ows:Identifier><ScaleDenominator>708705.357142857</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>8</MatrixWidth><MatrixHeight>11</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>8</ows:Identifier><ScaleDenominator>472470.23809523805</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>12</MatrixWidth><MatrixHeight>15</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>9</ows:Identifier><ScaleDenominator>283482.14285714284</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>19</MatrixWidth><MatrixHeight>25</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>10</ows:Identifier><ScaleDenominator>141741.07142857142</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>36</MatrixWidth><MatrixHeight>48</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>11</ows:Identifier><ScaleDenominator>94494.0476190476</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>53</MatrixWidth><MatrixHeight>71</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>12</ows:Identifier><ScaleDenominator>70870.53571428571</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>70</MatrixWidth><MatrixHeight>94</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>13</ows:Identifier><ScaleDenominator>28348.214285714283</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>173</MatrixWidth><MatrixHeight>234</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>14</ows:Identifier><ScaleDenominator>18898.809523809523</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>260</MatrixWidth><MatrixHeight>350</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>15</ows:Identifier><ScaleDenominator>14174.107142857141</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>346</MatrixWidth><MatrixHeight>466</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>16</ows:Identifier><ScaleDenominator>9449.404761904761</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>518</MatrixWidth><MatrixHeight>698</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>17</ows:Identifier><ScaleDenominator>7087.053571428571</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>691</MatrixWidth><MatrixHeight>930</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>18</ows:Identifier><ScaleDenominator>4724.702380952381</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>1036</MatrixWidth><MatrixHeight>1395</MatrixHeight></TileMatrix><TileMatrix><ows:Identifier>19</ows:Identifier><ScaleDenominator>2834.8214285714284</ScaleDenominator><TopLeftCorner>-5120900.0 9998100.0</TopLeftCorner><TileWidth>512</TileWidth><TileHeight>512</TileHeight><MatrixWidth>1727</MatrixWidth><MatrixHeight>2324</MatrixHeight></TileMatrix></TileMatrixSet>
Would you please give me a hint or maybe a formula how to calculate the scales Mapsi needs to display the maps?

Thanks