Closed mikejohnson51 closed 2 years ago
Hi @dblodgett-usgs,
This PR address #16. Functions are exported directly, and embedded in reconcile_catchment_divides with the flag "fix_catchments".
reconcile_catchment_divides
The package builds and loads correctly.
Test are written in test_geometries.R based on a minimal dataset created in inst/extdata/gage_01013500_data.R and stored in inst/extdata
test_geometries.R
inst/extdata/gage_01013500_data.R
inst/extdata
Structural package changes includes moving rgeos from Suggests to Imports, and adding rmapshaper to Imports.
rgeos
rmapshaper
Mini Example of new usage:
divides <- reconcile_catchment_divides(catchment = catchments, fline_ref = fline_ref, fline_rec = fline_rec, fdr = fdr, fac = fac, para = 1, cache = NULL, fix_catchments = TRUE)
This PR also adds functionality for producing length mappings for member_COMIDs via a function called add_lengthmap.
add_lengthmap
Thanks, Mike. This is great. I'll go ahead and merge and cross fingers on the build.
Hi @dblodgett-usgs,
This PR address #16. Functions are exported directly, and embedded in
reconcile_catchment_divides
with the flag "fix_catchments".The package builds and loads correctly.
Test are written in
test_geometries.R
based on a minimal dataset created ininst/extdata/gage_01013500_data.R
and stored ininst/extdata
Structural package changes includes moving
rgeos
from Suggests to Imports, and addingrmapshaper
to Imports.Mini Example of new usage:
This PR also adds functionality for producing length mappings for member_COMIDs via a function called
add_lengthmap
.