stilt.spatial.is_longlat#

stilt.spatial.is_longlat(crs)[source]#

Return whether crs is geographic (longitude/latitude degrees).

This is the one test PYSTILT uses, for grids, meshes, and plots alike. PROJ strings are read by eye; other forms, such as EPSG:4326, by pyproj.

Return type:

bool

Parameters:

crs (str)