Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - maerki

#1
MAPAS/MAPS / Re: WMS/WMTS on line suisse maps
April 11, 2021, 11:43:09 PM
Hi Andrea
This seems to be a bug in Orux. I posted a ticket: https://oruxmaps.org/forum/index.php?topic=39466.0
However this works for swiss-topo base layser:
Menue "Karte laden" -> "Online" -> "Ebenen" -> "(CH)" -> "Suisse Topo (CH)"
#2
ERRORES/BUGS / Error while reading wmts.geo.admin.ch
April 11, 2021, 11:35:02 PM
Intro
As of first of march, switzerland has given its very nice and famous maps in the public domain. Also a very powerful WMTS service is available.
However, orux maps has problem to process the 'Time' dimension. It would be great if this could be fixed as this would open access to the many layers of the wonderful swiss maps.
If I may help in fixing this problem, please tell me - I would be glad to assist you!


Summary

The Swiss WMTS service uses a <Dimension> called Time. Sadly, this prevents orux to open the map.


How to reproduce

Orux v8.1.6, german

Start oruxmaps -> Add mapp WMTS -> Add url -> https://wmts.geo.admin.ch/1.0.0/WMTSCapabilities.xml
This error message is displayed:
Syntax Error in regexp pattern near \{(?i)time}

Playing around with WMTSCapabilities.xml

This works: http://www.maerki.com/hans/download/oruxtest/wmts_a_ok.xml
The layer Wanderwege (=Hiketrails) may be selected and is desplayed correctly.

This gives the error as above: http://www.maerki.com/hans/download/oruxtest/wmts_b_error.xml
This error message is displayed:
Syntax Error in regexp pattern near \{(?i)time}

Difference of both xml-files

wmts_b_error.xml contains the red part in the snipped below, wmts_a_ok.xml not

<Layer>
  <ows:Title>Wanderwege</ows:Title>
  ...
  <Dimension>
    <ows:Identifier>Time</ows:Identifier>
    <Default>current</Default>
    <Value>current</Value>
  </Dimension>

  <ResourceURL format="image/png" resourceType="tile" template="https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swisstlm3d-wanderwege/default/{Time}/21781/{TileMatrix}/{TileRow}/{TileCol}.png"/>
</Layer>


Background about Time. You may select maps from 50 or 100 years ago to see how the villages have grown in the meantime.
#3
Hi everybody

Good new from Switzerland. The official Maps are now public: https://map.geo.admin.ch.

During the next weeks, I will prepare a set of maps for orux:
1:1000k, 1:100k, 1:50k, 1:25k, sqlite

I will just use the normal colored pixel maps. No layers for hiking etc (yet).