[Mapserver-users] queryByShape, intersects

Eric Bridger eric at gomoos.org
Mon Jul 12 09:28:36 EDT 2004


Sorry. PHP Mapscript does not have an explicit setBounds() method.  My
guess is that it is called implicitly whenever a shape is added. So your
query problem must be due to some other issue.


On Mon, 2004-07-12 at 03:21, Sylvain Beorchia wrote:
> Ok thanks,
> But i don't have any setBounds() function available...in which version may i
> find it ?
> 
> 
> ----- Original Message ----- 
> From: "Eric Bridger" <eric at gomoos.org>
> To: "Sylvain Beorchia" <sbeorchia at gi-lemans.fr>
> Cc: "Mapserver List" <mapserver-users at lists.gis.umn.edu>
> Sent: Friday, July 09, 2004 7:52 PM
> Subject: Re: [Mapserver-users] queryByShape, intersects
> 
> 
> > 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