Create the extent (xlim, ylim) from the geotransform and dimensions of the grid.
gt_dim_to_extent(x, dim)
x | geotransform parameters, as per |
---|---|
dim | dimensions x,y of grid (ncol,nrow) |
4-element extent c(xmin,xmax,ymin,ymax)
The extent is c(xmin, xmax, ymin, ymax)
.
#> xmin xmin ymax ymax #> 0 5 0 10