[DOCS-1551] Give example of a GeoJSON polygon, specify that they must "connect" Created: 29/May/13 Updated: 30/Oct/23 Resolved: 26/Jun/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Allison Reinheimer Moore |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 10 years, 34 weeks ago | ||||||||
| Description |
|
Our documentation does not clearly describe that a polygon in GeoJSON is composed of one or more "LinearRing." There is an example here: http://docs.mongodb.org/manual/core/2dsphere/#store-geojson-objects See: http://geojson.org/geojson-spec.html#polygon
In addition, MongoDB requires that the outer loop not self-intersect. Inner loops have to be fully within the outer loop and not intersect one another. |
| Comments |
| Comment by auto [ 26/Jun/13 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by auto [ 26/Jun/13 ] |
|
Author: {u'username': u'schmalliso', u'name': u'schmalliso', u'email': u'allison.moore@10gen.com'}Message: Signed-off-by: Sam Kleinman <samk@10gen.com> |