Skip to content

Releases: opengeos/whiteboxR

whitebox v2.0.0

08 Sep 14:26
Compare
Choose a tag to compare

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

install_whitebox()

  • Adds install_whitebox() to handle downloading and installing WhiteboxTools
  • Improvements to downloading process on multiple platforms / error messages
  • whitebox::install_whitebox() will call wbt_init() on the exe_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(); now wbt_init() sets/checks EXE path or other options
    • wbt_options() sets/returns current option values
  1. Use a system environment variable (R_WHITEBOX_EXE_PATH) or package option (whitebox.exe_path)
    • Get / set with wbt_init().
  2. Verbosity controlled with (R_WHITEBOX_VERBOSE) or package option (whitebox.verbose)
    • Get / set with wbt_verbose()
  3. 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) use wbt_wd("")

New vignettes

Path expansion

  • wbt_init() exe_path, wbt_wd() wd, and install_whitebox() pkg_dir paths can be specified with shorthand ~ for home directory, which is expanded with path.expand()

Debugging tools

  • Use the command_only=TRUE argument to wbt_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 determine tool_name so automated methods for calling tools (that do not have a parseable tool_name in the call) now work as expected (#45)

Changelog includes "pre-released" changes from v1.5.1

v1.5.0

08 Jun 17:04
d611073
Compare
Choose a tag to compare

v1.4.0

04 Sep 20:02
Compare
Choose a tag to compare

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

23 Jul 14:56
7863783
Compare
Choose a tag to compare

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

08 Jun 04:31
68bbd6b
Compare
Choose a tag to compare

v1.1.0

11 Dec 01:45
55a6e32
Compare
Choose a tag to compare

v1.0.2

01 Nov 18:49
Compare
Choose a tag to compare

v1.0.1

21 Oct 13:37
Compare
Choose a tag to compare
Prep for v1.0.1

v0.5.0

20 Jul 21:25
68d897a
Compare
Choose a tag to compare

Fix bugs for logical parameters

v0.4.0

25 May 16:27
Compare
Choose a tag to compare