![]() With the ogr2ogr DXF driver, if you have an input column called “Layer” then it will be used to group features as a layer in DXF. ogr2ogr -f DXF contour_layer.dxf SX99SW_line.shp -sql "SELECT PROP_VALUE AS Layer FROM SX99SW_line" The alternative is to just store the z-value as layers. ![]() With the -zfield creating the 3d elevation. The data used is OS terrain 50.Ĭontours in 3D: ogr2ogr -f DXF contour_zfield.dxf SX99SW_line.shp -zfield PROP_VALUE This post will cover contour export while maintaining 3D elevation, in addition to contour values as layers in CAD. This conversion is from shp to DXF, which is a somewhat universal CAD format so further conversion should be possible. The power of GDAL, and specifically ogr2ogr is pretty impressive. GIS to CAD using ogr2ogr – Part 3 – Point Annotation to Text in CAD GIS to CAD using ogr2ogr – Part 2 – GML to DXF with OS MasterMap
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |