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

geoJSON Polygon statement is wrong

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.7
    • None
    • manual
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

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