Get coordinate reference systems

async AsyncCogniteClient.geospatial.get_coordinate_reference_systems(
srids: int | Sequence[int],
) → CoordinateReferenceSystemList

Get Coordinate Reference Systems.

Deprecated since version 8.23.0: The Geospatial API is deprecated and is scheduled for removal on 2027-12-31. There is no replacement in the data modeling service; plan to stop using it. See https://docs.cognite.com/cdf/deprecated for details and migration guidance.

Parameters:

srids (int | Sequence[int]) – (Union[int, Sequence[int]]): SRID or list of SRIDs

Returns:

Requested CRSs.

Return type:

CoordinateReferenceSystemList

Examples

Get two CRS definitions:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> crs = client.geospatial.get_coordinate_reference_systems(srids=[4326, 4327])