List coordinate reference systems
- async AsyncCogniteClient.geospatial.list_coordinate_reference_systems(
- only_custom: bool = False,
List 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:
only_custom (bool) – list only custom CRSs or not
- Returns:
list of CRSs.
- Return type:
Examples
Fetch all custom CRSs:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> crs = client.geospatial.list_coordinate_reference_systems(only_custom=True)