Extension:KML Export/Geometry syntax

From MediaWiki.org
Jump to navigation Jump to search
KML Export Features Installation Quick start How to use Parser functions Special pages Configuration Style syntax

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

The only placemark geometry currently supported is <Point>.

Point[edit]

Syntax[edit]

Point(latitude,longitude,altitude)

Arguments[edit]

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.

Examples[edit]

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

See also[edit]