KML: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
(Weiterleitung nach Google Earth Hacks erstellt)
(Metadaten)
 
(17 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
#redirect[[Google Earth Hacks]]
+
Abkürzung für 'Keyhole Markup Language', XML-basiertes Dateiformat. Originalformat von [[Google Earth]]. KML wird inzwischen von verschiedensten Programmen unterstützt, nebst Desktop-GIS und [[Konverter]] u.a. auch Webapplikationen wie [[Google Maps]]. [[KMZ]] bedeutet "KML gzipped".
 +
 
 +
Siehe auch:
 +
* [[Google Earth]]
 +
* [[KMZ]]
 +
 
 +
== Dokumentation ==
 +
* Defaults to WGS84 (EPSG 4326, the GPS system)
 +
* [http://www.digitalearthblog.com/2007/10/30/some-good-new-kml-tutorials-from-google/ Blog über KML Tutorials]
 +
* [http://kml-samples.googlecode.com/svn/trunk/interactive/index.html KML Sampler] (für Webbrowser mit Google Earth Plug-in)
 +
 
 +
== Metadaten ==
 +
 
 +
  dc:identifier      = baseURI of the service // from Document/name
 +
  dc:type            = 'file'
 +
  dc:format          = KML
 +
  dct:spatial        = BoundingBox // berechnet aus allen Koordinaten
 +
  dct:modified      = timestamp? // e.g. from HTTP header or updateSequence
 +
 
 +
== Beispiel ==
 +
 
 +
Header:
 +
  <?xml version="1.0" encoding="utf-8" ?>
 +
  <kml xmlns="http://earth.google.com/kml/2.0">
 +
  <Document><Folder><name>KML-Test</name>
 +
 
 +
'Content':
 +
    <Placemark>
 +
        <name>KML-Test</name>
 +
        <description><![CDATA[
 +
        <a href="http://gis.hsr.ch/wiki/KML">KML</a>
 +
        ]]></description>     
 +
        <Point><coordinates>6.14131,46.20472</coordinates></Point>
 +
    </Placemark>
 +
 
 +
Footer:
 +
  </Folder></Document></kml>
 +
 
 +
== Software ==
 +
 
 +
* Siehe auch:
 +
** [[Kollaborative Karten]]-Howtos.
 +
** [[OGR]] und [[GeoConverter]]
 +
** [[Google Earth]]
 +
 
 +
* Konverter von KML nach ...:
 +
** Shapefile:
 +
*** [[OGR]] und [[GeoConverter]]
 +
*** [http://www.zonums.com/kml2shp.html kml2shp] - Zonums KML zu Shapefile-Konverter, Desktop-Software (Frei, Windows)
 +
*** [http://www.zonums.com/online/kml2x.html kml2x] - Zonum Online-Konverter (Frei, -)
 +
* Konverter von ... nach KML:
 +
** Shapefile
 +
*** GeoRSS-to-KML Converter auf [http://www.kovacevic.nl/hacks/kml/rss2kml.php rss2kml] von kovacevic.nl
 +
*** [http://www.gpsies.com/upload.do?uploadMode=convert GPSies] - Webapplikation u.a. mit Konverter KML zu GPX und andere GPS-Formate (bis 12 MB)
 +
** MS Access
 +
*** [http://seunet.blogspot.com/2006/11/export-access-to-google-earth.html VB-Skript] (Seunet blog)
 +
* Verschiedenes:
 +
** [http://www.mchme.de/ KML Manager] (Demoversion, sonst ca. 10 Euro, Windows)
 +
 
 +
 
 +
[[Kategorie:Dateiformat]]

Aktuelle Version vom 4. Februar 2009, 15:39 Uhr

Abkürzung für 'Keyhole Markup Language', XML-basiertes Dateiformat. Originalformat von Google Earth. KML wird inzwischen von verschiedensten Programmen unterstützt, nebst Desktop-GIS und Konverter u.a. auch Webapplikationen wie Google Maps. KMZ bedeutet "KML gzipped".

Siehe auch:

Dokumentation

Metadaten

 dc:identifier      = baseURI of the service // from Document/name
 dc:type            = 'file'
 dc:format          = KML
 dct:spatial        = BoundingBox // berechnet aus allen Koordinaten
 dct:modified       = timestamp? // e.g. from HTTP header or updateSequence

Beispiel

Header:

 <?xml version="1.0" encoding="utf-8" ?>
 <kml xmlns="http://earth.google.com/kml/2.0">
 <Document><Folder><name>KML-Test</name>

'Content':

   <Placemark>
       <name>KML-Test</name>
       <description><![CDATA[
       <a href="http://gis.hsr.ch/wiki/KML">KML</a>
       ]]></description>      
       <Point><coordinates>6.14131,46.20472</coordinates></Point>
   </Placemark>

Footer:

 </Folder></Document></kml>

Software

  • Konverter von KML nach ...:
    • Shapefile:
      • OGR und GeoConverter
      • kml2shp - Zonums KML zu Shapefile-Konverter, Desktop-Software (Frei, Windows)
      • kml2x - Zonum Online-Konverter (Frei, -)
  • Konverter von ... nach KML:
    • Shapefile
      • GeoRSS-to-KML Converter auf rss2kml von kovacevic.nl
      • GPSies - Webapplikation u.a. mit Konverter KML zu GPX und andere GPS-Formate (bis 12 MB)
    • MS Access
  • Verschiedenes: