[postgis-devel] [wktraster] Core tests failure for r5841

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Tue Aug 31 13:14:23 PDT 2010


>From thoses two lines in the rt_addband.sql file:

SELECT St_Value(ST_AddBand(ST_MakeEmptyRaster(1000, 1000, 10, 10, 2, 2, 0, 0, -1), 1, '16BSI', -32769, NULL), 3, 3);

and further:

SELECT St_Value(ST_AddBand(ST_MakeEmptyRaster(1000, 1000, 10, 10, 2, 2, 0, 0, -1), 1, '16BSI', 210000.46, NULL), 3, 3);

Pierre

>-----Original Message-----
>From: postgis-devel-bounces at postgis.refractions.net [mailto:postgis-devel-
>bounces at postgis.refractions.net] On Behalf Of Mateusz Loskot
>Sent: 31 août 2010 13:14
>To: PostGIS Development Discussion
>Cc: Pierre Racine; =?UTF-8?B?Sm9yZ2UgQXLDqXY=?=@lists.refractions.net
>Subject: Re: [postgis-devel] [wktraster] Core tests failure for r5841
>
>On 24/08/10 13:48, Pierre Racine wrote:
>> Mateusz,
>>
>> Could you get your regression test to work?
>
>Pierre,
>
>Where does this expected value of -32768 come from in the following
>messages in the rt_addband_expected file?
>
>WARNING:  Initial pixel value for 16BSI band got truncated from
>-32769.000000 to -32768
>-32768
>
>WARNING:  Initial pixel value for 16BSI band got truncated from
>210000.460000 to -32768
>-32768
>
>Best regards,
>--
>Mateusz Loskot, http://mateusz.loskot.net
>_______________________________________________
>postgis-devel mailing list
>postgis-devel at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list