AutoTerra | KML/KMZ Import & Export

KML/KMZ Import & Export

Google Earth data exchange · GPX import · KML export settings

Who this guide is for
Users who need to bring Google Earth data (KML/KMZ) or GPS logger data (GPX) into an AutoTerra drawing, or publish drawing content back to Google Earth. All commands live in the KML Exchange group at the right end of the Home ribbon tab.
KML Exchange ribbon group

The KML Exchange group on the Home tab: Import KML/KMZ, Export KML/KMZ, Import GPX, Settings.

KML/KMZ is the placemark format used by Google Earth. AutoTerra converts between the drawing's projected UTM coordinates and the latitude/longitude values stored in KML, so you can overlay site data on satellite imagery, share designs with non-CAD users, or digitize features in Google Earth and bring them into a survey drawing. A drawing must be open before any of these commands will run.

AutoTerra drawing Projected UTM X / Y / Z metres, zone + hemisphere Layers · colors · entities Coordinate conversion UTM ↔ WGS84 lat/long KML / KMZ → Google Earth WGS84 latitude / longitude degrees + altitude Folders · styles · placemarks Export Import The drawing's UTM zone drives the conversion in both directions.

KML/KMZ exchange: the drawing stays in projected UTM; KML stores WGS84 latitude/longitude.

Import KML/KMZ

  1. Open (or create) the drawing that should receive the data.
  2. On the Home tab, click Import KML/KMZ.
  3. Pick a .kml or .kmz file. For a KMZ archive, AutoTerra reads the main KML document inside it. Progress is shown in the status bar.

What arrives in the drawing:

KML contentBecomes
Points (placemarks) CAD points, with the placemark name added as a text label next to the point.
Paths (lines) Polylines. If the KML stores altitudes, they are kept as 3D elevations on the vertices.
Polygons Closed, filled polylines using the KML fill color and transparency. Holes (inner boundaries) are drawn as separate unfilled closed polylines.
Multi-geometry Each part (point, line, polygon) is imported individually.
Folders & styles KML folder names become drawing layers (placemark names are used when there is no folder). Style colors are matched to the nearest CAD palette color; line widths and fills are applied unless disabled in Settings.

If the project does not have a UTM zone set yet, the zone is determined automatically from the first imported coordinate and adopted by the drawing. If a zone is already set, all data is converted into that zone.

Import GPX

Import GPX reads GPS logger files (.gpx) — waypoints and tracks, including elevation, time, and Garmin temperature/depth extensions:

Export KML/KMZ

  1. Make sure the drawing is georeferenced and the correct UTM zone is set for the project.
  2. Review Settings (below) — especially Export Entities, which controls whether the whole drawing, the active layer, or the current selection is exported.
  3. On the Home tab, click Export KML/KMZ, choose a file name and the .kml or .kmz file type, and save.
  4. The finished file opens automatically in the application associated with it (normally Google Earth).

The export writes points, lines/arcs, open polylines, closed polylines, circles, ellipses, rectangles, hatches, text, and block references (blocks are exploded into their geometry, with their attribute values written into the placemark description). Entities are grouped into KML folders by drawing layer, and layer colors become the default KML styles; per-entity color, width, and fill overrides are preserved. Only entities on visible layers are considered.

Wrong zone? If too many coordinates fail to convert, the export stops with the message "KML export aborted… Set the zone number correctly or georeference the drawing." Fix the project zone and export again.

Export Settings

Click Settings in the KML Exchange group to open the floating KML Settings panel. Changes are remembered between sessions.

Visible Layers Text hidden layer Everything on visible layers (hidden layers never export) Active Layer  (default) Text Only the current layer (common cause of "missing" objects) Active Selection Text Only selected entities (select before exporting) Grey = not exported. Set the scope under Settings ▶ Export Entities.

The three Export Entities scopes — if an export looks empty, check this setting first.

SettingWhat it does
KML Settings (general)
Export EntitiesScope of the export: Visible Layers (everything on visible layers), Active Layer (only the current layer — the default), or Active Selection (only selected entities).
Export Entity AttributesInclude block attributes and entity metadata in the KML placemark descriptions.
Curve TessellationNumber of segments used to approximate curved entities (circles, arcs, ellipses); higher is smoother (8–256).
Ignore Line Width During ImportIgnore line width values when importing KML files (prevents overly thick lines in the drawing).
Ignore Fill During ImportIgnore polygon fill when importing KML files — only the polygon outlines are imported.
Point Export
Export PointEnable or disable exporting point entities.
Point StyleIcon used for point markers in Google Earth, chosen from the standard Google Earth icon set (pushpins, paddles, shapes).
Icon ScaleScale factor for point icons (1.0 = 100% size).
Icon Color / Icon OpacityTint color and transparency (0–100) applied to point icons.
Line Export
Export LinesEnable or disable exporting lines, arcs, and open polylines.
Width, Color, OpacityDefault line width (in screen pixels), color, and transparency used in Google Earth when the layer or entity does not provide its own.
Polygons/Closed Polylines
Export PolygonsEnable or disable exporting closed polylines, circles, ellipses, rectangles, and hatches.
Fill OptionWhether polygons are shown Filled, Outlined, or Filled+Outlined.
Fill Color, OpacityDefault fill color and fill transparency for polygon interiors.
Outline WidthWidth of the polygon outline (separate from the line width above).
Texts
Export TextEnable or disable exporting text entities.
Text ExportsText as Captions exports each text as a labelled placemark at the text position; Text as Geometry traces the actual letter shapes as vector outlines (solid text styles are exported as filled shapes).
Label Scale, Label Color, Label OpacitySize, color, and transparency of text labels in Google Earth.
Elevation
ElevationHow Google Earth interprets heights: Clamped to Ground, Clamped to Sea Floor, Relative to Ground, Relative to Sea Floor, or Absolute.
AltitudeAltitude offset value for entities, in meters.
Extend to groundDraws a vertical line from each entity down to the ground surface in Google Earth.
Clamped to Ground Line is draped onto the terrain; stored heights are ignored Relative to Ground Height is measured above the terrain at every point Absolute sea level Height is metres above sea level — use for surveyed 3D data Brown = Google Earth terrain · green = your exported entity. Sea-floor variants behave the same, measured from the sea floor.

How the Elevation setting changes what Google Earth does with entity heights.

Coordinate system note: KML always stores WGS84 latitude/longitude, while the drawing works in projected UTM coordinates. Always confirm the project's UTM zone and hemisphere before exporting; a wrong zone places data on the wrong side of the world or aborts the export. On import into a fresh, un-zoned project, AutoTerra picks the zone from the data itself.

Troubleshooting

SymptomWhat to check
The KML Exchange buttons do nothing. A drawing must be open. Open or create a project/drawing first.
Export produces far fewer objects than expected, or nothing. Check Export Entities in Settings — the default is Active Layer. Switch to Visible Layers for the whole drawing, and verify the per-type toggles (points, lines, polygons, text) are on. Hidden layers are never exported.
"Wrong zone set" message during export. The drawing is not georeferenced or the UTM zone is wrong. Set the correct zone (or georeference the drawing) and retry.
Imported lines look far too thick. Turn on Ignore Line Width During Import in Settings and re-import.
Point icons show as default pins in Google Earth. The icon styles reference Google's online icon library, so an internet connection is needed for them to display.