geotargets 0.3.1 (15 May 2025)
CRAN release: 2025-05-15
- Throws an error if
preserve_metadata = "gdalraster_sozip"in functiontar_terra_rast()and if GDAL is less than 3.7. Skips testing this feature when GDAL < 3.7 also. This fixes a bug picked up by the CRAN team. - Tests also don’t report progress bars, as mentioned by CRAN team.
geotargets 0.3.0 (16 April 2025)
CRAN release: 2025-05-07
- Bugfix by @brownag that fixes use of
file.rename()intar_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(), andtar_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 adatatypeargument andtar_stars()gains atypeargument. Both default to the geotargets option"gdal.raster.data.type"(when set). - Additional arguments
...are now passed to the target “write” method:terra::writeRaster()fortar_terra_rast(),terra::writeVector()fortar_terra_vect()andstars::write_stars()fortar_stars()(Thanks to @brownag in #137, resolves #132 and #127) - Added
tar_terra_vrt()forSpatRasterobject targets that reference multiple data sources (e.g. tiles created withtar_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 usegdalraster::addFilesInZip()to write multi-file Seek-Optimized ZIP (SOZip) file targets, and/vsizip/GDAL Virtual File System paths for reading without extraction (#167)
geotargets 0.2.0 (29 November 2024)
- Created
tar_stars()andtar_stars_proxy()that createstarsandstars_proxyobjects, respectively. - Created
tar_terra_tiles(), a “target factory” for splitting a raster into multiple tiles with dynamic branching (#69). - Created two helper functions for use in
tar_terra_tiles():tile_grid(),tile_n(), andtile_blocksize()(#69, #86, #87, #89). - Created utility function
set_window()mostly for internal use withintar_terra_tiles(). - Removes the
iterationargument from alltar_*()functions.iterationnow hard-coded as"list"since it is the only option that works (for now at least). - Added the
descriptionargument to alltar_*()functions which is passed totar_target(). - Suppressed the warning “[rast] skipped sub-datasets” from
tar_terra_sprc(), which is misleading in this context (#92, #104). - Requires GDAL 3.1 or greater to use “ESRI Shapefile” driver in
tar_terra_vect()(#71, #97) -
geotargetsnow requirestargetsversion 1.8.0 or higher -
tar_terra_rast()gains apreserve_metadataoption that when set to"zip"reads/writes targets as zip archives that include aux.json “sidecar” files sometimes written byterra(#58) -
terra(>= 1.7.71),withr(>= 3.0.0), andzipare now required dependencies ofgeotargets(moved fromSuggeststoImports)
geotargets 0.1.0 (14 May 2024)
- Created
tar_terra_rast()andtar_terra_vect()for targets that createSpatRasterandSpatVectorobjects, respectively - Created
tar_terra_sprc()that creates aSpatRasterCollectionobject. -
geotargets_options_get()andgeotargets_options_set()can be used to set and get options specific togeotargets. -
geotargetsnow requirestargetsversion 1.7.0 or higher - fixed a bug where
resourcessupplied totar_terra_*()were being ignored (#66)
