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

can't store points at extreme edges in geo index

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.9.0
    • None
    • Geo
    • None
    • ALL

    Description

      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());

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: