Adding Elevations to Contours using the Map Query


Try this step by step procedure and see if you go any better than before.

  1. Open the 14031 CCad.dwg
  2. Assign Co-ordinate System – MGA-56
  3. Type mapimport into the commandline
  4. Change the file type to Mapinfo TAB at the bottom and then select the contours.tab
  5. Under the DATA heading, select the create object data, then click on Select Fields (make sure you tick on add unique key field)
  6. Then make sure the Input Coordinate is set to Lat/Long (LL-GDA94), tick on import polygons as closed polylines and click OK
  7. Save the drawing and get out of it.
  8. Start a new drawing from your DWT and save the drawing
  9. Type mapwspace
  10. Click on Map Explorer
  11. Right click on drawings at the top and attached the drawing you just saved and got out of
  12. Then right click on Current Query and select define
  13. Click on property and then select layer and ok
  14. From the query mode select DRAW
  15. Then click on Alter Properties and select Elevation
  16. Go down to expression and click on it
  17. Click on Object data expand out contours and select Elevation and click ok. Click on the add button where the expression has been added, the elevation details will show up the top and then Click OK
  18. Then click on execute query
  19. Click on cancel when asked for a shape file
  20. List one of the contours in the drawing and it should have a z value on it now.

Let me know how you go.