refmatToMapRasterReference
Convert referencing matrix to map raster reference object
Syntax
Description
Create Reference Object
converts the referencing matrix R
= refmatToMapRasterReference(refmat
,rasterSize
)refmat
into a reference object for a
raster of cells referenced to planar coordinates, using the raster size
rasterSize
.
specifies the geometric nature of the raster. When the raster contains posting point
samples referenced to planar coordinates, specify
R
= refmatToMapRasterReference(refmat
,rasterSize
,rasterInterpretation
)rasterInterpretation
as "postings"
. The default
for rasterInterpretation
is "cells"
, which
specifies a raster of cells.
Note
Instead of converting a referencing matrix to a reference object, you can create a reference object directly.
Create a reference object for a raster of cells referenced to planar coordinates by using the
maprefcells
function.Create a reference object for a raster of posting points referenced to planar coordinates by using the
maprefpostings
function.
Validate Inputs
,
when R
= refmatToMapRasterReference(___,funcName
)refmat
or rasterSize
is invalid, includes
the specified function name in generated error identifiers. This syntax uses any
combination of input arguments from previous syntaxes, and is useful when you want to both
validate and convert a referencing matrix. For more information about validating inputs,
see the validateattributes
function.
verifies that the R
= refmatToMapRasterReference(Rin
,rasterSize
,___)RasterSize
property of the map raster reference
object Rin
matches rasterSize
, and then returns
Rin
in R
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2011a