query by point - selecting nearest feature from top layer
Skalski Artur - askals
Artur.Skalski at ACXIOM.COM
Tue Apr 11 09:44:27 PDT 2006
Hi All
I'm using mapserver 4.6 with phpmapscript (php 5.0.5) on windows IIS 5.0
what I'm confused about is that when I do query by point by clicking on map mapserver does this query but selects the nearest (from the specified point) feature from the top visible layer. So when I do point query on roads which are displayed under other point layer as a result I allways get the nearest point, not the road that I have clicked on on my map.
What can be the cause of this. Can You please help me??!!
i've set the toleranceunits and tolerance for each of my layers in my mapfile, the buffer value in php code is set to -1 (if i set it to 0 the result is the same)
when I do query on top layer, the results are precise, correct feature is beeing selected
many thanks for any advice
best regards
artur
***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.
If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
Thank You.
****************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060411/d24ce542/attachment.htm>
More information about the MapServer-users
mailing list