[mapserver-commits] r10027 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Mar 29 17:23:45 EDT 2010
Author: warmerdam
Date: 2010-03-29 17:23:45 -0400 (Mon, 29 Mar 2010)
New Revision: 10027
Modified:
trunk/mapserver/mapresample.c
Log:
improve debug message about LOAD_WHOLE_IMAGE
Modified: trunk/mapserver/mapresample.c
===================================================================
--- trunk/mapserver/mapresample.c 2010-03-29 14:15:01 UTC (rev 10026)
+++ trunk/mapserver/mapresample.c 2010-03-29 21:23:45 UTC (rev 10027)
@@ -1471,8 +1471,14 @@
if( !bSuccess )
{
if( layer->debug )
- msDebug( "msTransformMapToSource(): "
- "pj_transform() failed. Out of bounds? Loading whole image.\n" );
+ {
+ if( CSLFetchBoolean( layer->processing, "LOAD_WHOLE_IMAGE", FALSE ))
+ msDebug( "msResampleGDALToMap(): "
+ "LOAD_WHOLE_IMAGE set, loading whole image.\n" );
+ else
+ msDebug( "msTransformMapToSource(): "
+ "pj_transform() failed. Out of bounds? Loading whole image.\n" );
+ }
sSrcExtent.minx = 0;
sSrcExtent.maxx = nSrcXSize;
More information about the mapserver-commits
mailing list