]> granicus.if.org Git - postgis/commitdiff
Changed band pixel types to 64BF instead of 32BF so that the warning messages for...
authorBborie Park <bkpark at ucdavis.edu>
Wed, 15 Jun 2011 15:43:51 +0000 (15:43 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Wed, 15 Jun 2011 15:43:51 +0000 (15:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7400 b70326c6-7e19-0410-871a-916f4a2858ee

raster/test/core/testapi.c

index 3ec729a9f8e56e0dd5d3983cd0bcab5531a7e134..bc16aa696e58bf4172295ef711cf1bde03e7607f 100644 (file)
@@ -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);