View Single Post
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#495
Originally Posted by Leinad View Post
Do you think it would be possible to show German Maps?

Is this what i need for example:
http://www.geodatenzentrum.de/xml/wmts_webatlasde.xml
http://www.geodatenzentrum.de/xml/wms_dtk25.xml
Yes, those are correct settings files but unfortunately there are no real WMS servers in those URLs only those setting files.

I think that WMS servers are listed in here. But it seems only two of them are freely usable and with very small scales, so those are not very useful.

I used these settings (EPSG:25832 is not supported in the current version, so these won't work until the next version). In server_settings.ini:
Code:
[bund-de-wms_dtk2500]
url=http://gdz.bkg.bund.de/wms_dtk2500
type=wms
layer\1\name=0
layer\1\title=DTK2500
layer\1\epsg=25832
layer\1\scaleHintMin=0.00000000000000
layer\1\scaleHintMax=188.56180831689383
layer\1\minx=224359.37958841701038
layer\1\miny=5109715.94699100032449
layer\1\maxx=986703.12958841701038
layer\1\maxy=6176044.07199100032449
layer\size=1
and in map_settings.ini
Code:
[Digitale%20topographische%20Karte]
type=baseMap
epsg=25832
layer\1\name=0
layer\1\wms=bund-de-wms_dtk2500
layer\1\scales=188.56180831689383, 94.280904158446915, 47.1404520792234575, 23.57022603961172875, 11.785113019805864375
layer\size=1
Originally Posted by Leinad View Post
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
It seems that that WMTS server uses map tiles with pixel size 512x512 and only 256x256 works in Mapsi, so at least at the moment that can't be used.