Read Lines out of a KML file.
A KML source. See kml_read.
The name of the namespace to extract from: defaults to
Whether to report invalid coordinates and/or altitudes below
sea level; defaults to
Arguments passed to read_xml. See kml_read.
A tibble containing the
styleUrl and geographic coordinates
altitude) of the first
LineString contained within each Placemark element of the KML source.
Other Placemark elements will be ignored.
If there are no LineStrings in the KML source, the function returns
If there are no Folders in the KML source, the
folder variable will be
The function only extracts the first LineString out of each Placemark element. As a result, multi-LineStrings built into <MultiGeometry> elements are not fully supported: only the first LineString will be present in the results.
Google Developers. KML Reference: <Point> Element. https://developers.google.com/kml/documentation/kmlreference#linestring
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.