Skip to content

HDG-52 Make it clearer when to use STAC API#134

Open
asteiner-swisstopo wants to merge 1 commit intomasterfrom
HDG-52-improve-clarity-of-typical-stac-api-use-case
Open

HDG-52 Make it clearer when to use STAC API#134
asteiner-swisstopo wants to merge 1 commit intomasterfrom
HDG-52-improve-clarity-of-typical-stac-api-use-case

Conversation

@asteiner-swisstopo
Copy link
Copy Markdown
Contributor

@asteiner-swisstopo asteiner-swisstopo commented May 4, 2026

According to support, people are often confused whether they should use feature-based API endpoints or the file-based STAC API. See this recent Google group thread for example.

This change aims to improve clarity by changing these two sections:

  • Page "Identify Features": Redirect to STAC API in the warning box about the maximum number of features.
  • Page "STAC API" > "Overview": Add a section to clarify how STAC is different from the other service endpoints (api3).

CC @faselm

Test link

According to support, people are often confused whether they should use feature-based API endpoints or the file-based STAC API. See [this recent Google group thread](https://groups.google.com/g/geoadmin-api/c/3fSpRamiF2c/m/aW6yn49mCAAJ) for example.

This change aims to improve clarity by changing these two sections:
- Page "Identify Features": Redirect to STAC API in the warning box about the maximum number of features.
- Page "STAC API" > "Overview": Add a section to clarify how STAC is different from the other service endpoints (api3).
@asteiner-swisstopo asteiner-swisstopo requested a review from Luke252 May 4, 2026 12:09
@asteiner-swisstopo asteiner-swisstopo self-assigned this May 4, 2026
Comment on lines 7 to 10
::: warning
No more than 200 features can be retrieved per request.
A maximum of 200 features can be retrieved per request.
To download a larger number of features or entire datasets, use the file-based [STAC API](/download-data/stac-api/overview.md).
:::
Copy link
Copy Markdown
Contributor Author

@asteiner-swisstopo asteiner-swisstopo May 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ltclm Is this the only service endpoint with that limitation or should we also add that warning to other pages?


This documentation provides tutorials on how to use the STAC API of [data.geo.admin.ch](https://data.geo.admin.ch/).

While other geo.admin.ch service endpoints are tailored for querying individual records and targeted vector features, the STAC API is optimized for discovering and downloading file-based data, typically entire datasets or specific spatial or temporal tiles.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants