kml_elements: Extract multiple KML elements from a Placemark.

Description Usage Arguments Value See Also

View source: R/internals.R

Description

Extract multiple KML elements from a Placemark.

Usage

1
kml_elements(x, element, ns = "d1")

Arguments

x

A nodeset of Placemarks.

element

The name of the element to extract, e.g. "name".

ns

The name of the namespace to extract from; defaults to "d1".

Value

A character vector holding the text of the element. Missing values, i.e. empty elements, will be returned as NA values.

See Also

Google Developers. KML Reference: <Placemark> Element. https://developers.google.com/kml/documentation/kmlreference#placemark


briatte/tidykml documentation built on May 11, 2017, 5:37 p.m.