kml_size: Find the number of coordinates in a KML file.

Description Usage Arguments Value

Description

Find the number of coordinates in a KML file.

Usage

1
kml_size(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 three elements containing the total number of coordinates, the total number of coordinates found in <outerBoundaryIs> elements (outer polygon boundaries), and the total number of coordinates found in <innerBoundaryIs> elements (inner polygon boundaries).


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