[Mapserver-users] queryByShape, intersects

Eric Bridger eric at gomoos.org
Fri Jul 9 10:52:10 PDT 2004


On Fri, 2004-07-09 at 09:41, Sylvain Beorchia wrote:
> Hi Lowell,
> 
> I didn't know that we should use   $shapeobj->setBounds  when creating a new
> shape...that's very strange. If so, that may be sometimes not so easy to set
> the bounds of a shape which is composed from lot of lines....it's not
> difficult, but it's not nice.

Sylvain,
Just to clarify:
$shape->setBounds() is easy to use because it takes no parameters. It
calculates the bounds of all the lines added so far.

Eric




More information about the MapServer-users mailing list