Wednesday, 15 July 2015

qgis - Is it possible to create 3D dxf with OGR?


Does anyone know if it's possible to create a 3D dxf with OGR? I would like to assign the contour lines a Z value and then export them to dxf for some cad work.


PS. I know FME can do this, however I would like to try and find a free solution, and if possible do it in QGIS.



Answer



Easier then I thought (thanks to BenjaminGolder for the tip):



ogr2ogr -f "DXF" Contours.dxf Contours.TAB -zfield Height

Contours.TAB is the input MapInfo tab file.


No comments:

Post a Comment