Semantic Google Maps with kml?
If you use Google Maps v3 as service (which is the default), then you can add kml and kmz files using the kml and gkml parameters. These are accepted by display_map, display_points and semantic queries with format map or googlemaps.
{{
#ask: ABQIAAAAaufLn-pud1u2U6PL9te-BBTSCke0pf_Q3FbnK4iLZ8CjvGATgBSyLJTPlQhtdtcsHoxC4sdYWbv3IQ
[[Category:DemoLandgrab]]
| ?Has GeoKoordinaten
| ?GeoKoordinaten
| ?kml=http://wiki.space2live.org/mw/images/4/44/Ashaninka.kml
| format=map
}}
This is what I do so far - it displays the map with the places from the DemoLandgrab category if they have coordinates. I thought I could add the kml coordinates to this map - visible only when zooming in. But I would be at least as happy with a map showing only the kml outline, I just couldn't find out the syntax how to accomplish that.
The KML parser of Semantic Maps does not support the LinearRing element, so it, and all the point it contains, are getting dropped. You can try the gkml param instead, which sends the KML to Google services and get the tiles from there.
Thanks, Jeroen. I couldn't get it to work immediately, but will try again tomorroy. Additionally I found your blog plus some documentation on referata.com, which will probably help.
Thanks again, also for this excellent extension to MediaWiki
Markus