oam-dynamic-tiler
oam-dynamic-tiler copied to clipboard
Normalize data types before compositing
Related to #25, if sources are composited and they have different data types, all hell will break loose.
This is a side effect of thinking about sources as "images" when it's possible that they have a variety of bands (not just 3 or 4) and data types. It probably makes sense to normalize into "image" form, though keeping them as data and targeting bands would facilitate band math done outside GDAL (though with the ability to define Python functions in a VRT, that's probably ok).