Im am trying to export my contours from ArcMap to AutoCad from a .tiff. I am able to get the contours extracted and opened in AutoCad but they come out flat. I made sure I was inserting the correct 'contour interval' when extracting contours from the raster but they still come out flat. Can any one please help out?
To convert 2d contours into 3d use OGR2OGR with a few switches:
-dim 3 -zfield Z_Field_Name
Example: In this case the field with the elevations is called 'Altitude'
ogr2ogr D:\SomePath\Output3d_ogr.shp D:\SomePath\Input2d.shp -dim 3 -zfield Altitude
Or even better still, directly to DXF with OGR2OGR:
ogr2ogr -f DXF D:\SomePath\Output3d.DXF D:\SomePath\Input2d.shp -dim 3 -zfield Altitude
Input (Esri) contours, clearly 2d data:
Output (OGR) contours, have been converted to 3d shape:
And in ArcScene:
The 2d contours (black) are flat and the 3d contours from OGR are neatly above them. I only hope your export tool uses the 3d geometry to create a 3d CAD file, if you have troubles I know
OGR2OGR -f DXF will convert to a 3d DXF.