GIS Coordinates order – Lat/Lon or Lon/Lat ?

GIS coordinate order is always a source of confusion when working with different software tools. Is it Latitude (lat) followed by Longitude (lon), or the other way around? I’ve made mistakes with this before. So here’s my way of recording it to get it right next time.

The examples below use Bengaluru’s coordinates: Latitude = 12.971599, Longitude = 77.594566.

SystemOrderComments
WKTlon, lat
Google Mapslat, lon
GeoJSONlon, lat
Leafletlat, lon
Redislon, lat
Clickhouselon, lat
Elastic Searchlon, lat
CAP 1.2lat, lon<circle>12.97159, 77.594566, 0.1</circle>
GeoRSSlat, lon<georss:point>12.97159, 77.594566</georss:point>
PostGISlon, latST_Point(77.594566, 12.971599)
MongoDBlon, latSame as GeoJSON
geo URIlat, longeo:12.978889,77.591667 for Bengaluru