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 adatatype
argument andtar_stars()
gains atype
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()
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()
forSpatRaster
object 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 createstars
andstars_proxy
objects, 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
iteration
argument from alltar_*()
functions.iteration
now hard-coded as"list"
since it is the only option that works (for now at least). - Added the
description
argument 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) -
geotargets
now requirestargets
version 1.8.0 or higher -
tar_terra_rast()
gains apreserve_metadata
option 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), andzip
are now required dependencies ofgeotargets
(moved fromSuggests
toImports
)
geotargets 0.1.0 (14 May 2024)
- Created
tar_terra_rast()
andtar_terra_vect()
for targets that createSpatRaster
andSpatVector
objects, respectively - Created
tar_terra_sprc()
that creates aSpatRasterCollection
object. -
geotargets_options_get()
andgeotargets_options_set()
can be used to set and get options specific togeotargets
. -
geotargets
now requirestargets
version 1.7.0 or higher - fixed a bug where
resources
supplied totar_terra_*()
were being ignored (#66)