We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7733e commit 5864c8bCopy full SHA for 5864c8b
openeo_driver/datacube.py
@@ -218,7 +218,6 @@ class DriverVectorCube:
218
DIM_GEOMETRIES = "geometries"
219
DIM_BANDS = "bands"
220
DIM_PROPERTIES = "properties"
221
- FLATTEN_PREFIX = "vc"
222
COLUMN_SELECTION_ALL = "all"
223
COLUMN_SELECTION_NUMERICAL = "numerical"
224
@@ -414,7 +413,8 @@ def _as_geopandas_df(
414
413
# TODO: avoid column collisions?
415
df[name] = stacked.sel(prop=p)
416
else:
417
- df[flatten_prefix or self.FLATTEN_PREFIX] = self._cube
+ # TODO: better fallback column/property name in this case?
+ df[flatten_prefix or "_vc"] = self._cube
418
419
return df
420
0 commit comments