Swiss trail closures to Locus

Locus is the mapping app of choice for me for any use-case on Android and for most use-cases on desktop as well.

Although Locus does have Swisstopo layers, it does not have direct access to some of the extra WMS layers that are provided by the Swiss a…


This content originally appeared on DEV Community and was authored by Michal Bryxí

Locus is the mapping app of choice for me for any use-case on Android and for most use-cases on desktop as well.

Although Locus does have Swisstopo layers, it does not have direct access to some of the extra WMS layers that are provided by the Swiss authorities.

This specifically hit me back when I planned my hike (using Locus) through a Sperrungen Wanderwege (closed trails), because I did not see those trails as (temporarily) closed on Locus.

The solution for this is to add a WMS layer to Locus using following URL:

https://wms.geo.admin.ch? SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&layers=ch.astra.wanderland-sperrungen_umleitungen

The argument layers=ch.astra.wanderland-sperrungen_umleitungen is there so that we're importing only the trail closures layer. Otherwise there will be hundreds of them. List of all available WMS layers for geo.admin.ch is a useful reference.

Locus map with geo.admin.ch layer for wanderland-sperrungen_umleitungen


This content originally appeared on DEV Community and was authored by Michal Bryxí


Print Share Comment Cite Upload Translate Updates
APA

Michal Bryxí | Sciencx (2025-04-07T19:05:11+00:00) Swiss trail closures to Locus. Retrieved from https://www.scien.cx/2025/04/07/swiss-trail-closures-to-locus/

MLA
" » Swiss trail closures to Locus." Michal Bryxí | Sciencx - Monday April 7, 2025, https://www.scien.cx/2025/04/07/swiss-trail-closures-to-locus/
HARVARD
Michal Bryxí | Sciencx Monday April 7, 2025 » Swiss trail closures to Locus., viewed ,<https://www.scien.cx/2025/04/07/swiss-trail-closures-to-locus/>
VANCOUVER
Michal Bryxí | Sciencx - » Swiss trail closures to Locus. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/04/07/swiss-trail-closures-to-locus/
CHICAGO
" » Swiss trail closures to Locus." Michal Bryxí | Sciencx - Accessed . https://www.scien.cx/2025/04/07/swiss-trail-closures-to-locus/
IEEE
" » Swiss trail closures to Locus." Michal Bryxí | Sciencx [Online]. Available: https://www.scien.cx/2025/04/07/swiss-trail-closures-to-locus/. [Accessed: ]
rf:citation
» Swiss trail closures to Locus | Michal Bryxí | Sciencx | https://www.scien.cx/2025/04/07/swiss-trail-closures-to-locus/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.