Basic function to create a geotransform as used by GDAL.
geo_transform0(px, ul, sh = c(0, 0))
px | pixel resolution (XY, Y-negative) |
---|---|
ul | grid offset, top-left corner |
sh | affine shear (XY) |
vector of parameters xmin, xres, yskew, ymax, xskew, yres
geo_world0()
which uses the same parameters in a different order
#> xmin xres yskew ymax xskew yres #> 0 1 0 0 0 -1