Impact 2024: The Industrial Data and AI Conference for and by Users | Nominate Speakers Now for a Ch...
I’m trying to upload a raster file to cdf, but I get this error message when trying to create the feature type. cognite.client.exceptions.CogniteAPIError: RASTER properties only support embedded storage. | code: 400 | X-Request-ID: 21781349-8ad8-9710-abdb-7c7199a268e7raster_ft = FeatureType( external_id="Raster_ft", data_set_id=1, properties={ "raster": {"type": "RASTER"} })client.geospatial.create_feature_types(raster_ft) # gives error messageIs this the right method to upload a raster to cdf? I found a method put_raster() in the docs, but it seems to require feature and feature type to be created already. The rest of my code: # create raster featurefeature = Feature( external_id=f'raster.test', data_set_id=1, raster=open(raster_filepath) # What do I put here?)client.geospatial.create_features(feature_type_external_id='Raster_ft', feature=feature)# looks like I need the feature with the raster property, do I need this function?client.geospatial.put_raste
Hi.We’re looking at how to work with larger geographic areas - inflow catchments for our hydropower reservoirs. The smallest one being a polygon with 3119 coordinates. Trying to create these catchments as assets with geolocation fails, due to the size limit on the GeoLocation field. Error message: “Maximum size of GeoLocation field is 10240.”I assume this means that the preferred approach is to use GeoSpatial, rather than assets with a geolocation field? If so, is the assetIds property the preferred way to connect GeoSpatial objects to assets? And is there a simple way to retrieve the shape of an asset using the Python SDK? (something equivalent to using asset.geolocation?) Also; Any plans for showing geolocation ar geospatial information in the Fusion UI?
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.