Thanks to visit codestin.com
Credit goes to github.com

Skip to content

geotargets 0.3.0

Choose a tag to compare

@njtierney njtierney released this 13 May 05:29
  • Bugfix by @brownag that fixes use of file.rename() in tar_terra_rast(..., preserve_metadata = "zip"), which does not work when the temporary directory is on a different partition. (#121, PR #122).
  • Fixed examples for tar_terra_tiles(), tile_grid(), tar_terra_sds(), and tar_terra_sprc() as reported by @amart90 as part of rOpenSci review
  • Added details to the documentation for tar_terra_tiles() (suggested by @amart90 as part of rOpenSci review)
  • Completed ropensci review and transferred ownership to ropensci
  • tar_terra_rast() gains a datatype argument and tar_stars() gains a type argument. Both default to the geotargets option "gdal.raster.data.type" (when set).
  • Additional arguments ... are now passed to the target "write" method: terra::writeRaster() for tar_terra_rast(), terra::writeVector() for tar_terra_vect() and stars::write_stars() for tar_stars() (Thanks to @brownag in #137, resolves #132 and #127)
  • Added tar_terra_vrt() for SpatRaster object targets that reference multiple data sources (e.g. tiles created with tar_terra_tiles()) using a GDAL Virtual Dataset (VRT) XML file (Thanks to @brownag in #138)
  • The default driver for tar_terra_vect() has been changed to "GPKG" in order to preserve CRS information (#166).
  • Added preserve_metadata = "gdalraster_sozip" option to use gdalraster::addFilesInZip() to write multi-file Seek-Optimized ZIP (SOZip) file targets, and /vsizip/ GDAL Virtual File System paths for reading without extraction (#167)