[postgis-devel] [wktraster] Core tests failure for r5841
Mateusz Loskot
mateusz at loskot.net
Thu Jan 13 09:27:54 PST 2011
On 13/01/11 17:08, Pierre Racine wrote:
>> But SHRT_MIN and SHRT_MAX can be real values for pixels. What
>> about storing NODATA in those cases, like Mateusz suggested?
>
> There must be a confusion here as where the problem occurs. It is
> in:
>
> st_addband(rast raster, index int, pixeltype text, initialvalue
> float8, nodataval float8)
Pierre,
This is one of number of places where the problem exists.
Others are rt_band_set_pixel, rt_band_set_nodata, and generally
in any place where double is implicitly or explicitly squeezed in
integral types.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
More information about the postgis-devel
mailing list