-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
GeospatialenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or request
Description
Is your feature request related to a problem? Please describe.
geo_point doesn't accept GeoJSON format with type "Point"
Describe the solution you'd like
PUT test-index
{
"mappings": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
PUT test-index/_doc/1
{
"text": "Support geo_point as GeoJSON Point object",
"location": {
"type": "Point",
"coordinates": [-88.0, 21.12]
}
}
Describe alternatives you've considered
Manually convert GeoJSON into previously supported geo_point format
Additional context
Indexing GeoJSON Point as geo_shape is expensive and geo_shape doesn't support all aggregation as geo_point. Users can easily get benefitted by allowing GeoJSON format of type only "Point".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
GeospatialenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or request