You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[ ] I have added my changes to the [CHANGELOG](https://github.com/radiantearth/stac-spec/blob/dev/CHANGELOG.md)**or** a CHANGELOG entry is not required.
13
+
-[ ] API only: I have run `npm run generate-all` to update the [generated OpenAPI files](https://github.com/radiantearth/stac-spec/blob/dev/api-spec/README.md#openapi-definitions).
Copy file name to clipboardExpand all lines: api-spec/examples.md
+9-4
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,17 @@
1
1
# STAC API Examples
2
2
3
-
A typical WFS will have multiple collections, and each will just offer simple search for its particular collection at `/collections/{collectionId}/items`.
4
-
For advanced queries across collections use the STAC API at `/stac/search`.
5
-
The filtering is made to be compatible with the STAC API whenever feasible, and the two specs seek to share the general query and filtering patterns.
6
-
The key difference is that a STAC search endpoint will do cross collection search.
3
+
A typical WFS will have multiple collections, and each will just offer simple search for its particular collection at `GET /collections/{collectionId}/items`.
4
+
Due to the limited parameter support in WFS3, it is recommended to use the STAC API endpoint `POST /stac/search` for advanced queries.
5
+
The filtering is made to be compatible between STAC API and WFS3 whenever feasible, and the two specs seek to share the general query and filtering patterns.
6
+
The key difference is that the STAC API search endpoints will do cross collection search.
7
+
8
+
Implementations may **optionally** provide support for the full superset of STAC API query parameters to the `/collections/{collectionId}/items` endpoint,
9
+
where the collection ID in the path is equivalent to providing that single value in the `collections` query parameter in STAC API.
7
10
8
11
## WFS
9
12
13
+
Note that the WFS endpoints _only_ supports HTTP GET. HTTP POST requests are not supported.
14
+
10
15
Request all the data in `mycollection` that is in New Zealand:
0 commit comments