[Mapserver-users] QueryByPoint problem
Merlos
merlos at tsc.uvigo.es
Wed Jul 21 05:17:34 PDT 2004
Yes, queryable layers must have
TEMPLATE "dummy"
And it is recommended to change:
TOLERANCE number
TOLERANCE UNITS
Regards Juan.
On Wednesday 21 July 2004 11:55, Olli -- wrote:
> Hello,
>
> I chose one point from my map and now I try if MapServer would found it
> also. But it says just "point not found". Is the code ok? Do I need to put
> template values to my .map-file?
>
> $point = ms_newPointObj();
> $point->setXY(14.49710324,50.05884014);
>
> $queryfound=@$map->queryByPoint($point, MS_MULTIPLE, -1);
>
> if ($queryfound == MS_SUCCESS) {
> echo "Point found";
> }
> if ($queryfound == MS_FAILURE) {
> echo "Point not found";
> }
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
--
http://www.merlos.biz
More information about the MapServer-users
mailing list