You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GeoAdminCh API
I am trying to integrate the swisstopo Base Map with Openlayers and olms.js into my app. This map contains many POIs. I would like to get as much information as possible when I click on one of them. I know how to use map.forEachFeatureAtPixel to find jsons providing a very limited amount of data. But there are properties in the jsons that presumably are keys to extended information. These properties are named “api_id”, “station_id”, and “weather_id”. By trial and error I have found two cases where I can use these IDs. I can use the station_id to find a htmlPopup in the layer “ch.bav.haltestellen-oev” and when the subclass is “alpine_hut” I can use the api_id to create a link to the SAC web site. But there must be more applications of these IDs. Where can I get weather data using the weather_id? Is there any documentation about the use of these IDs?