News for hackers. Stuff that matters.
Re:Serious Bug in MongoDB Geospatial distance calculation by FL410 on Thursday May 19, 2022 @08:51AM (#31433937)
I am trying to understand the rationale behind this. Is there some industry or region where Long, Lat is the customary way of representing a location? I have never seen that before.
Re:Serious Bug in MongoDB Geospatial distance calculation by leeoniya on Thursday May 19, 2022 @08:53AM (#31433961)
Re:Serious Bug in MongoDB Geospatial distance calculation by sampo on Thursday May 19, 2022 @10:16AM (#31434945)
> I am trying to understand the rationale behind this. Is there some industry or region where Long, Lat is the customary way of representing a location?

Historically, cartography was Lat,Long (1). Then software developers took over, and their natural mode of thinking inherits from thinking in x,y coordinates in 2d-graphics on the computer screen, so Long,Lat started to dominate in software. And now software dominates everything.

Here's a take on the history: http://docs.geotools.org/latest/userguide/library/referencin...

(1) This is from 1983, but the Lat,Long practice is much older https://en.wikipedia.org/wiki/ISO_6709

Re:Serious Bug in MongoDB Geospatial distance calculation by xioxox on Thursday May 19, 2022 @08:58AM (#31434020)
Astronomy usually writes coordinates in this order, for example: Right ascension [RA], declination [Dec] in the equatorial coordinate system (corresponding to Long, Lat), or Galactic sky coordinates l (Galactic longitude) and b (Galactic latitude).