CGNDBHydroKML: download kml of hydrological feature

Description Usage Arguments Details Value

Description

Based on the name of a HYDAT survey station, attempts to download a kml corresponding to the hydrological feature being measured.

Usage

1
CGNDBHydroKML(station, dstfile)

Arguments

station

name of a HYDAT hydrometric station or the name of a waterbody

dstfile

character string specifying a kml file to download

Details

After downloading, the kml is converted to a shapefile. Because of the limitations of feature types in a shapefile, only one geometry type is preserved (points, lines or polygons). The script does its best to figure out which of the three should be preserved based on the station name.

CONCISE CODES: "RIV", "LAKE", "SEA", "CHAN", "BAY",

Value

a Spatial* object


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