geocrs
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
readgeoraster
orwmsread
, and then query theGeographicCRS
property of the returned raster reference object.Import vector data by using the
readgeotable
function, and then query theGeographicCRS
property of the shape objects in the returned geospatial table.Get information about a shapefile using the
shapeinfo
function, and then query theCoordinateReferenceSystem
field of the returned structure.Access the geographic CRS of a projected CRS by querying the
GeographicCRS
property of aprojcrs
object.Use the
geocrs
function (described here).
Description
Input Arguments
Properties
Object Functions
Examples
Version History
Introduced in R2020b