Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2429

GeoJSON uses lat/long in the wrong order

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Summary

      MongoDB calculates the distance between 2 points in Lat, Long order. It uses Latitude for Longitude and Longitude for Latitude in their Point to Point distance calculation

      https://blog.icod.de/2022/05/19/serious-bug-in-mongodb-geospatial-distance-calculation/

      Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).

      How to Reproduce

      https://github.com/golang/geo/issues/85

       

            Assignee:
            matt.dale@mongodb.com Matt Dale
            Reporter:
            naden@harana.com Naden Franciscus
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: