[mapserver-users] QuerybyPoint blues
Antti.Roppola@brs.gov.au
Antti.Roppola@brs.gov.au
Wed, 2 Oct 2002 10:31:09 +1000
Hi all,
I have also been having all sorts of difficulty getting queries
from point layers.
@$map->queryByPoint($pointQuery,MS_MULTIPLE, -1);
So far I have tried several things without success:
- Using the query point to create a queryByRect() that
defintely encompasses the query object
- Increasing TOLERANCE in the layer
- Adding dummy TEMPLATES to classes and/or layers
That it all works OK for line and polygon features suggests to me
that I have the syntax right. It's only point layers that don't work
and I don't see why/how they should behave differently.
Cheers,
Antti
-----Original Message-----
> Does anyone have a simple example of a querybypoint using phpMapscript?
See my other post. The code works for lines and polygons.