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

can't store points at extreme edges in geo index

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Geo
    • None
    • ALL

      These work and are correct:

      PRINT(Point(180-g._error,180-g._error).hash(&g).toString());
      PRINT(Point(-180+g._error,-180+g._error).hash(&g).toString());

      Works but incorrect ("00000...')
      PRINT(Point(180,180).hash(&g).toString());

      Asserts:
      PRINT(Point(-180,-180).hash(&g).toString());

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: