FilterKMLGeometry: Convert KML to shapefile, retaining only one geometry type

Usage Arguments Value

Usage

1
FilterKMLGeometry(kml.file, geom, try_alternate = T)

Arguments

kml.file

character path to kml file

geom

character string, which feature type do you want to retain? options are one of ('point', 'line', 'polygon').

try_alternate

logical, if no features of the desired type are found, whether or not to try loading a different feature type.

Value

character, path to newly created shapefile


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.