Releases: opengeos/whiteboxR
whitebox v2.0.0
whitebox 2.0.0 was published on CRAN on 2021/09/10
Commit tagged is "as submitted" to CRAN on 2021/09/06. New release will be created to cover anything that comes up from pending human review.
whitebox 2.0.0
- Update to WhiteboxTools v2.0.0
- This is a major release update to the WhiteboxTools backend. See https://github.com/jblindsay/whitebox-tools/releases/tag/v2.0.0 for more details
install_whitebox()
- Adds
install_whitebox()
to handle downloading and installing WhiteboxTools - Improvements to downloading process on multiple platforms / error messages
whitebox::install_whitebox()
will callwbt_init()
on theexe_path
after unpacking to target directory
New package options
- Add package options for custom EXE path, verbosity and working directory
- Changes behavior of
wbt_init()
; nowwbt_init()
sets/checks EXE path or other options wbt_options()
sets/returns current option values
- Changes behavior of
- Use a system environment variable (
R_WHITEBOX_EXE_PATH
) or package option (whitebox.exe_path
)- Get / set with
wbt_init()
.
- Get / set with
- Verbosity controlled with (
R_WHITEBOX_VERBOSE
) or package option (whitebox.verbose
)- Get / set with
wbt_verbose()
- Get / set with
- Working directory controlled with (
R_WHITEBOX_WD
) or package option (whitebox.wd
)- Get / set with
wbt_wd()
; for unsetting working directories (to current R working directory, dropping--wd
flag) usewbt_wd("")
- Get / set with
New vignettes
- "whitebox Demo"
- "whitebox Tool Metadata"
- New data objects
wbttools
andwbttoolparameters
data.frame built from WhiteboxTools v2.0.0 - Use
data(wbttools)
ordata(wbttoolparameters)
- New data objects
Path expansion
wbt_init()
exe_path
,wbt_wd()
wd
, andinstall_whitebox()
pkg_dir
paths can be specified with shorthand~
for home directory, which is expanded withpath.expand()
Debugging tools
- Use the
command_only=TRUE
argument towbt_run_tool()
to get system commands without running them to inspect or save for later whitebox:::wbt_rust_backtrace()
- [not currently exported] toggle RUST_BACKTRACE system environment variable settings
wbt_*()
tool internal changes
- Functions no longer use
match.call()
internally to determinetool_name
so automated methods for calling tools (that do not have a parseabletool_name
in the call) now work as expected (#45)
Changelog includes "pre-released" changes from v1.5.1
v1.5.0
See https://github.com/jblindsay/whitebox-tools/releases/tag/1.5.0 for more info.
v1.4.0
Dr. John Lindsay has updated WhiteboxTools to v1.4.0. More information about this version can be found at https://github.com/jblindsay/whitebox-tools/releases/tag/1.4.0. I am updating the WhiteboxTools R frontend to v1.4.0.
See below the updates from Dr. John Lindsay:
This release adds some new tools and several bug fixes. Of the new tools, we are most excited about the addition of the TimeInDaylight tool, which estimates the proportion of daytime that each cell in a digital surface model (DSM) is in an exposed area. This is a very powerful method of performing a basic solar radiation modelling workflow. The new LidarDigitalSurfaceModel tool can be used to create DSMs for input to the TimeInDaylight tool. In addition to these updates, the User Manual has also been updated in numerous places with enhanced documentation. As always, if you wish to compile from source code, be sure to update to the most recent version of Rust beforehand using rustup update stable. Pre-compiled binaries are available for Windows (win), MacOS (Darwin), and Linux on Github and from the WhiteboxTools homepage. Please report any bugs that you encounter by creating an issue on the WhiteboxTools Github site.
- Added the TimeInDaylight model tool for modelling the proportion of daytime that a location is not in shadow.
- Added the MapOffTerrainObjects tool.
- Added the FilterRasterFeaturesByArea tool.
- Added the LidarDigitalSurfaceModel tool.
- The D8 and FD8 flow pointer tools now output byte rasters.
- The Isobasins tool now optionally outputs an upstream/downstream connections table.
- The HorizonAngle tool has had significant performance improvements.
- Improvements to the RemoveOffTerrainObjects tool's performance.
- The Resample tool has been modified so that it does not require a 'destination' raster. Instead,
- it will create a new output raster either based on a user-specified target cell resolution or
- an optional base raster, much like the vector-to-raster conversion tools.
- Tools that input a z_factor conversion no longer override user input with geographic coordinates
- (see issue #113).
- The StreamLinkIdentifier tool now outputs a 32-bit integer format, increasing the maximum allowable
- number of streams (see issue #110).
- Fixed a bug with cubic-convolution and bilinear resampling in the Mosaic tool (see issue #109).
v1.3.1
Dr. John Lindsay has updated WhiteboxTools to v1.3.1. More information about this version can be found at https://github.com/jblindsay/whitebox-tools/releases/tag/v1.3.1. I am updating the WhiteboxTools R frontend to v1.3.1.
This release adds a few new tools, including two options for creating more advanced hillshade images from DEMs, and better raster file support. This includes critical fixes for the WBT GeoTIFF reader/writer and added support for reading BIL files.
- Added the HypsometricallyTintedHillshade tool to create hypsometric tinted hillshades.
- Added the MultidirectionalHillshade tool.
- Added the ability to read/write in the Esri BIL raster format.
- Added the LidarRooftopAnalysis tool.
- The MultiPartToSinglePart tool now handles MultiPoint vectors.
- Fixed a bug with the VoronoiDiagram to better handle MultiPoint vectors.
- Fixed an issue with writing compressed RGB GeoTIFFs.
- Fixed an issue reading LZW compressed GeoTIFFs.
v1.3.0
Update to WhiteboxTools v1.3.0
v1.1.0
Update to WhiteboxTools v1.1.0
v1.0.2
Update to WhiteboxTools v1.0.2
v1.0.1
v0.5.0
v0.4.0
Updates to WhiteboxTools v0.16.0