From: Bborie Park Date: Wed, 15 Jun 2011 15:43:51 +0000 (+0000) Subject: Changed band pixel types to 64BF instead of 32BF so that the warning messages for... X-Git-Tag: 2.0.0alpha1~1423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8429d06e820a831bcc37516233c5dda485240ed5;p=postgis Changed band pixel types to 64BF instead of 32BF so that the warning messages for data getting converted are mitigated. git-svn-id: http://svn.osgeo.org/postgis/trunk@7400 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/test/core/testapi.c b/raster/test/core/testapi.c index 3ec729a9f..bc16aa696 100644 --- a/raster/test/core/testapi.c +++ b/raster/test/core/testapi.c @@ -1306,7 +1306,7 @@ static void testRasterToGDAL() { raster = rt_raster_new(xmax, ymax); assert(raster); /* or we're out of virtual memory */ - band = addBand(raster, PT_32BF, 0, 0); + band = addBand(raster, PT_64BF, 0, 0); CHECK(band); rt_band_set_nodata(band, 0); @@ -1356,7 +1356,7 @@ static void testValueCount() { raster = rt_raster_new(xmax, ymax); assert(raster); /* or we're out of virtual memory */ - band = addBand(raster, PT_32BF, 0, 0); + band = addBand(raster, PT_64BF, 0, 0); CHECK(band); rt_band_set_nodata(band, 0); @@ -1415,7 +1415,7 @@ static void testGDALToRaster() { raster = rt_raster_new(xmax, ymax); assert(raster); /* or we're out of virtual memory */ - band = addBand(raster, PT_32BF, 0, 0); + band = addBand(raster, PT_64BF, 0, 0); CHECK(band); rt_band_set_nodata(band, 0); @@ -1476,7 +1476,7 @@ static void testTransform() { raster = rt_raster_new(xmax, ymax); assert(raster); /* or we're out of virtual memory */ - band = addBand(raster, PT_32BF, 0, 0); + band = addBand(raster, PT_64BF, 0, 0); CHECK(band); rt_band_set_nodata(band, 0);