refvecToGeoRasterReference
Convert referencing vector to geographic raster reference object
Syntax
Description
Create Reference Object
converts the referencing vector R = refvecToGeoRasterReference(refvec,rasterSize)refvec into a reference object for a
raster of cells referenced to geographic coordinates, using the raster size
rasterSize.
Note
Instead of converting a referencing vector to a reference object, you can create a reference object directly.
Create a reference object for a raster of cells referenced to geographic coordinates by using the
georefcellsfunction.Create a reference object for a raster of posting points referenced to geographic coordinates by using the
georefpostingsfunction.
Validate Inputs
,
when R = refvecToGeoRasterReference(___,funcName)refvec 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 vector. For more information about validating inputs,
see the validateattributes function.
verifies that the R = refvecToGeoRasterReference(Rin,rasterSize,___)RasterSize property of the geographic raster
reference object Rin matches rasterSize, and then
returns Rin in R.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2011a