Skip to content

ST_CENTROID scalar function in ES|QL #108215

@craigtaverner

Description

@craigtaverner

Description

The support for ST_CENTROID_AGG aggregation over geo_points was done in #104656, and futher work is planned to cover geo_shapes in #104658. However, this is strictly an aggregating function, and there is no support for converting a single geometry into a centroid. This issue covers that case:

EVAL centroid = ST_CENTROID(geom)

Metadata

Metadata

Assignees

Labels

:Analytics/ES|QLAKA ESQL:Analytics/GeoIndexing, search aggregations of geo points and shapes>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions