[mapserver-commits] r7786 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Jul 3 20:24:36 EDT 2008


Author: warmerdam
Date: 2008-07-03 20:24:36 -0400 (Thu, 03 Jul 2008)
New Revision: 7786

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/maprasterquery.c
Log:
set shape bounds for raster query results (#2679)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2008-07-03 23:47:28 UTC (rev 7785)
+++ trunk/mapserver/HISTORY.TXT	2008-07-04 00:24:36 UTC (rev 7786)
@@ -21,7 +21,9 @@
 
 - Fixed windows build problem (#2676)
 
+- Fix raster query bounds problem (#2679)
 
+
 Version 5.2.0-beta4 (2008-07-02):
 ---------------------------------
 

Modified: trunk/mapserver/maprasterquery.c
===================================================================
--- trunk/mapserver/maprasterquery.c	2008-07-03 23:47:28 UTC (rev 7785)
+++ trunk/mapserver/maprasterquery.c	2008-07-04 00:24:36 UTC (rev 7786)
@@ -1,5 +1,5 @@
 /******************************************************************************
- * $Id:$
+ * $Id$
  *
  * Project:  MapServer
  * Purpose:  Implementation of query operations on rasters. 
@@ -1168,6 +1168,7 @@
 #endif
 
         msAddLine( shape, &line );
+        msComputeBounds( shape );
     }
 
 /* -------------------------------------------------------------------- */



More information about the mapserver-commits mailing list