GeographicPostingsReference
Reference raster postings to geographic coordinates
Description
For a 2-D raster of posting point samples, a
GeographicPostingsReference 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 GeographicPostingsReference 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 9-by-11 raster of postings in geographic coordinates. The postings are spaced 1 degree apart 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 postings is a geographic quadrangle with edges that pass through the outermost postings.

To reference a raster of cells to geographic coordinates, use a GeographicCellsReference object instead.
Creation
You can use these functions to create GeographicPostingsReference
objects:
readgeoraster— Import a raster data file as an array and a reference object.georefpostings— 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 spacing of the postings.georasterref— Convert a world file to a geographic raster reference object.refmatToGeoRasterReference— Convert a referencing matrix 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
