-
-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Labels
STAC APISTAC APISTAC API
Description
Ι tried to send directly to the search endpoint with post request, and the conclusions of the tests are:
When using POST /search on the STAC catalogue, the intersects parameter appears to be ignored, while bbox works correctly.
Working request (returns as expected):
POST /search
Content-Type: application/json
{"collections": ["ARD_S2"],"limit": 200,"bbox": [21.9751, 36.0505, 22.2332, 36.9628] }
Non-working request (same AOI using intersects);
POST /search
Content-Type: application/json
The following body fails completly (500)
{
"filter": {
"op": "s_intersects",
"args": [
{ "property": "geometry" },
{
"type": "Polygon",
"coordinates": [
[
[19.582274, 40.98073],
[23.064847, 41.061677],
[23.088194, 39.3411],
[19.692165, 39.264902],
[19.582274, 40.98073]
]
]
}
]
},
"filter-lang": "cql2-json",
"limit": 1000
}
The following runs but ignores the filter (should return nothing)
{
"collections": ["LS-DF"],
"filter": {
"op": "s_intersects",
"args": [
{ "property": "geometry" },
{
"type": "Polygon",
"coordinates": [
[
[-50, 0],
[-40, 0],
[-40, 10],
[-50, 10],
[-50, 0]
]
]
}
]
},
"filter-lang": "cql2-json",
"limit": 1000
}
Metadata
Metadata
Assignees
Labels
STAC APISTAC APISTAC API