Does shapeobj->union exist in php-mapscript
samiazmi
samiazmi at GMAIL.COM
Fri Jan 4 22:55:01 PST 2008
Hi list,
I too am getting the same error, can you please tell me any solution for
this Union problem its giving the same error Call to undefined method
ms_shape_obj::Union()
How can we use union method in php? Please help, rest all methods like
intersection and others are working fine, but only union is giving problems.
Thanks in advance
Sami
Paul Moen-2 wrote:
>
> I get the following error.
>
> PHP Fatal error: Call to undefined method ms_shape_obj::Union()
>
> By doing the following.
>
> $wktshp1 = ms_shapeObjFromWkt($wkt1);
> $wktshp2 = ms_shapeObjFromWkt($wkt2);
>
> $newshp = $wktshp1->Union($wktshp2);
>
> PHP/Mapscript docs say.
> shapeobj Union(shapeobj shape)
> Returns a shape object representing the union of the current
> shape object with the one passed as parameter.
> Only available if php/mapscript is built with GEOS
> library.
>
> GEOS is built in.
> MapServer version 4.10.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS
> INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>
> Does union exist in PHP/Mapscript?
>
> Thanks,
>
> Paul
>
>
--
View this message in context: http://www.nabble.com/Does-shapeobj-%3Eunion-exist-in-php-mapscript-tp12779174p14630576.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list