5 ms·
I found a bug once in one of our geospatial pipelines. We were removing all points with invalid coordinates, i.e those with abs(longitude)>90 and abs(latitude)
by efxhoy 5y ago
I found a bug once in one of our geospatial pipelines. We were removing all points with invalid coordinates, i.e those with abs(longitude)>90 and abs(latitude)>180. Problem is, it's longitude that goes from -180 to 180 and latitude that goes from -90 to 90. We never noticed because all the points we were interested in were in Africa. It's a really easy mistake to make.
I always say "lat/lon", it sounds better in english. Just like click-clack, zig-zag, criss-cross, ding dong, king kong. It feels like one of these rules but I can't put my finger on it: https://www.bbc.com/culture/article/20160908-the-language-rules-we-know-but-dont-know-we-know https://www.bbc.com/culture/article/20160908-the-language-ru...
On the other hand, if thinking about them as x and y then x is longitude so it naturally comes first.
In the military I learned the rule lon then lat and was taught to think of an elevator: first you step sideways in to the elevator (lon), then you go up or down (lat).