Re: WarpedVRT and mixed data types

Even Rouault

In the second case I am surprised that the same exception is not raised. It may be because GDALCreateWarpedVRT (called by rasterio's WarpedVRT constructor) makes a mistake in determining the data types of the source bands and assigns "int32" to all of them.

The warping kernel only supports one single working data type for all bands. TheĀ  GDALWarpResolveWorkingDataType() function

will select the "largest" data type from input bands.


My software is free, but my time generally not.

Join to automatically receive all group messages.