lair.geo.CRS.units#
- property CRS.units: str#
Get the units of the CRS.
The linear units, as rasterio names them:
'metre'for a projected CRS in meters,'unknown'for a geographic one (degrees).See also
lair.geo.gridcell_areaNeeds a geographic CRS or one in meters.
Examples
>>> from lair.geo import CRS >>> CRS("EPSG:3857").units 'metre'