opengisch / qgis-swiss-locator

Swiss Geoadmin layer and feature search for QGIS 3
https://www.opengis.ch/2024/06/25/swiss-locator-plugin-3-0-is-here-with-exciting-features/
GNU General Public License v3.0
12 stars 4 forks source link

Vector Tiles #40

Closed m-kuhn closed 2 months ago

m-kuhn commented 2 years ago

It would be nice to be able to add vector tile layers too through the locator.

3nids commented 2 months ago

see https://www.geo.admin.ch/fr/vector-tiles-service-services-et-donnees-disponibles

3nids commented 2 months ago

https://api3.geo.admin.ch/services/sdiservices.html#mapbox-vector-tiles

3nids commented 2 months ago

layers:

gacarrillor commented 2 months ago

As for the relief layer, I still need to find the correct way of loading it. That is, a proper style (if any). If we load it with no styles, we'd get different polygon colors each time:

image

image

And this is the relief layer with each available style at https://api3.geo.admin.ch/services/sdiservices.html#getstyle with a map centered on Biel:

Relief layer with basemap style: image

Relief layer with leichte-basiskarte style: image

Relief layer with leichte-basiskarte imagery style: image

Could we ask Swisstopo whether there is a recommended and published style for the Relief layer?