File: kml_reference_examples.rst

package info (click to toggle)
pykml 0.2.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 920 kB
  • sloc: python: 3,919; makefile: 108; sh: 8
file content (29 lines) | stat: -rw-r--r-- 1,138 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
KML Reference Examples
======================

This set of pyKML examples are based on KML examples presented in the 
`KML Reference`_ website.  In general, the examples demonstrate how to create 
simple KML structures that showcase a particular KML element.

.. _KML Reference: http://code.google.com/apis/kml/documentation/kmlreference.html

KML Reference Example: <gx:altitudeMode>
---------------------------------------------

This script generates the example KML file found in the `gx:altitudeMode`_ 
section of the KML Reference documentation.

.. _gx:altitudeMode: http://code.google.com/apis/kml/documentation/kmlreference.html#gxaltitudemode

.. literalinclude:: ../../../src/examples/KmlReference/altitudemode_reference.py


KML Reference Example: <gx:AnimatedUpdate>
-----------------------------------------------

This script generates the example KML file found in the `gx:AnimatedUpdate`_ 
section of the KML Reference documentation.

.. _gx:AnimatedUpdate: http://code.google.com/apis/kml/documentation/kmlreference.html#gxanimatedupdate

.. literalinclude:: ../../../src/examples/KmlReference/animatedupdate_example.py