stac-utils / stac-api-validator

A STAC API validation client
Other
18 stars 8 forks source link

Invalid GET search request during Item Search validation #467

Open captaincoordinates opened 1 month ago

captaincoordinates commented 1 month ago

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