geocrs
Geographic coordinate reference system object
Description
A geographic coordinate reference system (CRS) provides information that assigns latitude, longitude, and height coordinates to physical locations. Geographic CRSs consist of a datum, a prime meridian, and an angular unit of measurement.
Projected CRSs consist of a geographic CRS and several parameters that are used to
transform coordinates to and from the geographic CRS. For more information about projected
CRSs, see projcrs.
Creation
You can create a geographic CRS object in several ways:
Import raster data using functions such as
readgeorasterorwmsread, and then query theGeographicCRSproperty of the returned raster reference object.Import vector data by using the
readgeotablefunction, and then query theGeographicCRSproperty of the shape objects in the returned geospatial table.Get information about a shapefile using the
shapeinfofunction, and then query theCoordinateReferenceSystemfield of the returned structure.Access the geographic CRS of a projected CRS by querying the
GeographicCRSproperty of aprojcrsobject.Use the
geocrsfunction (described here).
Description
Input Arguments
Properties
Object Functions
Examples
Version History
Introduced in R2020b