Import Kml — To Autocad |link|

This detailed technical paper outlines the methodologies, technical challenges, and step-by-step procedures for importing Keyhole Markup Language (KML) data into Autodesk AutoCAD. It addresses geospatial coordinate systems, file format conversions, and best practices for maintaining data integrity.

Technical Paper: Importing KML Data into AutoCAD Subject: Geospatial Data Interoperability and Workflow Integration Software Environment: Autodesk AutoCAD (2015–2024), Google Earth Pro, Civil 3D (optional) 1. Introduction Keyhole Markup Language (KML) is an XML-based notation for expressing geographic annotation and visualization within Internet-based, two-dimensional maps and three-dimensional Earth browsers (e.g., Google Earth). AutoCAD, conversely, is a vector-based Computer-Aided Design (CAD) platform used primarily for engineering, architecture, and drafting. The need to import KML into AutoCAD arises when preliminary site data, route surveys, or conceptual layouts designed in GIS environments (Google Earth) require engineering refinement, precision scaling, or integration into construction documentation. This paper details the workflow to bridge the gap between geospatial data and engineering design. 2. The Core Challenge: Coordinate Systems The primary difficulty in importing KML to AutoCAD is the disparity in coordinate systems.

KML System: KML uses a geographic coordinate system based on WGS 84 (World Geodetic System 1984). Coordinates are stored in Longitude/Latitude (decimal degrees) and are unprojected. AutoCAD System: AutoCAD uses a Cartesian coordinate system ($X, Y, Z$) where the origin is typically $(0,0,0)$. Engineering drawings require a Projected Coordinate System (e.g., UTM, State Plane) measured in linear units (meters or feet).

The Transformation Requirement: Directly importing KML coordinates (lat/long) into a blank AutoCAD drawing without transformation will result in geometric distortion or points appearing near the origin $(0,0)$, stripped of their real-world context. A coordinate transformation is mandatory. 3. Methodologies for Import There are three primary methods to achieve this transfer, ranging from manual free tools to specialized civil engineering software. Method A: The "Civil 3D" Approach (High Fidelity) Best for: Engineers requiring georeferenced accuracy and attributed data. Autodesk Civil 3D (and AutoCAD Map 3D) contains native tools to read and transform GIS data. import kml to autocad

Initialize the Drawing:

Open Civil 3D. Assign a coordinate system to the drawing via the Geolocation tab or by typing GEOGRAPHICLOCATION . Select the appropriate zone (e.g., UTM Zone 33N or State Plane).

Import Procedure:

Navigate to the Insert tab $\rightarrow$ Import Panel $\rightarrow$ Import GIS Data . Select the KML/KMZ file. The software will detect the WGS 84 source and transform it to the target system assigned in Step 1.

Data Mapping:

The import dialog allows users to map KML properties (name, description) to AutoCAD Object Data or XData, preserving attribute information. Introduction Keyhole Markup Language (KML) is an XML-based

Method B: The Global Mapper / QGIS Intermediary (High Compatibility) Best for: Users with standard AutoCAD (Vanilla CAD) who need clean geometry. Standard AutoCAD does not support direct KML import. A third-party GIS translator is used to convert KML to a DXF/DWG format.

Conversion Software: Use free software (QGIS) or paid software (Global Mapper). Workflow (QGIS Example):