editor-layer-index icon indicating copy to clipboard operation
editor-layer-index copied to clipboard

Usage question related to swisstopo

Open ravenfeld opened this issue 4 months ago • 8 comments

I wonder if we could add the renderings from swissTopo when I read their site.

https://www.swisstopo.admin.ch/en/terms-of-use-free-geodata-and-geoservices

I also see the problem with IGN Plan being used on many sites.

Why couldn't we add it?

What term should we look for in order to add it here?

ravenfeld avatar Aug 02 '25 15:08 ravenfeld

The interesting swisstopo layers have been available in ELI since we, as in OSM, have been permitted to use them.

So it's a bit unclear what you are missing.

simonpoole avatar Aug 02 '25 15:08 simonpoole

example: https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swissimage/default/current/3857/{zoom}/{x}/{y}.jpeg https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/{zoom}/{x}/{y}.jpeg

but also closed cycle paths

https://wms.geo.admin.ch/?version=1.3.0&service=WMS&request=GetMap&sld_version=1.1.0&layers=ch.astra.veloland-sperrungen_umleitungen&format=image/png&STYLE=default&bbox={bbox-epsg-3857}&width=256&height=256&crs=EPSG:3857&transparent=true

ravenfeld avatar Aug 02 '25 15:08 ravenfeld

As said the swissimage layer has been available in ELI for many years. The closure data is published by the BAV/astra and of a non-persistent nature that doesn't make sense as content in ELI (but will likely be available via a different platform soon for OSM use), though anything from SchweizMobil (veloland) would need to be checked for permission (SchweizMobil routes continue not to be open data).

simonpoole avatar Aug 02 '25 15:08 simonpoole

I must be searching incorrectly because I found this URL.

https://wms.geo.admin.ch?LAYERS=ch.swisstopo.swissimage&STYLES=default&FORMAT=image/jpeg&CRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap

I'm not very good at English, so maybe I'm misunderstanding you.

ravenfeld avatar Aug 02 '25 15:08 ravenfeld

See https://github.com/osmlab/editor-layer-index/blob/gh-pages/sources%2Feurope%2Fch%2Fswisstopo_swissimage.geojson

simonpoole avatar Aug 02 '25 15:08 simonpoole

I agree but they don't have the rendering I want like Swiss Topo

https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swissimage/default/current/3857/{zoom}/{x}/{y}.jpeg

ravenfeld avatar Aug 02 '25 15:08 ravenfeld

I agree but they don't have the rendering I want like Swiss Topo

https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swissimage/default/current/3857/{zoom}/{x}/{y}.jpeg

I did a couple of spot checks just to be sure, but as expected, the images provided by the WMS server are the same as those provided with the WMTS server. Could you please clearly explain the difference you are seeing? Please use French if necessary.

simonpoole avatar Aug 04 '25 15:08 simonpoole

Exemple

https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/14/8486/5792.jpeg

ou

https://wmts.geo.admin.ch/1.0.0/ch.astra.veloland/default/current/3857/14/8486/5792.png

Ne sont pas disponible sur ELI, et du coup pourquoi ?

ravenfeld avatar Aug 04 '25 19:08 ravenfeld