Adding the following envelope to an index:
DELETE shape
PUT shape/
{
"mappings": {
"properties": {
"geoLocationBox": {"type": "geo_shape"}
}
}
}
POST shape/_doc
{
"geoLocationBox": {
"type": "envelope",
"coordinates": [
[
10.0,
10.0
],
[
-10.0,
-10.0
]
]
}
}
If we try to plot it using vector tiles it gives the wrong bounding box as it should cross the dateline:
