KML and KMZ Files in AutoCAD DWG Drawings

Understanding KML and KMZ: Formats for Geographic Information

If you want to work with geographic data in AutoCAD, you might encounter KML and KMZ files. These are file formats that store information about locations, shapes, images, and styles on maps and Earth browsers, such as Google Earth. KML stands for Keyhole Markup Language, an XML based format, while KMZ is a compressed version of KML. They enable you to import and export data between different platforms and applications. You can use them to create maps, visualize terrain, analyze spatial information, and more.

Importing KML & KMZ Files: MAPIMPORT Command

To import KML and KMZ files into AutoCAD, you need to use the MAPIMPORT command, which is available in AutoCAD Map 3D and AutoCAD Civil 3D. These are specialized tool sets for mapping and civil engineering. The MAPIMPORT command allows you to select the KML or KMZ file and choose the coordinate system and layer options. The data will be imported as points, lines, polygons, or images, depending on the original file.

Exporting KML & KMZ Files: MAPEXPORT Command

To export data from AutoCAD into KML or KMZ files, you need to use the MAPEXPORT command, which is also available in AutoCAD Map 3D and AutoCAD Civil 3D. The MAPEXPORT command allows you to select the data and choose the output file name and location. You can also specify the coordinate system, scale factor, and style options. The data will be exported as KML or KMZ files that can be opened in Google Earth or other applications.

Beyond AutoCAD Map and Civil: Automapki Application

If the MAPIMPORT and MAPEXPORT commands are not available in your DWG editor, either because you have vanilla AutoCAD, BricsCAD, or ZWCAD, you can use our Automapki Application add-on to work with KML and KMZ files in your DWG environment. Automapki Application enhances the functionality of your DWG editor by incorporating web mapping and satellite imagery features. In addition to import and export of KML and KMZ files, it enables you to overlay DWG drawings on top of various map sources, including satellite imagery.