Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.
This repository was archived by the owner on Nov 9, 2021. It is now read-only.

Temporal filter incompatible with STAC API spec #78

Description

@micpilon

Queries made by the STAC browser are likely not compatible with the STAC API specification, in which time is parsed with the datetime argument.

For example, an HTTP request sent was:

POST https://.../api//search HTTP/1.1
Accept-Encoding: identity
Host: ...
User-Agent: Python-urllib/3.7
Content-Type: application/json; charset=utf-8
Content-Length: 183
Connection: close

{"collections": ["markham"], "bbox": [-123.6308868661519, 36.02789736179574, -28.151779495509228, 52.37970698302373], "time": "1959-01-01T00:00:00Z/1961-01-01T00:00:00Z", "limit": 50}

Which uses the time keyword for temporal filtering. This leads to ignoring the filter from the API's standpoint and loading all the items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions