Open
Description
We allow out of bounds coordinates in linestrings and polygons, but not in points. In the following example the indexing of LINESTRING succeeds but the indexing of MULTIPOINT with the same set of coordinates fails.
DELETE test
PUT test
{
"mappings": {
"properties": {
"shape": {
"type": "geo_shape"
}
}
}
}
PUT test/_doc/1
{
"shape": "LINESTRING (160 0, 200 10)"
}
PUT test/_doc/2
{
"shape": "MULTIPOINT (160 0, 200 10)"
}