-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes
Description
@nknize I'm creating a new issue here based on a comment on issue #3909
Twitter provides the following object. It is rejected by elasticsearch for only having 4 elements and not 5. This strict requirement is not consistent with GeoJSON. Please allow elasticsearch to accept this Object, out of the box, because technically it is legal GeoJSON. Currently I must write a middle-man to add a 5th-element (cue Bruce Willis jokes here) to this array of coordinates. This is a bit kludgy in terms of workflow:
"bounding_box": {
"type": "Polygon",
"coordinates": [
[
[
-9.0915413,
38.6713816
],
[
-9.0915413,
38.9313732
],
[
-8.8102479,
38.9313732
],
[
-8.8102479,
38.6713816
]
]
]
},
Metadata
Metadata
Assignees
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapes