I am embarrassed at how long it took me to realize leaflet and geoJSON use different ordering of latitude and longitude in coordinates. And how deep I got into the debugger before I realized my problem was so simple.
Comments
Log in with your Bluesky account to leave a comment
I'll say the first time I was playing with GIS data, I was processing GeoTIFFs to build 3D models and the lon,lat order made perfect sense. X is left/right,east/west; Y up/down,north/south.
I picture two lineages that led to GeoJSON and Leaflet meeting, one from data, one from human language.
Comments
https://macwright.com/lonlat/
*In API design, why not make it fit what people first think of? Who in the world says “long/lat”? No one.
I picture two lineages that led to GeoJSON and Leaflet meeting, one from data, one from human language.