hydrogeofetch is the renamed successor to nhdplusTools. The package scope has grown beyond NHDPlus, and the new name reflects its broader role as a hydrologic geospatial data access and network tool chain. nhdplusTools will remain on CRAN as a deprecation shim until October 2028.

New features

  • New get_3dhp_index() addresses (snaps) point features to the 3DHP network using the HydroAdd3D web service, returning the snapped location and elevation, the matched mainstem (as a geoconnex uri), the measure along the mainstem, and associated GNIS attributes.
  • New add_mainstems() joins geoconnex mainstem identifiers onto a table containing NHDPlusV2 (comid/featureid) or NHDPlusHR (nhdplusid) identifiers, using a cached lookup table from the ref_rivers release. #469
  • New check_mainstems() checks whether mainstem identifiers have been superseded by a newer reference release; new update_mainstems() re-indexes points with a known mainstem id onto its replacement using hydroloom::index_points_to_lines(). #470

Removed functions (moved to hydroloom)

Network analysis and spatial indexing functions that duplicated hydroloom have been removed. Users should call hydroloom directly. See the hydroloom reference for full documentation, especially the indexing and navigation sections.

Removed re-exports

These hydroloom functions are no longer re-exported; call hydroloom::fn() directly:

  • st_compatibalize(), rename_geometry(), get_node(), fix_flowdir(), rescale_measures(), get_hydro_location(), get_partial_length()

Dependency changes

  • Removed pbapply from Imports (no longer needed)
  • Removed future, future.apply from Suggests (no longer needed)