xrspatial.zonal.get_full_extent#
- xrspatial.zonal.get_full_extent(crs)[source]#
Returns the full extent of a map projection, available projections are ‘Mercator’ and ‘Geographic’.
- Parameters
crs (str) – Input projection.
- Returns
extent – Projection extent of form ((min_x, max_x), (min_y, max_y)).
- Return type
tuple
Examples
>>> from xrspatial.zonal import get_full_extent >>> extent = get_full_extent('Mercator') >>> print(extent) ((-20000000.0, 20000000.0), (-20000000.0, 20000000.0))