maprasterref
R2026b(Not recommended) Create map raster reference object
The maprasterref function is not recommended, except when creating a
raster reference object from a world file matrix. To specify options using name-value
arguments, use the maprefcells or maprefpostings function instead. For more information, see Version History.
Syntax
Description
creates a reference object for a raster of cells referenced to planar coordinates using the
world file matrix R = maprasterref(W,rasterSize)W and raster size
rasterSize.
specifies the geometric nature of the raster. When the raster contains posting point samples
referenced to planar coordinates, specify R = maprasterref(W,rasterSize,rasterInterpretation)rasterInterpretation as
"postings". The default for rasterInterpretation
is "cells", which specifies a raster of cells.
specifies properties of the reference object using one or more name-value arguments.R = maprasterref(Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
When you create a reference object by using the R =
maprasterref(Name,Value) syntax, the function assumes the raster has a rectilinear
relationship between the intrinsic and world systems and sets the read-only property
TransformationType to 'rectilinear'. If your raster
is rotated with respect to the world system, set the TransformationType
property to 'affine' by specifying a world matrix instead.