lair.records.read_kml#

lair.records.read_kml(path)[source]#

Read kml file from path

Parameters:

path (str) – The path to the KML file.

Returns:

KML – The KML object.

Return type:

KML

See also

lair.transects

Metrics along a route, such as one read from a KML file.

Notes

Needs the formats extra (fastkml).

Examples

>>> from lair.records import read_kml
>>> kml = read_kml("route.kml")