My question this time is about a request. I need to create an elevation profile and I know I can do that in QGIS 2.4.0 or ArcGIS 10.2. But first I need elevation data, information that is in AutoCAD extension (.dwg, I presume) and when I use data-> export data and then save it as .shp I don't get elevation information. So I need to extrack the contourlines only or at least with elevation data per line.

Not sure if it's clear but I'll answer anything related to my question.


2 Answers 2


I've run into a similar item, though the line Elevation should be stored in Elevation field when opening the dwg in Arc:

enter image description here

From there, either by using, say, the ETGeowizards Shape to ShapeZ (free version tool) or running through Python you could set the elevation equal to this "elevation" field on import. Otherwise if the contour elevations are stored as labels (this has been the case with some data from other depts) and not as the elevations themselves, it can take manual edits to find the annotation associated with that line and assign it the elevation.

  • So the idea is to export the file as a shapefile and then that tool? May I ask the adress of that tool @tay bro Commented Sep 10, 2014 at 18:18
  • Yes - export the Polyline of the DWG to Shape. Then use the ETGeowizards tool on it (ETGewizards Toolbar -> Convert -> Shape to Shape(Z)) and make sure you select Elevation as your Z-field . The free tools in here cover that functionality: ian-ko.com/ET_GeoWizards/gw_main.htm
    – tay bro
    Commented Sep 10, 2014 at 18:30
  • I could found it in the customization window, but I can't use any function. The only thing I see is the wizars logo but I can make it work. @tay bro Commented Sep 10, 2014 at 19:00
  • 1
    Drag the logo onto your main toolbar and access the tools that way. You can click the logo from the toolbar (not the customization dialog) and the full toolset should appear.
    – tay bro
    Commented Sep 11, 2014 at 16:07

I've solve this question making use of a free licnese software called DraftSightx64. I just load the .dwg file on the program use the model view, go to:

Modify-> Decompose (Descomponer).http://prntscr.com/4lwpqx.

After this I save the .dwg and load it in ArcGIS desktop 10.2, then:

Open polilyne-> select the data I need-> data -> export data and then I can make a DEM.

Quite easy and using a free license tool, also all the information of contourlines remains on the lines. Maybe the same answer as @Brad Nesom, but usig a different software.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.