[mapserver-users] shapeObj->buffer
Wolfgang Lahr
bgiv at gmx.de
Mon Mar 7 05:07:11 PST 2011
Hi list,
this pertains to a problem I noticed yesterday in
mapserver/php_mapscript 5.6.5 running under Windows.
I noticed that:
...
$oShapeObj = $oLineShapeObj->buffer(0.01)
...
will work properly when used on a $oLineShapeObj containing a line
with 2 points. It will stop working when the line contains >= 3 points. The
function will just return an invalid $oShapeObj. The buffered shape is
supposed to be used in a queryByShape operation. This works fine with
MapServer < 5.0. Does the buffered $oLineShapeObj now have to be casted to a
polygon?
Thanks for any hints
wollah
More information about the MapServer-users
mailing list