Releases: FluvialGeomorph/fluvgeo
v2025.07.08
fluvgeo 2025.07.08
Bug fix
- Fixed a bug in the
floodplain_volumeandhydroflatten_demfunctions when the input raster extents did not match.
2025.06.18.3
fluvgeo 2025.06.18.3
Minor Changes
- Updated terminology from "detrended elevation" to "relative elevation".
v2025.06.12.1
fluvgeo 2025.06.12
Minor Changes
- For the
get_leafletfunction, exposed zoom as a parameter.
v2025.05.03
fluvgeo 2025.05.03
Major changes
- Adopted the
nhdplusToolsr package to gain access to USGS Network Linked Data Index (NLDI) services. - Added the
pt_watershed_areafunction to retrieve delineated watersheds from NHDPlus via the NLDI. - Incorporated the
pt_watershed_areafunction into the processing steps for cross sections to identify NHD reaches (reachcode, comid) and calculate upstream drainage basin areas.
Minor changes
- Added hillshading to the
get_terrain_leafletfunction. - Added channel_ and floodplain_polys to the
get_results_leafletfunction.
v2024.04.19
fluvgeo 2025.04.19
Major changes
-
Added several functions to support use in Shiny web apps:
- Renamed the
dem2remfunction todetrendto support the return of both anremandtrendsurface. Trend surfaces can be used to model water surfaces. water_surface_area- Derive a polygon representing the water surface area at a specifiedremelevation. Eliminates disconnected off-channel areas and simplifies the geometry. Used to createchannel_polyandfloodplain_polysf objects.xs_pts_classify- Classifies cross_section_points as falling in the channel and floodplain.hydroflatten_dem- Uses atrendsurface to add a water surface to a dem.floodplain_volume- Calculates the volume between two surfaces, such as a DEM and water surface.
- Renamed the
-
Updated the
detrendfunction to not extend the interpolatedtrendsurface beyond the extent of the inputflowline_points. This was required to prevent extrapolation of the surface at each end of the reach beyond the available input data. In many cases, this extrapolation was distorting thetrendsurface at each end of the reach.
Minor changes
- Updated
get_demto enable multiple threads for download.
v2025.04.17
fluvgeo 2025.04.17
Bug fix
- Remediation of apparent
terra::SpatRasterobject corruption. Was getting error: "expansion is not yet allowed" when nothing seemed to be wrong with the extent, crs, or resolution of the object.
v2025.04.14
fluvgeo 2025.04.14
Bug fix
- Fixed documentation mistake which prevented building package from source on linux.
v2025.04.12
fluvgeo 2025.04.12
Major changes
-
Start using the new data package
FluvialGeomorph/fluvgeodatafor testing newly added functions. -
Added new functions to support
fluvgeouse in shiny apps:flowline- Create a valid flowline object from raw linework.flowline_points- Create a valid flowline_points object from a flowline object.cross_section- Create a valid cross_section object from raw linework.cross_section_points- Create a valid cross_section_points object from a cross_section object.dem2rem- Convert a DEM to an REM.get_dem- Get a DEM from the latest ESRI terrain image server.get_leaflet- Get a basic leaflet object.get_results_leaflet- Get a leaflet objet with fluvgeo objects.get_terrain_leaflet- Get a leaflet object with a DEM.arcgis_auth- Authorize to an AGOL service.check_crs_3857- Check if sf or terra objects are CRS 3857.sf_fix_crs- Fix sf objects that might have mis-specified CRS's 3857 and 4326.sf_get_z- Get z value from an elevation model for an sf object.
Minor changes
- Swiched to using
tmapv4 from CRAN.
v0.1.54
fluvgeo v0.1.54 (2025-04-08)
Major changes
-
Updated reports to use a series of new functions to improve data quality and labeling.
-
Added a series of functions to streamline the editing and drawing of cross sections in the sf format.
start_left- Determines if a cross section starts to the left of the flowline.sf_line_end_point- Returns the x,y corrdinates of the start or end of a line.sf_point_attributes- Write the x and y coordinate values into columns.xs_upstream- Determine the upstream cross section and write its vlues into new columns. *xs_bearing- Calculate the bearing of a cross section.
Minor changes
- None.
v0.1.53
fluvgeo v0.1.53 (2025-02-04)
Major changes
-
Converted all functions to tmap version 4 (well, v3.99).
-
Discovered that the
arcgisbinding::arc.openfunction now no longer works reliably (see issue #91). -
Removed all remaining dependencies on the ESRI
arcgisbindingR package as many of its primary IO functions are no longer reliably working. Removed remaining functions that relied onarc.openorarc.write:arc_raster2SpatRasterreplaced bygdb_raster2SpatRastarc2sfreplaced byfc2fsget_arc_wktsf2arc_tablesf2arc
-
Discovered that the GDAL v3.7+ OpenFileGDB driver can now read rasters.
-
The
terrapackage for rasters is currently bundled with > GDAL 3.7
> terra::gdal()
[1] "3.9.3"
>terra::gdal(drivers = TRUE) |> filter(name == 'OpenFileGDB')
name raster vector can vsi long.name
1 OpenFileGDB TRUE TRUE read/write TRUE ESRI FileGDB
- Added a test function to verify that the GDAL OpenFileGDB driver can replace
arcgisbindings.
Minor changes
- Fixed some broken test data.