Extension:KML Export/Geometry syntax

From MediaWiki.org

Jump to: navigation, search
KML Export FeaturesInstallationQuick startHow to useParser functionsSpecial pagesConfiguration

This page describes the syntax of placemark geometries, used by kml.placemark.

The only placemark geometry currently supported is <Point>.

Contents

[edit] Point

[edit] Syntax

Point(latitude,longitude,altitude)

[edit] Arguments

latitude
Latitude, in decimal degrees, of the feature. You may use lat_dms2deg to convert from degrees-minutes-seconds notation.
longitude
Longitude, in decimal degrees, of the feature. You may use long_dms2deg to convert from degrees-minutes-seconds notation.
altitude (optional)
Altitude, in meters, of the feature. If omitted, the feature is set to the ground level.

[edit] Examples

{{#kml.placemark: Point(-22.951389,-43.210833)}}
{{#kml.placemark: Point({{#lat_dms2deg:22|57|5|S}},{{#long_dms2deg:43|12|39|W}})}}

[edit] See also

Personal tools