List feature types
- async AsyncCogniteClient.geospatial.list_feature_types() FeatureTypeList
-
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.
- Returns:
List of feature types
- Return type:
Examples
Iterate over feature type definitions:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> for feature_type in client.geospatial.list_feature_types(): ... feature_type # do something with the feature type definition