Re:Serious Bug in MongoDB Geospatial distance calculation
by dekhn on Thursday May 19, 2022 @01:36PM
(#31437691)
I work with plenty of systems that put y first. Like opencv. Of the Geo software I've used about 30% of them put lat first. It's one of the things I most commonly spent debugging
[ Parent
| on HN ]
Re:Serious Bug in MongoDB Geospatial distance calculation
by perrygeo on Thursday May 19, 2022 @03:35PM
(#31439095)
I guess there is really no "obvious" ordering, it all depends on your past experience. Named data structures are a way around it, but coordinates represented as tuples/lists/arrays seems cursed to repeat this mistake.