Format grid properties for GDAL command line options (-ts for target size,
-te for target extent).
ts_te(dimension, extent)
te(extent)
ts(dimension)A character string formatted for GDAL command line:
ts_te(): combined -ts and -te arguments
ts(): -ts ncol nrow string
te(): -te xmin ymin xmax ymax string (note: reordered for GDAL)
These functions generate the string arguments used by GDAL utilities like
gdalwarp and gdal_translate. The ts() function is named after the GDAL
-ts flag and masks stats::ts(); use ts_te() or qualify with
stats::ts() if you need the time series function.
ts() masks stats::ts(). This is intentional for concise GDAL
command building, but be aware of the conflict if you use time series
in the same session.
vcrop() for computing aligned extents