R/converters.R
extent_dim_to_gt.Rd
Create the geotransform (see geo_transform0()) from extent and dimension.
geo_transform0()
extent_dim_to_gt(x, dimension)
extent parameters, c(xmin,xmax,ymin,ymax)
dimensions x,y of grid (ncol,nrow)
6-element geo_transform0()
The dimension is always ncol, nrow.
extent_dim_to_gt(c(0, 5, 0, 10), c(5, 10)) #> xmin xres yskew ymax xskew yres #> 0 1 0 10 0 -1