extent_dim_to_gt {affinity} | R Documentation |
Create geotransform from extent and dimension
Description
Create the geotransform (see geo_transform0()
) from extent and dimension.
Usage
extent_dim_to_gt(x, dim)
Arguments
x |
extent parameters, c(xmin,xmax,ymin,ymax) |
dim |
dimensions x,y of grid (ncol,nrow) |
Details
The dimension is always ncol, nrow.
Value
6-element geo_transform0()
Examples
extent_dim_to_gt(c(0, 5, 0, 10), c(5, 10))
[Package affinity version 0.2.5 Index]