Extension:KML Export/Parser functions
From MediaWiki.org
| KML Export | Features • Installation • Quick start • How to use • Parser functions • Special pages • Configuration |
KML Export defines the following parser functions for use in wiki articles:
[edit] KML markup functions
These functions are used to define KML features and their properties in article pages. All functions begin with kml., which means that they work like methods of a "kml" object, in an object-oriented sense.
- kml.placemark
- Sets a placemark for the current article.
- kml.folder
- Puts features of the current article into a subfolder in the KML tree and also sets parameters of this folder.
- kml.style
- Creates a named feature style.
- kml.text
- Instantiates a text block where you can insert arbitrary wiki markup.
[edit] Convenience functions
These are miscellaneous functions that are useful when working with geographic data in wiki articles, and can also be used to convert coordinates for the functions listed above.
- lat_deg2dms, long_deg2dms
- Convert geographic coordinates in degree notation to degrees-minutes-seconds notation.
- lat_dms2deg, long_dms2deg
- Convert geographic coordinates in degrees-minutes-seconds notation to degree notation.

