# Vector data cubes

**URL:** <https://discourse.pangeo.io/t/vector-data-cubes/2904>\
**Category:** Uncategorized\
**Created:** [November 4, 2022, 9:30pm UTC](https://discourse.pangeo.io/t/vector-data-cubes/2904 "2022-11-04T21:30:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![rabernat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rabernat/32/22_2.png) [@rabernat](https://discourse.pangeo.io/u/rabernat)\
**Post date:** [November 5, 2022, 8:13pm UTC](https://discourse.pangeo.io/t/vector-data-cubes/2904/6 "2022-11-05T20:13:20Z")

</div>

When I first heard “Vector Data Cube”, I thought of something different.

In [Conservative Region Aggregation with Xarray, Geopandas and Sparse](https://discourse.pangeo.io/t/conservative-region-aggregation-with-xarray-geopandas-and-sparse/2715) I had a slightly different use case. I wanted a 2D array where each _value_ was a vector polygon (GCM grid cell), and I wanted to intersect these with another set of geometries. Because Xarray does not implement vectorized overlay (like geopandas), I had to convert the dataarray to a multiindexed geodataframe.

I’m wondering if there are things we could do to support both workflows. But I don’t want to hijack the thread…

---

_[View the full topic](https://discourse.pangeo.io/t/vector-data-cubes/2904)._
