[DOCS-2156] It is undefined whether a point on the edge of a polygon is inside or outside Created: 26/Oct/13  Updated: 11/Jan/17  Resolved: 27/Jul/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Kay Kim (Inactive)
Resolution: Won't Fix Votes: 0
Labels: geo
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-10964 $geoIntersect fails when Polygon and ... Closed
Participants:
Days since reply: 7 years, 29 weeks ago

 Description   

By design, one can't rely on a point on the boundary of a polygon to be inside or outside the polygon. For example, if a line has an endpoint with the same coordinates as a corner of a square, we don't specify whether $geoIntersects will consider the two shapes intersecting or not: MongoDB will sometimes consider them intersecting, sometimes not, depending on the numbers involved.

This should be clarified in the manual so that users know of this behavior.



 Comments   
Comment by Emily Hall [ 27/Jul/16 ]

Closed for housekeeping on 7/27/2016 by Emily Hall.
If you require additional support, please open a new ticket for prioritization.
Thanks,
Emily

Generated at Thu Feb 08 07:42:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.