KML export

From Maps for MediaWiki

Maps supports KML export via its integration with Semantic MediaWiki.

Coordinates stored in Semantic MediaWiki can be exported using the KML result format.

Example[edit | edit source]

A query for the 'Has coordinates' property of all pages in that have this property set:

Syntax
{{#ask:
 [[Coordinates::+]]
 |?Coordinates
 |format=kml
 |searchlabel=Export as KML-file
}}
Result

Export as KML-file

Parameters[edit | edit source]

Specific to the KML format
Parameter Type Default Description
text text empty The text associated with each page. Overridden by the additional queried properties if any.
title text empty The default title for results
linkabsolute yes/no yes Should links be absolute (as opposed to relative)
All parameters that can be used with format=kml
Parameter Type Default Description
source text empty Alternative query source
limit whole number 50 The maximum number of results to return
offset whole number 0 The offset of the first result
link text all Show values as links
sort list of texts empty Property to sort the query by
order list of texts empty Order of the query sort
headers text show Display the headers/property names
mainlabel text no The label to give to the main page name
intro text empty The text to display before the query results, if there are any
outro text empty The text to display after the query results, if there are any
searchlabel text ... further results Text for continuing the search
default text empty The text to display if there are no query results
text text empty The text associated with each page. Overridden by the additional queried properties if any.
title text empty The default title for results
linkabsolute yes/no yes Should links be absolute (as opposed to relative)