maprefcells
Reference raster cells to map coordinates
Syntax
Description
returns
a default referencing object for a regular raster of cells in planar
(map) coordinates.R
= maprefcells()
constructs a referencing object for a raster of cells spanning the specified limits
in planar coordinates, with the numbers of rows and columns specified by
R
= maprefcells(xlimits
,ylimits
,rasterSize
)rasterSize
.
allows the cell extents to be set precisely. If necessary,
R
= maprefcells(xlimits
,ylimits
,xcellextent
,ycellextent
)maprefcells
adjusts the limits of the raster slightly to
ensure an integer number of cells in each dimension.
allows the directions of the columns and rows to be specified via name-value
pairs.R
= maprefcells(xlimits
,ylimits
,___,Name,Value
)
Examples
Input Arguments
Output Arguments
Tips
To construct a map raster reference object from a world file matrix, use the
maprasterref
function.
Version History
Introduced in R2015b