Reference raster postings to geographic coordinates
A geographic postings raster reference object encapsulates the relationship between a geographic coordinate system and a system of intrinsic coordinates anchored to the columns and rows of a 2-D spatially referenced grid of point samples (or “postings”).
The raster must be sampled regularly in latitude and longitude, and its columns and rows must be aligned with meridians and parallels, respectively. For more information about coordinate systems, see Intrinsic Coordinate System.
You can use any of the following functions to create a
GeographicPostingsReference
object to reference a regular raster
of posted samples to geographic coordinates.
georefpostings
— Create a
geographic raster reference object.
georasterref
— Convert a
world file to a geographic raster reference object.
refmatToGeoRasterReference
—
Convert a referencing matrix to a geographic raster reference object.
For example, to construct a geographic raster reference object with default property settings, use this command:
R = georefpostings()
R = GeographicPostingsReference with properties: LatitudeLimits: [0.5 1.5] LongitudeLimits: [0.5 1.5] RasterSize: [2 2] RasterInterpretation: 'postings' ColumnsStartFrom: 'south' RowsStartFrom: 'west' SampleSpacingInLatitude: 1 SampleSpacingInLongitude: 1 RasterExtentInLatitude: 1 RasterExtentInLongitude: 1 XIntrinsicLimits: [1 2] YIntrinsicLimits: [1 2] CoordinateSystemType: 'geographic' AngleUnit: 'degree'
contains | Determine if geographic or map raster contains points |
geographicToDiscrete | Transform geographic to discrete coordinates |
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 |