Open
Description
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.