View source: R/remove_lentic_bcfwa.R
remove_lentic_bcfwa | R Documentation |
Remove lakes and lentic waterbodies within in BCFWA stream network.
remove_lentic_bcfwa(strm = NA, EDGE_TYPE = "EDGE_TYPE")
strm |
A streamlines dataset of class |
EDGE_TYPE |
String. Column name for the |
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).
An streamlines dataset of class sf
with lotic reaches removed
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.