Published August 5, 2021
| Version v0.5.0-r
Software
Open
ropensci/terrainr: terrainr v 0.5.0
Description
(This time for real -- this release matches the one published to CRAN)
- New features:
- A new function,
make_manifest
, now helps automate the import of terrain and imagery to Unity. It fully replacesraster_to_raw_tiles
(see Deprecations below). Documentation updates are forthcoming.
- A new function,
- Deprecations:
raster_to_raw_tiles
is now deprecated and will be removed in a future release (no earlier than 2022). Usemake_manifest
instead.- The method
get_tiles.list
is now deprecated and will be removed in a future release (unexported in Fall 2021, removed no earlier than 2022). Convert your list to ansf
object instead. - The
bbox
argument tohit_national_map_api
is now documented as "An object from [sf::st_bbox]." This is a change from the earlier options of a length 2 list or terrainr_bounding_box object. Those methods are currently still supported, but undocumented; they will be removed in a future release (no earlier than 2022).
- Improvements and bug fixes:
get_tiles
no longer mangles data with projected coordinates (via a fix to the internal functionsplit_bbox
). If for some reason you want the old behavior back, set the new argumentprojected
toFALSE
while providing projected data.- The documentation for
add_bbox_buffer
andset_bbox_side_length
now specifies that they should only be used with geographic coordinate systems. If you use these functions with projected data, they will warn; this may be upgraded to an error in future versions. - The README images are now of beautiful Hyampom, California, a somewhat more appealing vista than the original Mt Marcy scene.
- The "Import to Unity" vignette has been rewritten to use make_manifest, as has the overview vignette and other documentation.
- Typos in the message
merge_rasters
gives when using the fallback method have been fixed. merge_rasters
gains an argumentforce_fallback
which, if TRUE, will use the older, slower method for merging tiles. This is not recommended, but is useful for testing.
- Internal changes:
- The slow removal of all
terrainr_*
custom classes marches on! These classes should no longer be present in any user-facing, non-deprecated code; the only functions still relying on custom classes are internal utilities and thesplit_bbox
function responsible for tilingget_tiles
requests. split_bbox
should now run faster, particularly for large tile sets, as some nested loops have been vectorized.- Improvements to test coverage and CI.
- The slow removal of all
Files
ropensci/terrainr-v0.5.0-r.zip
Files
(2.4 MB)
Name | Size | Download all |
---|---|---|
md5:76a022308a7fb45fcec253d5c0deb454
|
2.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ropensci/terrainr/tree/v0.5.0-r (URL)