chrieke / geojson-invalid-geometry

🗺️ List of GeoJSON invalid geometry issues with example files
MIT License
33 stars 0 forks source link

The Lat/lon order of the geometry is confusing #2

Closed Amaan-Samar closed 10 months ago

Amaan-Samar commented 10 months ago

Hi!, I am working with geojson data this library is very helpful. I am facing just one confusion. That is of the lat/lon order. The library implements the lat/lon order for geometry. But in the documents, I find the lon/lat order. Can you please help with it.

Below is the link to the docs that I am referring to and the image of the point geometry as well. image

https://datatracker.ietf.org/doc/html/rfc7946

chrieke commented 10 months ago

Hi @Amaan-Samar Not sure what you are refering to. GeoJSON is defined as coordinates of lon, lat. The examples in the repository are standard GeoJSON with that. Some tools or websites use the opposite order. Are you refering to something in the Readme text of this repository etc.?