[mapserver-commits] r12036 - branches/branch-6-0/docs/en/mapscript branches/branch-6-0/docs/en/mapscript/php trunk/docs/en/mapscript trunk/docs/en/mapscript/php

svn at osgeo.org svn at osgeo.org
Wed Aug 10 17:39:08 EDT 2011


Author: havatv
Date: 2011-08-10 14:39:07 -0700 (Wed, 10 Aug 2011)
New Revision: 12036

Modified:
   branches/branch-6-0/docs/en/mapscript/mapscript.txt
   branches/branch-6-0/docs/en/mapscript/php/index.txt
   trunk/docs/en/mapscript/mapscript.txt
   trunk/docs/en/mapscript/php/index.txt
Log:
Added getresultsbounds to the mapscript documentation (#2967). php and swig.

Modified: branches/branch-6-0/docs/en/mapscript/mapscript.txt
===================================================================
--- branches/branch-6-0/docs/en/mapscript/mapscript.txt	2011-08-10 10:50:24 UTC (rev 12035)
+++ branches/branch-6-0/docs/en/mapscript/mapscript.txt	2011-08-10 21:39:07 UTC (rev 12036)
@@ -1099,6 +1099,9 @@
     Returns a reference to layer's result cache.  Should be NULL prior to
     any query, or after a failed query or query with no results.
 
+getResultsBounds() : rectObj_
+    Returns the bounds of the features in the result cache.
+
 getShape( shapeObj_ shape, int tileindex, int shapeindex ) : int
     Get a shape from layer data.
 

Modified: branches/branch-6-0/docs/en/mapscript/php/index.txt
===================================================================
--- branches/branch-6-0/docs/en/mapscript/php/index.txt	2011-08-10 10:50:24 UTC (rev 12035)
+++ branches/branch-6-0/docs/en/mapscript/php/index.txt	2011-08-10 21:39:07 UTC (rev 12036)
@@ -922,13 +922,16 @@
       setWKTProjection requires GDAL support
 
 int getNumResults()
-    Returns the number of results from this layer in the last query.
+    Returns the number of results in the last query.
 
 resultObj getResult(int index)
     Returns a resultObj by index from a layer object with 
     index in the range 0 to numresults-1.  
     Returns a valid object or FALSE(0) if index is invalid.
 
+rectObj getResultsBounds()
+    Returns the bounding box of the latest result.
+
 int open()
     Open the layer for use with getShape().  
     Returns MS_SUCCESS/MS_FAILURE.

Modified: trunk/docs/en/mapscript/mapscript.txt
===================================================================
--- trunk/docs/en/mapscript/mapscript.txt	2011-08-10 10:50:24 UTC (rev 12035)
+++ trunk/docs/en/mapscript/mapscript.txt	2011-08-10 21:39:07 UTC (rev 12036)
@@ -1099,6 +1099,9 @@
     Returns a reference to layer's result cache.  Should be NULL prior to
     any query, or after a failed query or query with no results.
 
+getResultsBounds() : rectObj_
+    Returns the bounds of the features in the result cache.
+
 getShape( shapeObj_ shape, int tileindex, int shapeindex ) : int
     Get a shape from layer data.
 

Modified: trunk/docs/en/mapscript/php/index.txt
===================================================================
--- trunk/docs/en/mapscript/php/index.txt	2011-08-10 10:50:24 UTC (rev 12035)
+++ trunk/docs/en/mapscript/php/index.txt	2011-08-10 21:39:07 UTC (rev 12036)
@@ -922,13 +922,16 @@
       setWKTProjection requires GDAL support
 
 int getNumResults()
-    Returns the number of results from this layer in the last query.
+    Returns the number of results in the last query.
 
 resultObj getResult(int index)
     Returns a resultObj by index from a layer object with 
     index in the range 0 to numresults-1.  
     Returns a valid object or FALSE(0) if index is invalid.
 
+rectObj getResultsBounds()
+    Returns the bounding box of the latest result.
+
 int open()
     Open the layer for use with getShape().  
     Returns MS_SUCCESS/MS_FAILURE.



More information about the mapserver-commits mailing list