Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3197

geoJSON Polygon statement is wrong

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.7
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      Statement:

      "Interior rings can share an edge."

      Page: http://docs.mongodb.org/manual/core/2dsphere/#geojson-polygon

      I have tested this, and spoken with Greg Studer, and this functionality, while desirable, has not been implemented.

      Be very careful when investigating this, by the way.

      You may think that the polygons defined by the points

      [ 0 , 0 ] , [ 1 , 0 ] , [ 0.9 , 1 ] , [ 0.1 , 1 ] , [ 0 , 0 ]

      and

      [ 0 , 1 ] , [ 1 , 1 ] , [ 1 , 2 ] , [ 0 , 2 ] , [ 0 , 1 ]

      share an edge between the points [ 0.1 , 1 ] and [ 0.9 , 1 ] .

      In fact, they do not.

            Assignee:
            tim.slavin Tim Slavin
            Reporter:
            william.cross William Cross
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 45 weeks ago