extract_poly: Extract the watershed polygon from a ONS station

View source: R/station-polygon.R View source: R/station-polygon (Cópia em conflito de statverse 2020-12-05).R

extract_polyR Documentation

Extract the watershed polygon from a ONS station

Description

Extract the watershed polygon from a ONS station

Usage

extract_poly(
  station = info_station()[["posto"]],
  save = FALSE,
  prefix = "poligono-posto-",
  dest_dir = "output"
)

Arguments

station

scalar integer, the station id ('posto')

save

logical, default is FALSE

prefix

character, prefix to include in the name of RDS file. An example is 'poligono-posto-'. The station id will be appended to this prefix followed by '.RDS'.

dest_dir

character, path to save the RDS file. Default is 'output'.

Value

object of class sf.

See Also

Other station polygon functions: prep_poly_posto()


lhmet-ped/HEgis documentation built on July 23, 2022, 2:59 a.m.