Add error band to fix polygon ring edges cross validation failure in Geo object parsing.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is a follow-up from https://jira.mongodb.org/browse/SERVER-129401.  

      In this ticket, we will address the 2nd type of parsing validation inconsistency between different platforms (due to different glibc libs), due to sin/cos calculation rounding error. 

      For a polygon ring, `S2Loop.isValid()` will check if non-adjacent edges cross or not. Due to the sin/cos rounding error,  the same ring may pass the check on one platform, but fail with "Edges x and y crosses" error. 

      The ticket is opened to deliver the fix for the AF caused by the validation failure "Edges x and y crosses".  

       

            Assignee:
            Jinfeng Ni
            Reporter:
            Jinfeng Ni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: