[SERVER-15201] (2dsphere)Malformed geometry on big polygon Created: 10/Sep/14 Updated: 25/Sep/14 Resolved: 24/Sep/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 2.6.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Wiktor | Assignee: | Ramon Fernandez Marina |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
FreeBSD kadlubek 10.0-RELEASE-p7 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Run attached test.js |
||||||||
| Participants: | |||||||||
| Description |
|
I get an error: When I try to insert document to collection with 2dsphere index. GeoJSONLint validator doesn't complain about the geometry (and it looks quite valid) |
| Comments |
| Comment by Wiktor [ 25/Sep/14 ] | |
|
Looks great! Thanks. | |
| Comment by Ramon Fernandez Marina [ 25/Sep/14 ] | |
|
mongo@vink.pl, MongoDB version 2.7.7, which will be available soon, gives more information on malformed geometries. For the geometry you uploaded in this ticket you'll see the following message:
You can find more details in Regards, | |
| Comment by Ramon Fernandez Marina [ 24/Sep/14 ] | |
|
mongo@vink.pl, I've opened Regards, | |
| Comment by Wiktor [ 11/Sep/14 ] | |
|
It is relation from: I finally found the intersection in my GeoJSON. So we can close this as a bug. Though it would help a lot, if Mongo would provide the point, where it detected the intersection (feature). | |
| Comment by Ramon Fernandez Marina [ 10/Sep/14 ] | |
|
mongo@vink.pl, I'm able to reproduce this behavior. This typically happens when a polygon has intersecting lines, which is not allowed (see |