Semantic Maps examples/KML queries

From semantic-mediawiki.org
< Category:Semantic Maps examples
Semantic Maps examplesSemantic Maps examples/KML queries

Example queries using the Help:KML format provided by Extension "Maps".

Simple query with the KML format[edit]

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

{{#ask:
 [[Has coordinates::+]]
 | ?Has coordinates
 | format=kml
 | searchlabel=Export as KML-file
}}

Results in: Export as KML-file

KML format specific parameters[edit]

{{#ask:
 [[Has coordinates::+]]
 | ?Has coordinates
 | format=kml
 | pagelinktext=Check out $1 now!
 | linkabsolute=off
 | searchlabel=Export as KML-file
}}

Results in: Export as KML-file