appelmar / gdalcubes_cpp

Earth observation data cubes from GDAL image collections
MIT License
74 stars 7 forks source link

Remove Aggregation and Resampling from Data Cube View #27

Open appelmar opened 5 years ago

appelmar commented 5 years ago

Currently, aggregation and resampling methods are part of the data cube view. This has the following disadvantages:

  1. Methods cannot be specified per band.
  2. Reusing data cube views for different datasets might be limited if both datasets require different methods.

It would be much cleaner to define aggregation and resampling methods as parameters to the image_collection_cube class. The data cube view definition should be completely independent from particular datasets.