Format properties for the GDAL options.

te(extent)

ts(dimension)

ts_te(dimension, extent)

Arguments

extent

xmin,xmax,ymin,ymax

dimension

ncol, nrow

Value

string formatted for GDAL command line (-te -ts)

Examples

ts_te(c(10, 100), 1:4)
#> [1] "-ts 10 100-te 1 3 2 4"
ts(c(10, 100))
#> [1] "-ts 10 100"
te(1:4)
#> [1] "-te 1 3 2 4"