[mapserver-commits] r12931 - trunk/docs/en/mapscript

svn at osgeo.org svn at osgeo.org
Thu Dec 29 03:49:11 EST 2011


Author: unicoletti
Date: 2011-12-29 00:49:11 -0800 (Thu, 29 Dec 2011)
New Revision: 12931

Modified:
   trunk/docs/en/mapscript/mapscript.txt
Log:
Documented mapscript query API changes introduced in 6.0 (#4139)

Modified: trunk/docs/en/mapscript/mapscript.txt
===================================================================
--- trunk/docs/en/mapscript/mapscript.txt	2011-12-29 08:36:19 UTC (rev 12930)
+++ trunk/docs/en/mapscript/mapscript.txt	2011-12-29 08:49:11 UTC (rev 12931)
@@ -1140,6 +1140,8 @@
 getFeature( int shapeindex [, int tileindex=-1 ] ) : shapeObj_
     Return the layer feature at *shapeindex* and *tileindex*.
 
+    .. note:: getFeature has been removed as of version 6.0 and replaced by getShape
+
 getFilterString() : string
     Returns the current filter expression. 
 
@@ -1183,11 +1185,6 @@
 getNumResults() : int
     Returns the number of entries in the query result cache for this layer.
 
-    .. note:: getNumResults() and getResult() are deprecated in
-       MapServer 4.4.  Users should instead use the new querying API
-       described in querying-HOWTO.txt.  layerObj::getResults() is the
-       entry point for the new API.
-
 getProcessing( int index) : string
     Return the raster processing directive at *index*.
     
@@ -1199,11 +1196,6 @@
     outside the range of available results.  This method would normally only
     be used after issuing a query operation.
 
-    .. note:: getNumResults() and getResult() are deprecated in
-       MapServer 4.4.  Users should instead use the new querying API
-       described in querying-HOWTO.txt.  layerObj::getResults() is the
-       entry point for the new API.
-
 getResults() : resultCacheObj_
     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.
@@ -1211,12 +1203,9 @@
 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.
+getShape( resultCacheMemberObj_ result ) : int
+    Get a shape from layer data. Argument is a result cache member from layerObj::getResult(i)
 
-    .. note:: getShape() is deprecated.  Users should adopt
-       getFeature() for new applications.
-          
 getWMSFeatureInfoURL( mapObj_ map, int click_x, int click_y, int feature_count, string info_format ) : string
     Return a WMS GetFeatureInfo URL (works only for WMS layers)
     clickX, clickY is the location of to query in pixel coordinates



More information about the mapserver-commits mailing list