Attached is a test case that illustrates the bug.
Insert a point p1 at 10, 10.
Insert a point p2 at 0.5, 0.5.
Create a polygon that has a exterior area of the square from 9,9 to 11,11 and add a hole from 0,0 to 1,1
Expect a parse error, instead, both points are returned.
From docs: "An array of LinearRing coordinate arrays, as described in the GeoJSON Polygon specification: http://geojson.org/geojson-spec.html#polygon. For Polygons with multiple rings, the first must be the exterior ring and any others must be interior rings or holes."
- is duplicated by
-
SERVER-11618 $geoWithin with a Polygon "ring" fails
- Closed
- links to