get_streamlevel()calculates stream level, a bottom up level path order used by nhdplus to categorize complete river levels.
Version 0.4.2 further cleans up temporary and cache data functionality for CRAN policy.
New functionality was added to indexing functionality.
disambiguate_flowline_indexes()supports for disambiguating them based on numeric or text attributes that should match. This functionality is not heavily tested, but forms a basis for expansion of this functionality going forward.
get_hydro_location()was added. It will return point geometry given a geometry identifier and measure along that identifier.
Version 0.4.1 is a minor release with bug fixes and updates for CRAN policy.
A noteable addition is handling for strictly dendritic topology encoded using a "tocomid" attribute rather than "fromnode" and "tonode" attributes. This functionality was added in subsetting functions and is backward compatible with previous versions.
Version 0.4.0 adds new functionality for data access via web services and updates the usability and flexibility of data discovery and subsetting functions. This release includes significant rework of functions related to network navigation and web-service data subsetting.
subset_nhdplus()included internal functionality for downloading data via web service. This code for subsetting NHDPlus via web service was completely rewritten and a number of new web-service data access functions were added. The
get_nhdplus()function has been added and is for web-service data access only.
subset_nhdplus(), which will output a subset to a local
.gpkgfile, now uses
get_nhdplus()for download functionality.
navigate_nldi()and most other NLDI functions are now based on an NLDI client in the
dataRetrievalpackage. Functionality has been maintained backward compatible with
nhdplusToolsv0.3 as much as possible with some minor modifications to accomadate changes in dataRetrieval. The response format from
navigate_nldi()has been changed slightly in v0.4, it now includes both the origin feature and navigation type(s) as a list. Two un-needed nldi discovery functions were removed.
.fstfile) for use in network navigation and other applications have been added. These can be used with any nhdplusTools functions that do not require geometry.
get_levelpaths()now has an
override_factorparameter that will cause stream leveling to follow the weight rather than the name input if the weight is
override_factortimes larger than the name indication.
Functions with Consolodated Internals
Finally, the handling of data and caching in the package has been overhauled. These changes are non-functional, but aim to decrease data downloads by caching rather than using temp directories.
subset_nhdplus()now validates geometry and ensures all outputs are in NAD83
subset_nhdplus()queries the NHDPlus database rather than loading then filtering
get_levelpaths()rewritten for performance. Package now uses
navigate_nldi()to use the new NLDI navigation end point. Distance is now required.
get_flowline_index()to handle multipart lines.
plot_nhdplus()to improve scalability
subset_nhdplus()for download filtering.
plot_nhdplus()updated to improve scalability of large downloads.
get_node()to get top and bottom of a flowline.
subset_rpu()to enable subsetting the NHD by Raster Processing Unit
get_waterbody_index()to find associations between point locations and waterbodys.
get_flowline_index()rather than requiring data to be loaded locally.
plot_nhdplus()with both outlet-based and bbox based data subsetting as well as rudimentary style modification capabilities.
get_pfaf()) for dendritic networks.
subset_nhdplus()can now return data without writing a file to disk.
get_nhdplushr()has been updated to modify terminal path and other identifiers making nhdplusHR subsets "stand alone". A function
make_standalone()is now exported.
get_pathlength()functions to generate nhdplus network attributes.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.