[RFC] - Geo Tile Grid Aggregation on Geo Shape Field #195
Labels
aggregations
label for all the aggregations that are getting created in this repo
feature
geospatial
v2.9.0
v2.9.0
The purpose of this RFC (request for comments) is to gather community feedback on a proposal to allow OpenSearch users to facilitate Geo Tile Grid Aggregations over the GeoShape data type. This RFC is in continuation with #84.
Geo Tile Grid Aggregation
GeoTile Grid is a multi-bucket aggregation which will grouping the GeoShapes into different buckets where each bucket represent the cells in a grid. Each cell corresponds to a map tile (https://en.wikipedia.org/wiki/Tiled_web_map) as used by many online map sites. Each cell is labeled using a "{zoom}/{x}/{y}" format, where zoom is equal to the user-specified precision.
The working of the aggregation is very similar to GeoTile Grid Aggregation on GeoPoint but there is key difference. A geo_point(if it is not multi geo_point) is only present in one bucket, but the a geo_shape will be counted in all the grid cells with which the shape is intersecting.
Aggregation Schema
Input Parmeters:
Example
Index Creation
Index Data
Run Aggregation
Output of Aggregation
References
The text was updated successfully, but these errors were encountered: