📜 ⬆️ ⬇️

Google Earth 5.0. KML Virtual Travel Management. Introduction

KML is one of the most popular languages ​​for storing and managing geodata. Currently, there are practically no publications in Russian. Therefore, I will try to start preparing the author's translation of documentation. And habr is a good place for this work. Let's start!

In Google Earth 5 added new features - virtual travel management by means of KML - Touring . This article describes the syntax and capabilities of the travel management language - tour

Introduction


The language of travel management allows you to control the flight for a given geospatial data, including:

For more information on Google Earth's user tools when playing and creating tours, see the User Guide (en) .

Namespace

The KML elements that define tours are contained in the extension set for the OGC KML standard, using the gx prefix. To use them, you must include the correct set of URI names in the <kml> header in your KML file:
 <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"> 

Tour elements are associated with the gx prefix and include:
<gx:Tour><gx:playMode>
<gx:Playlist><gx:Wait>
<gx:Flyto><gx:AnimatedUpdate>
<gx:flyToMode><gx:SoundCue>
<gx:TourControl><gx:duration>

The tour is currently supported only in Google Earth 5.0 and may not be supported by another geodata viewer. If your browser does not support tour tags, then it should ignore them without error messages and load the rest of the KML.
')
Terminology

Tour primitive : one of a set of elements that define the actions on a tour. An example of a primitive is FlyTo, defined by the <gx: FlyTo> element and its descendants.

Playlist: a container containing a set of primitives that define a tour. Playlist items can be depicted as a set of actions defined by their duration along the time scale .

To be continued…

Source: https://habr.com/ru/post/51117/


All Articles