[SERVER-13857] WriteConcern detected an error 'insertDocument :: caused by :: 16755 Can't extract geo keys from object, malformed geometry? Created: 07/May/14 Updated: 10/Dec/14 Resolved: 07/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 2.6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | ldsenow | Assignee: | Thomas Rueckstiess |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | Windows | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
I have a Polygon which is not a simple Polygon (it has overlaps, no interior rings and it is valid). Please find the attachments. |
| Comments |
| Comment by Thomas Rueckstiess [ 07/May/14 ] |
|
Hi, From the image you attached it looks like the polygon is self-intersecting, which is not a valid Polygon definition in MongoDB. This is documented on the following pages
The latter page leaves some room for interpretation as the rule is only stated for polygons with "multiple rings". The same applies for a single exterior ring though. I will make a request to improve the documentation and make this clearer. Thanks, |