Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15376

Improve error message for polygons with intersecting edges

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Geo
    • None

      As seen in SERVER-14348 and SERVER-15201, trying to create a 2dsphere index may fail with error message "Can't extract geo keys from object, malformed geometry?" when a polygon in the collection has intersecting edges.

      It would be nice if we could print what those edges are.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: