-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Cartesian support for aggregations #87804
Copy link
Copy link
Open
Labels
:Analytics/AggregationsAggregationsAggregations:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
There is absolutely no support for cartesian data in aggregations. Duplicating support from geographic data should be possible in most cases, except geohex which uses a model of the planet that is clearly only relevant to geographic data. The missing support for geo_shape in the distance aggregation is also something that could be implemented with similar intersection considerations as the grid aggregations.
!Screenshot 2022-06-17 at 16.14.33.png|width=780,height=601!
The plan is to select one aggregation and complete it full stack, and from that evaluate the level of effort to complete all. First choice is centroid.
Possibly related existing issues:
- [https://github.com/[GEO] Support for Spatial Coordinate Reference Systems #48953|https://github.com/[GEO] Support for Spatial Coordinate Reference Systems #48953]
- [https://github.com/Re-project geo point / shape to alternate coordinate systems #23221|https://github.com/Re-project geo point / shape to alternate coordinate systems #23221]
Sub-tasks:
- Groudwork:
** [X] [https://github.com/Refactor GeoPoint and GeoShape with generics #89388|https://github.com/Refactor GeoPoint and GeoShape with generics #89388] - Centroid:
** [x] [https://github.com/Centroid aggregation for Cartesian points and shapes #90156|https://github.com/Centroid aggregation for Cartesian points and shapes #90156]
** [x] [https://github.com/Centroid aggregation for cartesian points and shapes #89216|https://github.com/Centroid aggregation for cartesian points and shapes #89216] - Bounds:
** [x] [https://github.com/[TEST] Make sure we restart the suite cluster after each test failure #9015|https://github.com/Bounding Box aggregation for Cartesian points and shapes #90157]7
** [x] [https://github.com/Support cartesian_bounds aggregation on point and shape #91298|https://github.com/Support cartesian_bounds aggregation on point and shape #91298|smart-link] - Line:
** [ ] [https://github.com/Line aggregation for Cartesian points and shapes #90161|https://github.com/Line aggregation for Cartesian points and shapes #90161] - Distance:
** [ ] [https://github.com/Distance aggregation for Cartesian points and shapes #90162|https://github.com/Distance aggregation for Cartesian points and shapes #90162] - Grid:
** [ ] [https://github.com/Grid aggregations for Cartesian points and shapes #90160|https://github.com/Grid aggregations for Cartesian points and shapes #90160] - Painless scripting:
** [ ] [https://github.com/Painless script support for Cartesian Points #90182|https://github.com/Painless script support for Cartesian Points #90182]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Analytics/AggregationsAggregationsAggregations:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Type
Fields
Give feedbackNo fields configured for issues without a type.