DWG
Load DWG
Global Mapper can load DWG files from Autocad 2018 and earlier. The color / style, feature description, and name will be derived from the file. To see sublayers in the file, see Split Into Separate Layers Based on Attribute Value using the <Feature Description>.
DWG files can also be loaded as custom point symbols. See Custom Symbol Configuration.
Export DWG
The Export DWG command allows the user to export any loaded vector data sets to an AutoCAD® Drawing (DWG™) format file. *
TheExport DWG command can be accessed through File>Export Vector/Lidar Format...Select Export Format. Individual layers can also be exported from the Control Center by right-click on the layer and going to Layer > EXPORT. Multiple files can be batch converted to and from the format from the Batch Convert/Reproject tool.
When selected, the command displays the DWG Export Options dialog (pictured below) which allows the user to set up the export. The dialog consists of a DWG Options panel, a Tiling panel, and an Export Bounds panel which allows the user to set up the portion of the loaded vector data they wish to export.
DWG Version
The DWG Version section allows you to select which DWG version to create. Select from the following versions:
- R12
- R13
- R14
- R15 (Autocad 2000)
- R18 (Autocad 2004)
- R21 (Autocad 2007)
- R24 (Autocad 2010)
- R27 (Autocad 2013)
- R32 (Autocad 2018)
Display Labels for Area and Line Features
The Display Labels section controls if feature display labels are included in the DWG files and, if so, whether they are represented as TEXT entities in their own layer (called FEATURE_LABEL) or as DWG attributes. The default is to have them included as attributes associated with each feature. As some software packages cannot handle attributes in DWG files, it may be necessary to switch to a different option (with the associated loss of information) to get exported DWG files to work with some software packages. To have rotated labels running along the line associated with them, use the option to Include Display Labels as Separate Text Layer.
Layer Name From
The Layer Names section controls how the layer names used in the exported DWG file are generated. Choose any of the available attributes as the layer name. The attribute selected as the Layer Name will be used as the <Feature Description> attribute in the generated export.
If <Feature Name> is chosen as the display label, any features that do not have a display label will use the feature description as the layer name in the exported file.
Other Options
Generate Projection (PRJ) File
If selected, the Generate Projection (PRJ) File option causes a projection file describing the ground reference system of the DWG file to be generated in addition to the DWG file itself. The PRJ file will have the same name as the DWG file with the .prj extension.
Embed Projection Definition in DWG File
If selected this option will write the projection definition for the data into the generated DWG file. Global Mapper will warn users if the current workspace projection cannot be translated into a coordinate system definition supported in DWG format.
Create 3D Features Using Loaded Elevation Data
If selected, the Create 3D Features Using Loaded Elevation Data option will cause any underlying elevation data (like DEMs) to be used to retrieve elevation values for 2D features being exported and generate new 3D features in the exported DWG file. The units used by the elevation values are determined by the Elevation Display/Export Units setting in the Configuration dialog.
Preserve Feature Attributes
Attach attributes to the file. Each feature will be exported as a BLOCK, with an associated INSERT added as a block reference. The attributes will be attached to the INSERT entity, and can be viewed and edited in AutoCAD® using the Attribute Editor.
Generate ECEF Coordinates (Advanced Users Only)
If selected, the Generate ECEF Coordinates option will cause the exported DWG file to use Earth-Centered Earth-Fixed (ECEF) XYZ coordinate values rather than XY values in the current export projection.
Generate Zero-Width Lines
If selected, the Generate Zero-Width Lines option causes and line features created in the DWG file to be marked as having zero width. Use this option if you intend to use the resulting DWG file with a product such as MicroStation which has problems with lines of non-zero thickness.
ADVANCED: Don't Truncate Labels at 31 Characters
The settings will allow labels to be longer than 31 characters.
ADVANCED: Save lines with single elevation as 3D
This setting will create 3D line features for lines with an elevation attribute rather than per vertex elevation values. Contour lines, for example, typically have a single elevation value stored in an attribute, and not per vertex elevation values.
Note: If features of the TIN Face Area area type, including 3D mesh faces, are exported they will be exported as 3D Face features in the generated DXF file rather than 3D polylines, allowing you to easily get a usable TIN surface for use in other applications, like 3DS Max.
Tiling Panel
Export Bounds
* AutoCAD is a registered trademark of Autodesk, Inc., in the USA and other countries. DWG is the native file format for Autodesk’s AutoCAD® software and is a trademark of Autodesk, Inc.
Format Updates
Below is a summary of recent changes to DWG format support: