maprasterref
(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 options using name-value arguments.R
= maprasterref(Name,Value
)
Examples
Input 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 propertyTransformationType
to'rectilinear'
. If your raster is rotated with respect to the world system, set theTransformationType
property to'affine'
by specifying a world matrix or by using themaprefcells
ormaprefpostings
function instead.