I have a raster dataset with 5 bands. 4 of the bands are 8bit unsigned and the 5th band is 32bit floating point. I need to clip the dataset into tiles using GDAL (I’m using gdalwarp with a cutline from a tile index shapefile).
I typically use gdalwarp -ot BYTE...
to specify the output type, but in this case not all bands are the same. Is it possible to specify multiple output types? For instance, could I do gdalwarp -ot BYTE BYTE BYTE BYTE FLOAT32...
?