
Query FWA lake polygons that intersect habitat streams
Source:R/fly_query_lakes.R
fly_query_lakes.RdReturns lake polygons from whse_basemapping.fwa_lakes_poly that share a
waterbody_key with the input streams. Use with fly_trim_habitat() to
fill gaps where lakes interrupt the stream network.
Arguments
- conn
A DBI connection to a bcfishpass database.
- streams_sf
An sf linestring — habitat streams (e.g. from
fly_query_habitat()).