From: Bborie Park Date: Sat, 24 Dec 2011 15:52:08 +0000 (+0000) Subject: Testing the wrong variable when checking if two rasters is different. X-Git-Tag: 2.0.0alpha1~308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecc988561151ff72c227324f244e40564557540b;p=postgis Testing the wrong variable when checking if two rasters is different. git-svn-id: http://svn.osgeo.org/postgis/trunk@8567 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/loader/raster2pgsql.c b/raster/loader/raster2pgsql.c index 81d72a1e3..35c35e263 100644 --- a/raster/loader/raster2pgsql.c +++ b/raster/loader/raster2pgsql.c @@ -530,7 +530,7 @@ diff_rastinfo(RASTERINFO *x, RASTERINFO *ref) { /* tile size */ if (!msg[5]) { for (i = 0; i < 2; i++) { - if (FLT_NEQ(x->gt[i], ref->gt[i])) { + if (FLT_NEQ(x->tile_size[i], ref->tile_size[i])) { fprintf(stderr, _("WARNING: Different tile sizes found in the set of rasters being converted to PostGIS Raster\n")); msg[5]++; break;