Skip to content

geo_distance does not support GeoJSON for points #86834

Open
@craigtaverner

Description

@craigtaverner

Description

Defining points using GeoJSON has been supported in the geo_shape field type all along, but recently we added GeoJSON support for geo_point and point (geographic and cartesian respectively):

This means that all three field types now consistently support both GeoJSON and WKT for points. However, it turns out that this support does not extend to the geo_distance query, which supports all the same point formats as geo_point except for GeoJSON. Interestingly, the geo_bounding_box query does support GeoJSON for the top_left and bottom_right points (as well as WKT and other point formats).

Adding GeoJSON to geo_distance should close this consistency gap.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions