Details
-
Bug
-
Resolution: Works as Designed
-
Unknown
-
None
-
None
-
None
-
None
Description
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
Attachments
Issue Links
- related to
-
DOCS-15351 [Server] Make geospatial coordinate ordering notice more prominent
-
- Closed
-