maprefcells
R2026bReference raster cells to map coordinates
Syntax
Description
creates a reference object for a regular raster of cells in planar coordinates.
Specify the xy-limits of the raster using
R = maprefcells(xlimits,ylimits,rasterSize)xlimits and ylimits. Specify the
number of rows and columns in the raster using
rasterSize.
specifies the width and height of each cell using R = maprefcells(xlimits,ylimits,xcellextent,ycellextent)xcellextent
and ycellextent. If necessary, the
maprefcells function adjusts the
xy-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 = maprefcells(___,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
To create a map raster reference object from a world file matrix, use the maprasterref function.