remove_lentic_bcfwa: Remove Lentic Reaches BCFWA

View source: R/remove_lentic_bcfwa.R

remove_lentic_bcfwaR Documentation

Remove Lentic Reaches BCFWA

Description

Remove lakes and lentic waterbodies within in BCFWA stream network.

Usage

remove_lentic_bcfwa(strm = NA, EDGE_TYPE = "EDGE_TYPE")

Arguments

strm

A streamlines dataset of class sf from the BCFWA.

EDGE_TYPE

String. Column name for the EDGE_TYPE in the streamline dataset. See BCFWA User Guide for details.

Details

Lakes and lentic wetlands should be removed from the streamline sampling frame to avoid having a sample point fall in the middle of a stationary water body. If the streamline network being used originates from the BC Freshwater Atlas, then it is possible to the EDGE_TYPE column to keep lotic stream reaches and drop lotic (lake/wetland areas).

Value

An streamlines dataset of class sf with lotic reaches removed

Examples

## Not run: 
library(wsep.t2)
data(TsolumStreams)
# Remove lotic (lake) reaches
strm <- remove_lentic_bcfwa(strm = TsolumStreams,
 EDGE_TYPE = "EDGE_TYPE")
strm_plot <- sf::st_zm(strm)
# mapview::mapview(strm_plot)

## End(Not run)



essatech/wsep.t2 documentation built on Sept. 3, 2022, 5:56 a.m.