Hello,

I am wondering how I can get polygon vectors out of a dwg file? Geojson is the 
easiest format for me to use, but I just need the data in something I can open 
that's not a picture so I can perform collision detection on the polygons. 
(apparently autocad is unable to export into any open formats).

I would prefer to use one of the existing applications to do a simple 
conversion from dwg to geojson, but I'm having trouble understanding the 
command line arguments and what application I need.

Since I want vector data, 
ogr2ogr<https://gdal.org/programs/ogr2ogr.html#ogr2ogr> looks like the 
application that I need.

The problem is I am not seeing any output file name in the argument list. I see 
update, append, and overwrite.

For the input file, I am only seeing dst_datasource_name, which I take to be my 
input. Dwg file.

Can someone please let me know what I am missing and if there is something else 
I should be reading?

Thank you,


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to