Re: [mapserver-users] Mapscript shapeObj-toWKt() or ms_shapeObjfromWkt problem.

2009-04-02 Thread Edmar Moretti
I had the same problem. The solution was to change the Mapserver, before compiling, to use the OGR instead of GEOS in the routine generation of WKT Moen, Paul T. escreveu: I changed my Geos to version 3.0.3 and the error changed from Segmentation fault to Bus error. I also looked at the

[mapserver-users] Mapscript shapeObj-toWKt() or ms_shapeObjfromWkt problem.

2009-04-01 Thread Moen, Paul T.
I get a segmentation fault when I run the following simple script with PHP MapScript on Mac OSX 10.5.6 running the latest versions from www.kyngchaos.com #!/usr/local/php5cgi/bin/php -q ?php dl('php_mapscript.so'); $newwkt = 'MULTIPOLYGON(((1207657 478875,1208230 478275,1207452

Re: [mapserver-users] Mapscript shapeObj-toWKt() or ms_shapeObjfromWkt problem.

2009-04-01 Thread Yewondwossen Assefa
Not helping here but I have tested your script on windows with Mapserver 5.2.2 and 5.4 and the script runs ok. The geos version used in this case is geos 2.2.3. Do you know what version of geos you are using? There was a recent fix done toward geos support in MapServer and the problem from

Re: [mapserver-users] Mapscript shapeObj-toWKt() or ms_shapeObjfromWkt problem.

2009-04-01 Thread Moen, Paul T.
I changed my Geos to version 3.0.3 and the error changed from Segmentation fault to Bus error. I also looked at the ticket Assefa indicated below and am wondering if that was related to the buffer or to the same problem I am having? The script I am having problems does nothing more than create