Skip to content

VectorCube support #114

Open
Open

Description

@soxofaan

VectorCubes are one of the important new concepts at the moment.
Adding full support is probably going to take a couple of iterations, so this is probably going to be an epic/grouping ticket.

related/subtasks:

Activity

  1. added a commit that references this issue on Apr 20, 2022
  2. added 4 commits that reference this issue on Apr 20, 2022
  3. soxofaan commented on Apr 20, 2022

    @soxofaan
    MemberAuthor
    • implemented vector cube based aggregate_spatial (in python driver's DummyDataCube)
  4. added 5 commits that reference this issue on Apr 20, 2022
  5. added 2 commits that reference this issue on Oct 5, 2022
  6. 28 remaining items

  7. added 11 commits that reference this issue on Aug 4, 2023
  8. JeroenVerstraelen commented on Feb 2, 2024

    @JeroenVerstraelen
    Contributor

    As discussed, I think we would benefit in terms of future complexity if DriverVectorCube._geometries can be reduced to a gpd.GeoSeries instead of a gpd.GeoDataFrame. This means that DriverVectorCube._cube would have dimensions [geometry, time (optional), bands (optional)] and all property data is loaded in as separate bands.

    I would also argue to not allow a "properties" dimension in DriverVectorCube._cube, but to always refer to it as "bands".

  9. soxofaan commented on Feb 2, 2024

    @soxofaan
    MemberAuthor

    DriverVectorCube._geometries can be reduced to a gpd.GeoSeries instead of a gpd.GeoDataFrame

    FYI: using a GeoDataFrame in DriverVectorCube in addition to a DataArray for the "cube data" was/is intentional to separate geometry/feature properties from the cube data, based on initial brainstorming on vector cubes. Now there is some consensus to cast properties to the cube data to simplify things, but that might complicate other things as well: e.g. see

    This means that DriverVectorCube._cube would have dimensions [geometry, time (optional), bands (optional)] and all property data is loaded in as separate bands.

    note that DriverVectorCube._cube probably also still has to be nullable (e.g. value None) when there is no cube data. For example when loading a single GeoJSON Polygon with load_geojson. Related:

    I would also argue to not allow a "properties" dimension in DriverVectorCube._cube, but to always refer to it as "bands".

    Note that load_geojson at the moment explicitly specifies usage of the "properties" dimension of type "other":
    https://github.com/Open-EO/openeo-processes/blob/965bbaebd4d5984203a0437076c85a66a72a23e0/proposals/load_geojson.json#L21
    So we have to be careful when deciding to deviate from that current spec (e.g. first try to push for a different convention in the spec). Related:

  10. added a commit that references this issue on Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions