Create an ezgrid object to define a desired extent, projection and crs. Use this
as the y
argument in ezwarp()
.
Arguments
- extent
numeric vector with the following form:
c(xmin, xmax, ymin, ymax)
- dimension
numeric vector, length 2. define the XY dimension of the grid:
c(x.dim, y.dim)
- projection
projection of warped raster (in Well-Known-Text, or any projection string accepted by GDAL)
- source
default NULL an optional spatial source/file path. used internally.