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

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...