[mapserver-commits] r7250 - trunk/mapserver/mapscript/php3

svn at osgeo.org svn at osgeo.org
Tue Jan 8 09:59:04 EST 2008


Author: Assefa
Date: 2008-01-08 09:59:03 -0500 (Tue, 08 Jan 2008)
New Revision: 7250

Modified:
   trunk/mapserver/mapscript/php3/README
   trunk/mapserver/mapscript/php3/php_mapscript.c
Log:
on a shape object union_geos function should be called union

Modified: trunk/mapserver/mapscript/php3/README
===================================================================
--- trunk/mapserver/mapscript/php3/README	2008-01-07 15:43:27 UTC (rev 7249)
+++ trunk/mapserver/mapscript/php3/README	2008-01-08 14:59:03 UTC (rev 7250)
@@ -1344,8 +1344,13 @@
         Only available if php/mapscript is built with GEOS 
         library.
 
+   shapeobj union(shapeobj shape)
+        Returns a shape object representing the union of the shape object 
+        with the one passed as parameter. 
+        Only available if php/mapscript is built with GEOS 
+        library
 
-   shapeobj union_geos(shapeobj shape)
+   shapeobj union_geos(shapeobj shape) : (Deprecated in v5.2. Use union instead)
         Returns a shape object representing the union of the shape object 
         with the one passed as parameter. 
         Only available if php/mapscript is built with GEOS 

Modified: trunk/mapserver/mapscript/php3/php_mapscript.c
===================================================================
--- trunk/mapserver/mapscript/php3/php_mapscript.c	2008-01-07 15:43:27 UTC (rev 7249)
+++ trunk/mapserver/mapscript/php3/php_mapscript.c	2008-01-08 14:59:03 UTC (rev 7250)
@@ -851,6 +851,7 @@
     {"boundary",        php3_ms_shape_boundary,         NULL},
     {"containsshape",   php3_ms_shape_contains_geos,    NULL},
     {"union_geos",      php3_ms_shape_Union,            NULL},
+    {"union",           php3_ms_shape_Union,            NULL},
     {"intersection",    php3_ms_shape_intersection,     NULL},
     {"difference",      php3_ms_shape_difference,       NULL},
     {"symdifference",   php3_ms_shape_symdifference,    NULL},



More information about the mapserver-commits mailing list