I think the GeoJSON export feature is barely usable at this moment. GeoJSON should follow WGS84/EPSG:4326 https://datatracker.ietf.org/doc/html/rfc7946. 

So, I think the workflow should be like: 

1. Check if there is geo reference and coordinate system information in the dwg file first. If not, require user add it as a parameter. 
2. Check the HEADER.Measurement for the units. 
3. Convert all the coordinates into EPSG:4326 standard latitude and longitude. We may need https://proj.org/.  

Expectation for dwgread to GeoJSON - EPSG:4326 standard
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Expectation for dwgread to GeoJSON - EPSG:4326 standard
Issue date:

--- start body ---
I think the GeoJSON export feature is barely usable at this moment. GeoJSON should follow WGS84/EPSG:4326 https://datatracker.ietf.org/doc/html/rfc7946. 

So, I think the workflow should be like: 

1. Check if there is geo reference and coordinate system information in the dwg file first. If not, require user add it as a parameter. 
2. Check the HEADER.Measurement for the units. 
3. Convert all the coordinates into EPSG:4326 standard latitude and longitude. We may need https://proj.org/.  

--- end body ---
