You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Subscribing to SNS Topics](#subscribing-to-sns-topics)
@@ -835,6 +836,73 @@ from the Collection entity whenever that is returned.
835
836
A non-configurable root-level queryables definition is defined with no named terms but
836
837
`additionalProperties`set to `true`.
837
838
839
+
## Aggregation
840
+
841
+
STAC API supports the [Aggregation Extension](https://github.com/stac-api-extensions/aggregation). This allows the definition of per-collection aggregations that can be
842
+
calculated, dependent on the relevant fields being available in the STAC Items in that
843
+
Collection. A field named `aggregations` should be added to the Collection object for
844
+
the collection for which the aggregations are available, e.g.:
- grid_geohex_frequency ([GeoHex grid](https://opensearch.org/docs/2.4/opensearch/geohexgrid-agg/) on Item.Properties.proj:centroid)
903
+
- grid_geohash_frequency ([geohash grid](https://opensearch.org/docs/2.4/opensearch/bucket-agg/#geo_distance-geohash_grid) on Item.Properties.proj:centroid)
904
+
- grid_geotile_frequency (geotile on Item.Properties.proj:centroid)
905
+
838
906
## Ingesting Data
839
907
840
908
STAC Collections and Items are ingested by the `ingest` Lambda function, however this Lambda is not invoked directly by a user, it consumes records from the `stac-server-<stage>-queue` SQS. To add STAC Items or Collections to the queue, publish them to the SNS Topic `stac-server-<stage>-ingest`.
0 commit comments