phpmapscript geos integration (buffer)

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Wed Feb 22 11:28:19 EST 2006


Hi There,

   The feature should be available in 4.8.1. I just did a test with the 
4.8.1 using the exact script in the bug and It works. If you are willing 
to, you can send me your script/map/data and I can test it here.

Later,

Nicol Hermann wrote:
> Hi List,
> 
> i tried the geos buffer integration with the script posted by Assefa in
> bug 1327 (#2) (http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1327).
> It runs fine with the current cvs version of mapserver but crashes with
> the current stable release 4.8.1
> 
> Fatal error: Object expected as argument.
> in /home/nicol/public_html/mapserver/dev/tmpsym/geosbuffer.php on line
> 38
> 
> Is this feature implemented in the 4.8.1 release? According to the
> README file (mapscript/php3) which comes with the release is should be.
> 
> shapeobj buffer(width)
>    Returns a shape object that has a buffer around the current
>    shape object. Only available if php/mapscript is built with GEOS
>    library.
> 
> Any hints how to use the method with the 4.8.1 release?
> Many thanks 
> Nicol


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list