Add lantmateriet to the online sources.

Started by Mean, May 11, 2016, 11:13:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mean

You can see the map here

https://kso.etjanster.lantmateriet.se/">https://kso.etjanster.lantmateriet.se/

Usage is free for personal and none profit use. You can even get an offline version on request but the license for that seems gray in orux case.



I think the link should look like

<url><![CDATA[https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX=%7B$z%7D&TILEROW=%7B$x%7D&TILECOL=%7B$y%7D&FORMAT=image%2Fpng">https://kso.etjanster.lantmateriet.se/k ... mage%2Fpng">https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX={$z}&TILEROW={$x}&TILECOL={$y}&FORMAT=image%2Fpng]]></url>

<minzoom>2</minzoom>

<maxzoom>13</maxzoom>      



But Im not getting it to work. It might be because the zoom goes from 2-4-6-8-10-12-13



Here is an example of a map part that works

https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX=0">https://kso.etjanster.lantmateriet.se/k ... LEMATRIX=0">https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX=0&

orux

#1
Quote from: Mean post_id=9143 time=1462957987 user_id=3615
You can see the map here

https://kso.etjanster.lantmateriet.se/">https://kso.etjanster.lantmateriet.se/

Usage is free for personal and none profit use. You can even get an offline version on request but the license for that seems gray in orux case.



I think the link should look like

<url><![CDATA[https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX=%7B$z%7D&TILEROW=%7B$x%7D&TILECOL=%7B$y%7D&FORMAT=image%2Fpng">https://kso.etjanster.lantmateriet.se/k ... mage%2Fpng">https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX={$z}&TILEROW={$x}&TILECOL={$y}&FORMAT=image%2Fpng]]></url>

<minzoom>2</minzoom>

<maxzoom>13</maxzoom>      



But Im not getting it to work. It might be because the zoom goes from 2-4-6-8-10-12-13



Here is an example of a map part that works

https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX=0">https://kso.etjanster.lantmateriet.se/k ... LEMATRIX=0">https://kso.etjanster.lantmateriet.se/karta/topowebb/v1/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=topowebb&STYLE=default&TILEMATRIXSET=3006&TILEMATRIX=0&


Hello,



Please, test the last beta version; added support to WMTS maps., al  You need the URL of the wmts, I couldn't find it.







orux

Holton181

#2
Quote from: "orux"
Hello,

Please, test the last beta version; added support to WMTS maps., al  You need the URL of the wmts, I couldn't find it.

orux


Thank you very much for this orux!!!

I didn't notice until yesterday this functionality had been added. A really pleasant surprise!

It is unfortunately a little bit tricky to find the correct lantmäteriet URL on their website, especially if you don't read Swedish, because they require a personal token to be included in it and they don't make a big thing about the possibilities either. You get your token by creating a free account here:

https://opendata.lantmateriet.se/">https://opendata.lantmateriet.se/

At the moment there are two free map services available that works in oruxmaps, historical ortophotos (WMS) and the topographic (WMTS). Two full URLs with the included token will be available for each service, depending on how you are going to use them. If you create an orux account I believe you are free to include the URL with your token directly in oruxmaps.



There might be other maps working with oruxmaps, but they require some other authentication with login name and password. I don't have it so I can't try.


kalaskitte

#3
Did it work? I copied the link with token into Orux but it didn't work...







Skickat från min SM-G390F via Tapatalk