Extraction of terrain data in DXF and 3D visualization