GeographicCellsReference
Reference raster cells to geographic coordinates
Description
For a 2-D raster of cells, a GeographicCellsReference object
describes the relationship between the intrinsic coordinate system for the raster and a geographic coordinate
system. The object associates each element of the raster with a location in geographic
coordinates.
A GeographicCellsReference object assumes that the associated raster
is sampled regularly in latitude and longitude, and that the rows and columns of the
raster align with meridians and parallels, respectively. The sample spacing from row to
row does not need to equal the sample spacing from column to column.
This image illustrates a 8-by-10 raster of cells in geographic coordinates. The raster cells have an extent of 1 degree in latitude and longitude, cover longitude values in the range [40,50] in degrees, and cover latitude values in the range [20,28] in degrees. The boundary of the raster of cells is made up of the outermost boundaries of the outermost cells.

To reference a raster of postings to geographic coordinates, use a GeographicPostingsReference object instead.
Creation
You can use these functions to create GeographicCellsReference
objects:
readgeoraster— Import a raster data file as an array and a reference object.wmsread— Import a raster map from a Web Map Service (WMS) server as an array and a reference object.georefcells— Create a geographic raster reference object by specifying the latitude and longitude limits of the raster and either the size of the raster or the extent of the cells.georasterref— Convert a world file to a geographic raster reference object.refmatToGeoRasterReference— Convert a referencing matrix to a geographic raster reference object.refvecToGeoRasterReference— Convert a referencing vector to a geographic raster reference object.
Properties
Object Functions
contains | Determine if geographic or map raster contains points |
cropToBlock | Crop raster reference object to row and column limits of raster |
geographicGrid | Geographic coordinates of raster elements |
geographicToDiscrete | Convert geographic coordinates to discrete subscripts |
geographicToIntrinsic | Transform geographic to intrinsic coordinates |
intrinsicToGeographic | Transform intrinsic to geographic coordinates |
intrinsicXToLongitude | Convert from intrinsic x to longitude coordinates |
intrinsicYToLatitude | Convert from intrinsic y to latitude coordinates |
latitudeToIntrinsicY | Convert from latitude to intrinsic y coordinates |
longitudeToIntrinsicX | Convert from longitude to intrinsic x coordinates |
sizesMatch | Determine if geographic or map raster object and image or raster are size-compatible |
worldFileMatrix | Return world file parameters for transformation |
Examples
More About
Version History
Introduced in R2013b
