reconcile_collapsed_flowlines | R Documentation |
Reconciles output of collapse_flowlines giving a unique ID to each new flowpath and providing a mapping to NHDPlus COMIDs.
reconcile_collapsed_flowlines(flines, geom = NULL, id = "COMID")
flines |
data.frame with COMID, toCOMID, LENGTHKM, LevelPathI, Hydroseq, and TotDASqKM columns |
geom |
sf data.frame for flines |
id |
character id collumn name. |
reconciled flowpaths with new ID, toID, LevelPathID, and Hydroseq identifiers. Note that all the identifiers are new integer IDs. LevelPathID and Hydroseq are consistent with the LevelPathID and Hydroseq from the input NHDPlus flowlines.
The refactor_nhdplus
function implements a complete
workflow using 'reconcile_collapsed_flowlines()'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.