kml_info: Find the elements of a KML file.

Description Usage Arguments Value Examples

Description

Find the elements of a KML file.

Usage

1
kml_info(x, ns = "d1")

Arguments

x

A KML source. See kml_read.

ns

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

Value

A named numeric vector of five elements corresponding to the number of Folders, Placemarks, LineStrings, Points and Polygons in the source.

Examples

1
2
3
4
# demo data: U.S. Civil War map
# see ?states for details
f <- system.file("extdata", "states.kml.zip", package = "tidykml")
kml_info(f)

briatte/tidykml documentation built on May 13, 2019, 7:43 a.m.