Export to KML

A TerraExplorer project can be exported to an OGC KML file. KML uses a tag-based structure with nested elements and attributes and is based on the XML standard. All tags are case-sensitive and must appear exactly as they are listed in the OpenGIS® KML Encoding Standard (OGC KML) reference. The export process preserves TerraExplorer object properties as accurately as possible by translating TerraExplorer objects to their equivalent KML geometries. If there is no KML element that precisely represents a TerraExplorer object, TerraExplorer uses the closest match.  

The following translations are performed:

TerraExplorer 2D objects

Equivalent KML geometry

Rectangle, regular polygon, ellipse, circle

Polygon

Arc:

§  Fill opacity =0

 

Line string

§  Fill opacity >0 

Polygon

Arrow:

§  arrows straight.gif style

 

Polyline

§  arrow3d.gif styles

 

 

Polygon

Image label, text label

Point

Video on terrain

Does not export.

 

 

TerraExplorer 3D objects

Equivalent KML object

Box, sphere, cone, cylinder, 3D arrow, pyramid

3D model

Building

3D model

3D Model (that does not contain DAE)

Label

Modify Terrain

Does not export.

Hole on terrain

Does not export.

Multi-polygon

Multi-polygon

Polygon with hole

Polygon with hole

3D Polygon

§  with altitude = 0 relative to terrain

Polygon

§  with altitude ≠ 0 relative to terrain

3D Model

Rectangle with texture, polygon (only with 4 vertices) with texture, imagery layer.

Note:    Only if their resources contain the following formats: jpeg, BMP, tif, png, gif.

Ground overlay

 

When exporting a project with a presentation to KML, the following Tour tags are exported (Tag, Parent Tag):

§  <gx:Tour> <gx:Document>

§  <gx:PlayList> <gx:Tour>

§  <gx:FlyTo> <gx:PlayList>

§  <gx:duration> <gx:FlyTo>

§  <gx:flyToMode> <gx:FlyTo>

§  <Camera> <gx:FlyTo>

§  <gx:AnimationUpdate> <gx:Tour>

 

To export a project to a KML file:

1.     On the File menu filemenu.gif, point to Save As, and then select Export Project to KML.

2.     In the Save Project As dialog, select a path and type a new project name.

3.     Click Save.