: kml = kmlread (fname)

(EXPERIMENTAL) Read a Google kml file and return its contents in a struct.

name is the name of a .kml file. Currently kmlread can read Point, LineString, Polygon, Track and Multitrack entries.

kml is a struct with fields Type, Lat, Lon, Ele, Time and Name. If the .kml file contained LineStrings and/or Polygons also field BoundingBox is present containing suitable values for the relevant items.

See also: kmzread.

Package: mapping