georefcells
R2026bReference raster cells to geographic coordinates
Syntax
Description
creates a reference object for a regular raster of cells in geographic coordinates.
Specify the latitude and longitude limits of the raster using
R = georefcells(latlim,lonlim,rasterSize)latlim and lonlim. Specify the number
of rows and columns in the raster using rasterSize.
specifies the height and width of each cell using R = georefcells(latlim,lonlim,latcellextent,loncellextent)latcellextent
and loncellextent. If necessary, the
georefcells function adjusts the geographic limits to
ensure that each dimension of the raster has an integer number of cells.
specifies properties of the reference object using one or more name-value arguments,
in addition to the input arguments in the previous syntaxes.R = georefcells(___,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
To create a geographic raster reference object from a world file matrix, use the
georasterref function.