[Qgis-developer] Re: Raster providers

Radim Blazek radim.blazek at gmail.com
Mon Jan 17 11:34:22 EST 2011


On Mon, Jan 17, 2011 at 10:06 AM, Marco Hugentobler
<marco.hugentobler at sourcepole.ch> > Using NaN sounds like a good idea
and Qt has platform independent support for
> it (qIsNan & co.).
> All other solutions I can think of seem to be more complicated (e.g. force a
> transparency value only if raster is reprojected).
>
>>float + NaN for byte/int?
>
> This is not clear to me. Could you explain your approach for byte/int?

I thought that if data type of the source is integer the provider
could represent them as floating point. Byte can be represented as
integer. Bad solution however.

Radim


More information about the Qgis-developer mailing list