Skip to content

Commit 7484ac9

Browse files
authored
Don't deactivate other search parameters when filtering with ids (#125)
* remove deactivation from item ids * update changelog * make same doc change in openapi fragment * ... and in the POST
1 parent 8ba4b61 commit 7484ac9

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88

99
### Changed
10+
- Passing the `ids` parameter to an item search does not deactivate other query parameters [#125](https://github.com/radiantearth/stac-api-spec/pull/125)
1011
- The first extent in a Collection is always the overall extent, followed by more specific extents. [opengeospatial/ogcapi-features#520](https://github.com/opengeospatial/ogcapi-features/pull/520)
1112

1213
## [v1.0.0-beta.1] - 2020-12-10

item-search/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The core parameters for STAC search are defined by OAFeat, and STAC adds a few p
6363
| bbox | \[number] | OAFeat | Requested bounding box. Represented using either 2D or 3D geometries. The length of the array must be 2*n where n is the number of dimensions. The array contains all axes of the southwesterly most extent followed by all axes of the northeasterly most extent specified in Longitude/Latitude or Longitude/Latitude/Elevation based on [WGS 84](http://www.opengis.net/def/crs/OGC/1.3/CRS84). When using 3D geometries, the elevation of the southwesterly most extent is the minimum elevation in meters and the elevation of the northeasterly most extent is the maximum. |
6464
| datetime | string | OAFeat | Single date+time, or a range ('/' seperator), formatted to [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339#section-5.6). Use double dots `..` for open date ranges. |
6565
| intersects | GeoJSON Geometry | STAC | Searches items by performing intersection between their geometry and provided GeoJSON geometry. All GeoJSON geometry types must be supported. |
66-
| ids | \[string] | STAC | Array of Item ids to return. All other filter parameters that further restrict the number of search results (except `next` and `limit`) are ignored |
66+
| ids | \[string] | STAC | Array of Item ids to return. |
6767
| collections | \[string] | STAC | Array of one or more Collection IDs to include in the search for items. Only Items in one of the provided Collections will be searched |
6868

6969
Only one of either **intersects** or **bbox** should be specified. If both are specified, a 400 Bad Request response

item-search/openapi.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ components:
9898
name: ids
9999
in: query
100100
description: |-
101-
Array of Item ids to return. All other filter parameters that further
102-
restrict the number of search results are ignored
101+
Array of Item ids to return.
103102
required: false
104103
schema:
105104
$ref: '#/components/schemas/ids'
@@ -238,8 +237,7 @@ components:
238237
ids:
239238
type: array
240239
description: |-
241-
Array of Item ids to return. All other filter parameters that further
242-
restrict the number of search results are ignored
240+
Array of Item ids to return.
243241
items:
244242
type: string
245243
datetimeFilter:

0 commit comments

Comments
 (0)