wiki:KmlTagHandling

This page contains informations and thoughts about some tags and how they will be handled.

altitudeMode

  • clampToGround -> will be ignored, Z = 0 in OGR, #
  • relativeToGround -> Z in KML ==> Z in OGR, #
  • absolute -> Z in KML ==> Z in OGR, 100% match

# points aren't exactly the same because of curvature of ground

With that you can include other KML files, so you can create on KML file and include vektors for streets, for rivers and one file with a raster.

Handling:

  • if the link is online, try to download
  • if download fails, look for the filename in the same directory
  • if that fails, too, warn the user and skip the NetworkLink

Placemark

A Placemark is an OGRFeature

Document/Folder?

Only Documents and Folders that are parent of a Placemark are used as OGRLayers, the rest is dropped. Perhaps a better solution can be found later, but in GDAL it's not possible to put OGRLayers in OGRLayers. In KML Documents and Folders are also features.

IrcDiscussion with Mateusz

Last modified 12 years ago Last modified on Aug 10, 2007 5:49:55 AM