AIFDR / riab

Risk in a Box - main project
Other
17 stars 6 forks source link

Ability to pull in linked (raster) datasets #178

Closed uniomni closed 12 years ago

uniomni commented 12 years ago

Sometimes multiple values are needed for each dataset. For vector data this is inherent as they contain multiple attributes. However, rasters are typically single band (and Risiko does not support multiband rasters anyway).

Use cases:

  1. Earthquake hazard is represented by a collection of raster datasets each containing ground acceleration at different frequencies.
  2. Population dataset is represented by a density per pixel and a percentage of females per pixel.

In either case, multiple raster layers must be made available to the plugins. One way of achieving this, is to equip layers with an optional keyword which points to linked datasets and have Risiko pull them in along with the main dataset and add them to the layer list which is passed into the plugins.

uniomni commented 12 years ago

This was finished in https://github.com/AIFDR/riab/commit/c76fffb128c65fb3482c065aa179b6fd1a593889 and tested in https://github.com/AIFDR/riab/commit/409f451fb19508c897ca575c20f9f12c7db019c5