Impact 2024: The Industrial Data and AI Conference for and by Users | Nominate Speakers Now for a Ch...
Hi Kristian, thanks for asking! Seems that the relation parameter is case sensitive, can you please try relation=“WITHIN”? Supported keywords are INTERSECTS, DISJOINT and WITHIN.
It may not be documented, but the featuretype needs “storage”: “embedded”:client.geospatial.create_feature_types( FeatureType( external_id="raster_ft", properties={ "raster": {"srid": 4326, "type": "RASTER", "storage": "embedded", "optional": True}, "fileExtId": {"type": "STRING", "size": 256, "optional": True}, }, search_spec={"rasterIdx": {"properties": ["raster"]}}, ) )Then you can ingest like this: def ingest_raster_files(ft, spec): print(f"ingesting {spec} into {ft}") features = [ Feature(external_id=it["externalId"], file=it["file"], tag=it["tag"]) for it in spec ] client.geospatial.create_features(ft, features) for f in features: print(f) client.geospatial.put_raster( feature_type_external_id=ft, feature_external_id=f.external_id, raster_prope
@Marius just circling back to this: Also, the file with the query should perhaps have the 'sparql' or 'rq' extension, since it isn't ANSI SQL? This causes some editors to show that these files contains errors. From what I can gather, both sparql and rq belong to the data modeling domain, not Apache Spark-type SQL, are you sure that’s what you meant?
Hi @Ben Petree , thanks for pointing this out.Cognite Data Fusion Toolkit is the official name, but it is ok to refer to it as CDF Toolkit or just “the Toolkit” if it makes sense in context. We are removing “templates” from the name and try to follow this pattern:In documentation and community: Use full name. The Hub Group Name should be Cognite Data Fusion Toolkit. @Anita Hæhre , can you please rename it?In source code and packet distribution: Use “toolkit”The GitHub repo has been renamed to https://github.com/cognitedata/toolkit to be more accurate PyPi: we’re following the de-facto naming convention for Cognite packages on pypi.org and don’t want to deviate from it (see https://pypi.org/search/?q=cognite). So the package name stays “cognite-toolkit”.In command-line: CLI usability dictates simplicity and convenience. We like cdf-tk too. It is a convenient shorthand for the full name.
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.