roads 1.2.0
- Change dynamic least cost paths (DLCP) to iterative least cost paths
(ILCP) throughout
- Change default roadMethodto"ilcp"inprojectRoads
- Add ability to use a custom weightFunctionand add aweightFunctiongradePenaltyFnthat determines
the grade between two cells
- Add a vignette and a demo data set dem_exampleto show
howgradePenaltyFncan be used.
- Change argument name from costtoweightRastersince it no longer represents a cost surface
and can now be inputs to theweightFunction. Also changeroadsInCosttoroadsInWeight.
- returned roads are no longer unioned together.
- Deprecate getDistFromSourceand useterra::distanceinstead.
- Fix bug in getLandingsFromTargetand change so that
patches are used for 0,1 rasters and ids are used otherwise using
terra::as.polygons to make it faster.
roads 1.1.1
- Fix an issue where updates to terrawere causing roads
to break
- In the process removed rasterandspfrom
dependencies and converted example data toterraandsfformats. This requires a new functionprepExDatato unwrap theterraobjects that
needed to be wrapped for storage
roads 1.1.0
- converted to using terrathroughout the package.rasterobjects are still accepted but will be converted toterraformats.
- Added getDistFromSourcefunction to use moving windows
to quickly get a raster of the distance from the nearest source (e.g
road).
- remove SpaDES.toolsdependency because it was archived
on CRAN and there is an equivalent method interranow.
- The returned cost raster now includes the projected roads as having
a cost of 0. This makes it easier to loop additional road building over
time but is a change from the previous version where the input cost
surface was returned.
roads 1.0.0
- Added a NEWS.mdfile to track changes to the
package.