Shape file to DXf with elevation
albud1962
Global Mapper UserTrusted User
I am have problems with a shape file. It seems when I export the file to DXF
I lose all elevation information on the resulting polyline. I set the pointer to the elevation attribute before exporting. The shape file is found at http://home.comcast.net/~abudinsky/shapea.zip.
The data comes from the PASDA website in Pa. I use these files a bunch so any insight is appreciated.
I lose all elevation information on the resulting polyline. I set the pointer to the elevation attribute before exporting. The shape file is found at http://home.comcast.net/~abudinsky/shapea.zip.
The data comes from the PASDA website in Pa. I use these files a bunch so any insight is appreciated.
Comments
-
Try checking the box to generate 3D features when you export the DXF file. Then your selected elevation attribute should be used to add elevation to the exported features.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hey Mike:
Tried what you suggested but still no go. Its weird because other contour shape files work fine. Could it be
something in the DBF file that is corrupted? -
I took a look and found the issue. Your Shapefile contains 3D lines that have an elevation of 0 set for each vertex in addition to the ELEVATION attribute. The per-vertex elevations take precedence over the ELEVATION attribute, so 0 is being used for all elevations. What you should do is export to a new Shapefile and don't check the 3D option. This will get rid of those per-vertex elevations but keep the ELEVATION attribute. Then load that and export to a DXF file.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
It worked Mike. Thanks for your help!
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website