-
Notifications
You must be signed in to change notification settings - Fork 53
Description
The specification says at https://github.com/radiantearth/stac-api-spec/tree/main/item-search for Item Search:
This
searchlink relation must have atypeofapplication/geo+json. If nomethodattribute is
specified, it is assumed to represent a GET request. If the server supports both GET and POST requests, two links should be included, one with amethodofGETone with amethodofPOST.Other links with relation
searchmay be included that advertise other content types the server may respond
with, but these other types are not part of the STAC API requirements.
This is good, but it implies that the client may need to send an Accept: application/geo+json header because otherwise the server doesn't know which of the search link the client has selected. This is not overly clear in the spec and should probably be improved.
Related issue: opengeospatial/ogcapi-features#832