4 ms·
The world is used to x,y for coordinates which sets the convention.
by rozza 4y ago
The world is used to x,y for coordinates which sets the convention.
- fredley 4y agoIn a cartesian plane yes. However for geospatial it's Lat/Long everywhere except in GeoJSON it seems.
- jandrewrogers 4y agoGeospatial is pervasively Lon/Lat and has been the standard for decades across virtually every software system. GeoJSON is in the correct order, same order as every other common industry format for geospatial. There are similar conventions for polygon winding order, whether a polygon is closed or not, etc which new users frequently ignore. To someone that works with geospatial data, this is like asserting that RGB is the wrong order for specifying color, ignoring that approximately everyone in industry has been using this ordering convention for a very long time.
- indymike 4y agoIt is usually not the end applications that get it backwards, it's usually a library somewhere in the toolchain that bites you where the author wrote code before learning there are conventions for these things.
- egl2021 4y agoOpenCV uses BGR.
- jandrewrogers 4y agoHeh, I did not know that.
- dekhn 4y agoIt also uses y first indexing
- kingofpandora 4y agoCan you give an example of one geospatial library or program that uses lat, lon? I can't think of any because they all use lon, lat.