Active Topics

 



Notices


Reply
Thread Tools
Posts: 37 | Thanked: 3 times | Joined on Sep 2011
#491
Onko ratkaisua? - N900 puhelin ja mapsi 4.3.0: kartan valintavalikko tyhjä siihen liittyvä grafiikka on mutta tekstit puuttuu. Jos valitsee settings tiedostot #481 (ini.zip) saa osm kartat jos taas valitsee #470 saa maastokartat_50k saakka sitten ne muuttuu ilmakuviksi.
 
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
 
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#493
Originally Posted by Tarmo View Post
Onko ratkaisua? - N900 puhelin ja mapsi 4.3.0: kartan valintavalikko tyhjä siihen liittyvä grafiikka on mutta tekstit puuttuu. Jos valitsee settings tiedostot #481 (ini.zip) saa osm kartat jos taas valitsee #470 saa maastokartat_50k saakka sitten ne muuttuu ilmakuviksi.
Saat sen kartan vaihdettua muokkaamalla (ennen käynnistämistä) settings.ini:n [BaseMap]-osassa olevaa map-asetusta. Eli #481 asetustiedostoilla siihen Ilmakuvan tilalle vaikka Maastokartta. Voitko muuten testata käynnistää Mapsin terminaalissa komennolla /lib/ld-linux.so.3 --library-path /opt/qtm12/lib/ /opt/Mapsi/bin/mapsi, avata sen tyhjän asetusikkunan ja katsoa tuleeko siitä terminaaliin mitään ilmoitusta?
 

The Following User Says Thank You to orava For This Useful Post:
Posts: 37 | Thanked: 3 times | Joined on Sep 2011
#494
Originally Posted by orava View Post
Saat sen kartan vaihdettua muokkaamalla (ennen käynnistämistä) settings.ini:n [BaseMap]-osassa olevaa map-asetusta. Eli #481 asetustiedostoilla siihen Ilmakuvan tilalle vaikka Maastokartta. Voitko muuten testata käynnistää Mapsin terminaalissa komennolla /lib/ld-linux.so.3 --library-path /opt/qtm12/lib/ /opt/Mapsi/bin/mapsi, avata sen tyhjän asetusikkunan ja katsoa tuleeko siitä terminaaliin mitään ilmoitusta?
Tulee ilmoitus: cannot open shared object file: No such file or directory.
Kiitos. Maastokartta toimii - kartan valinta ei pakollinen, mutta olisi kiva tietää miksi se ei näy. Johtuneeko asennustavasta: 4.0.0 > päivitys 4.3.0 libqtm12 asennus Qtlib Examplesin kautta.

Last edited by Tarmo; 2012-09-01 at 08:04.
 
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.
 
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#496
Originally Posted by Tarmo View Post
Tulee ilmoitus: cannot open shared object file: No such file or directory.
Hmm..toi on täysin sama komento, joka ajetaan silloin kun se käynnistetään ikonista painamalla, eli jos siitä toimii niin pitäisi toimia tonkin. Toi on siis yhtä komentoa koko teksti eli pitää copypastea /lib/ld-linux.so.3 --library-path /opt/qtm12/lib/ /opt/Mapsi/bin/mapsi yhdelle riville terminaalin ja entteriä.
 
Posts: 37 | Thanked: 3 times | Joined on Sep 2011
#497
Originally Posted by orava View Post
Hmm..toi on täysin sama komento, joka ajetaan silloin kun se käynnistetään ikonista painamalla, eli jos siitä toimii niin pitäisi toimia tonkin. Toi on siis yhtä komentoa koko teksti eli pitää copypastea /lib/ld-linux.so.3 --library-path /opt/qtm12/lib/ /opt/Mapsi/bin/mapsi yhdelle riville terminaalin ja entteriä.
Olen kirjoittanut sen pariin kertaan terminaaliin, copypastea en ole koskaan oikein sanut toimimaan tässä puhelimessa. Onkohan tuossa kolmosen jälkeen space? Molemmat kyllä kokeiltu. Vastaus on : No such file
 
Posts: 37 | Thanked: 3 times | Joined on Sep 2011
#498
Originally Posted by Tarmo View Post
Olen kirjoittanut sen pariin kertaan terminaaliin, copypastea en ole koskaan oikein sanut toimimaan tässä puhelimessa. Onkohan tuossa kolmosen jälkeen space? Molemmat kyllä kokeiltu. Vastaus on : No such file
Onnistuin viimein käyttämään copypaste komentoa puhelimessa ja ohjelma käynnistyi. Käynnistyessä tuli ilmoitus "Unsupported date format character at 1 (%-d.%-m.)
Siitä ikkunan avaamisesta ei tullut mitään virheilmoitusta.

Last edited by Tarmo; 2012-09-01 at 12:43.
 

The Following User Says Thank You to Tarmo For This Useful Post:
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#499
Mapsi v4.3.9 for Windows is now available here.

Installation
1. Download file from the link above and unrar it to directory with no white spaces in it (e.g. to "c:\").
2. Run mapsi.exe
 

The Following 3 Users Say Thank You to orava For This Useful Post:
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#500
As of version 4.3.9 EPSG:3301 (Estonian Coordinate System) is also supported. To use Estonian land board's public WMS-service in Mapsi you can e.g. use following settings. To servers_settings.ini add
Code:
[maaamet-ee]
url=http://xgis.maaamet.ee/wms-pub/alus
type=wms
layer\1\name=of10000
layer\1\title=ORTOFOTO
layer\1\info=\xa9 Estonian Land Board
layer\1\epsg=3301
layer\1\scaleHintMin=0
layer\1\scaleHintMax=8.98399304309669
layer\1\minx=365000
layer\1\miny=6.375e+06
layer\1\maxx=740000
layer\1\maxy=6.635e+06
layer\2\name=MA-ALUSKAART
layer\2\title=Maa-ameti aluskaardid
layer\2\info=\xa9 Estonian Land Board
layer\2\epsg=3301
layer\2\scaleHintMin=0
layer\2\scaleHintMax=1234.78454986335
layer\2\minx=300000
layer\2\miny=6.3e+06
layer\2\maxx=800000
layer\2\maxy=6.7e+06
layer\size=2
and to map_settings.ini
Code:
[Maa-ameti%20aluskaardid]
type=baseMap
epsg=3301
layer\1\name=MA-ALUSKAART
layer\1\wms=maaamet-ee
layer\1\scales=617.392274931675045, 308.6961374658375225, 154.34806873291876125, 77.174034366459380625, 38.5870171832296903125, 19.29350859161484515625, 9.646754295807422578125, 4.8233771479037112890625, 2.41168857395185564453125
layer\size=1
 

The Following User Says Thank You to orava For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:10.