[mapserver-commits] r12034 - 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 06:39:55 EDT 2011


Author: havatv
Date: 2011-08-10 03:39:55 -0700 (Wed, 10 Aug 2011)
New Revision: 12034

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 simplify and topologyPreservingSimplify to the mapscript documentation (#2753). For PHP, return values were changed to shapeObj.

Modified: branches/branch-6-0/docs/en/mapscript/mapscript.txt
===================================================================
--- branches/branch-6-0/docs/en/mapscript/mapscript.txt	2011-08-10 09:34:47 UTC (rev 12033)
+++ branches/branch-6-0/docs/en/mapscript/mapscript.txt	2011-08-10 10:39:55 UTC (rev 12034)
@@ -2582,10 +2582,18 @@
 setValue( int i, string value ) : int
     Set the shape value at index *i* to *value*.
 
+simplify( double tolerance ): shapeObj
+    Given a tolerance, returns a simplified shape object using
+    the GEOS library (>3.3.0) or NULL on error.
+
 symDifference( shapeObj shape ) : shapeObj
     Returns the computed symmetric difference of the supplied and existing
     shape. Requires GEOS support. Returns NULL/undef on failure.
 
+topologySimplifyPreservingSimplify( double tolerance ): shapeObj
+    Given a tolerance, returns a simplified shape object using
+    the GEOS library (>3.3.0) or NULL on error.
+
 touches( shapeObj shape2 ) : int
     Returns MS_TRUE if the shape and shape2 touch. Returns -1 on error and
     MS_FALSE otherwise. Requires GEOS support.

Modified: branches/branch-6-0/docs/en/mapscript/php/index.txt
===================================================================
--- branches/branch-6-0/docs/en/mapscript/php/index.txt	2011-08-10 09:34:47 UTC (rev 12033)
+++ branches/branch-6-0/docs/en/mapscript/php/index.txt	2011-08-10 10:39:55 UTC (rev 12034)
@@ -2348,11 +2348,11 @@
     Must be called to calculate new bounding box after new parts have been
     added.
 
-int simplify(double tolerance)
+shapeObj simplify(double tolerance)
     Given a tolerance, returns a simplified shape object using 
     underlying GEOS library or NULL on error.
 
-int topologySimplifyPreservingSimplify(double tolerance)
+shapeObj topologySimplifyPreservingSimplify(double tolerance)
     Given a tolerance, returns a simplified shape object using 
     underlying GEOS library or NULL on error.
 

Modified: trunk/docs/en/mapscript/mapscript.txt
===================================================================
--- trunk/docs/en/mapscript/mapscript.txt	2011-08-10 09:34:47 UTC (rev 12033)
+++ trunk/docs/en/mapscript/mapscript.txt	2011-08-10 10:39:55 UTC (rev 12034)
@@ -2582,10 +2582,18 @@
 setValue( int i, string value ) : int
     Set the shape value at index *i* to *value*.
 
+simplify( double tolerance ): shapeObj
+    Given a tolerance, returns a simplified shape object using
+    the GEOS library (>3.3.0) or NULL on error.
+
 symDifference( shapeObj shape ) : shapeObj
     Returns the computed symmetric difference of the supplied and existing
     shape. Requires GEOS support. Returns NULL/undef on failure.
 
+topologySimplifyPreservingSimplify( double tolerance ): shapeObj
+    Given a tolerance, returns a simplified shape object using
+    the GEOS library (>3.3.0) or NULL on error.
+
 touches( shapeObj shape2 ) : int
     Returns MS_TRUE if the shape and shape2 touch. Returns -1 on error and
     MS_FALSE otherwise. Requires GEOS support.

Modified: trunk/docs/en/mapscript/php/index.txt
===================================================================
--- trunk/docs/en/mapscript/php/index.txt	2011-08-10 09:34:47 UTC (rev 12033)
+++ trunk/docs/en/mapscript/php/index.txt	2011-08-10 10:39:55 UTC (rev 12034)
@@ -2348,11 +2348,11 @@
     Must be called to calculate new bounding box after new parts have been
     added.
 
-int simplify(double tolerance)
+shapeObj simplify(double tolerance)
     Given a tolerance, returns a simplified shape object using 
     underlying GEOS library or NULL on error.
 
-int topologySimplifyPreservingSimplify(double tolerance)
+shapeObj topologySimplifyPreservingSimplify(double tolerance)
     Given a tolerance, returns a simplified shape object using 
     underlying GEOS library or NULL on error.
 



More information about the mapserver-commits mailing list