Open VincentVerelst opened 6 months ago
This is not as straightforward as hoped, as some vector cubes details are not settled yet. But maybe there are some quick wins already possible without having to over-engineer a general solution, so:
what do you want to use the metadata for? Any particular fields, e.g. you just want the band names?
Yes, having the band names would be the most important.
I would say aggregate_spatial preserves band names when going from raster to vector, so can we just copy that part of the metadata? Maybe @VincentVerelst can prepare a PR for that?
After applying
aggregate_spatial
to a Rastercube, the resulting Vectorcube does not contain any metadata anymore.