How to access layer ch.swisstopo.swissbuildings3d

42 views
Skip to first unread message

L. Neth

unread,
Jul 22, 2025, 8:32:38 AMJul 22
to GeoAdminCh API
Hello

Is this group the right place for asking questions related to data.geo or only for api3.geo.admin.ch?

My question would be: Why is the collection ch.swisstopo.swissbuildings3d_2 not listed under the /collections list?

And where would i find access to the beta version 3 of the swissbuildings collection?

Thank you in advance
Kind regards
L.

GeoAdminCh API

unread,
Jul 23, 2025, 5:44:28 AMJul 23
to GeoAdminCh API
Hello 
Thanks for your request.
In fact the two collections are available here via the stac browser directly or also via the swisstopo geodata shop:

Thanks for the hint for the collection list. We'll investigate, why these collections do currently not appear there.

Kind regards
Helpdesk Federal geoportal geo.admin.ch

GeoAdminCh API

unread,
Jul 29, 2025, 2:00:58 AMJul 29
to GeoAdminCh API
Hello again,

We have had another look at this and the answer to your question is that the response of /collections is paginated. As documented in the endpoint's specifications, it only returns the first 100 collections per default. Unfortunately, ch.swisstopo.swissbuildings3d_2 is not among the first 100 collections.

You have two options to get to the ch.swisstopo.swissbuildings3d_2 collection:
1. Iterate over all pages via the "next" link in the "links" section of the response.
2. Restrict the result to the "swisstopo" provider like in curl https://data.geo.admin.ch/api/stac/v1/collections?provider=swisstopo


Kind regards
Helpdesk Federal geoportal geo.admin.ch

Reply all
Reply to author
Forward
0 new messages