Skip to content
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

Invalid GET search request during Item Search validation #467

Open
captaincoordinates opened this issue Aug 9, 2024 · 0 comments
Open

Comments

@captaincoordinates
Copy link

captaincoordinates commented Aug 9, 2024

During Item Search conformance class validation the validator issued the following GET request

DEBUG:urllib3.connectionpool:http://host "GET /search?bbox=%5B100.0%2C+0.0%2C+105.0%2C+1.0%5D HTTP/1.1" 500 81

The URL-decoded BBOX parameter is [100.0,+0.0,+105.0,+1.0]. The inclusion of [] square brackets contradicts STAC API spec documentation here.

The validator was invoked with the following command against a deployment with the standard joplin test dataset (validator version 0.6.2).

stac-api-validator \
    --root-url http://host \
    --conformance core \
    --conformance collections \
    --conformance features \
    --conformance item-search \
    --conformance filter \
    --collection joplin \
    --geometry '{"type": "Polygon", "coordinates": [[[-180,-90], [180,-90], [180,90], [-180,90], [-180,-90]]]}' \
    --log-level DEBUG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant