Skip to content

add query extension in item search #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added support for Fields Extension validation of Item Search with `--conformance item-search#fields` and `--fields-nested-property properties.eo:cloud_cover`
- Added support for Fields Extension validation of Item Search
- Add parameter set `--validate-pagination/--no-validate-pagination` to conditionally run the pagination tests, which may take a while to run.
- Added support for Query Extension validation of Item Search

## [0.5.0] - 2023-02-21

Expand Down
20 changes: 18 additions & 2 deletions COMPLIANCE_REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,29 @@ Date: 16-Nov-2022
Output:

```text
$ poetry run stac-api-validator --root-url https://earth-search.aws.element84.com/v1 \
poetry run stac-api-validator --root-url https://earth-search.aws.element84.com/v1 \
--conformance core \
--conformance features \
--conformance item-search \
--conformance item-search#fields \
--conformance item-search#query \
--collection sentinel-2-l2a \
--fields-nested-property properties.eo:cloud_cover \
--geometry '{"type": "Polygon", "coordinates": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]]]}'
--geometry '{"type": "Polygon", "coordinates": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]]]}' \
--query-comparison-field eo:cloud_cover \
--query-eq-value 7.531843 \
--query-neq-value 7.531843 \
--query-lt-value 7 \
--query-lte-value 7.531843 \
--query-gt-value 75 \
--query-gte-value 7.531843 \
--query-substring-field grid:code \
--query-starts-with-value MGRS-48 \
--query-ends-with-value UP \
--query-contains-value 8NU \
--query-in-field mgrs:latitude_band \
--query-in-values M,N

INFO:stac_api_validator.validations:Validating STAC API - Core conformance class.
INFO:stac_api_validator.validations:Skipping STAC API - Browseable conformance class.
INFO:stac_api_validator.validations:Skipping STAC API - Children conformance class.
Expand Down
Loading