Hello list,<br><br>I'm querying a layer by point, using tolerance in meters because I need to find some street in a point using Decimal Degrees and a range in meters.<br><br>Something like:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layer.setSizeunits
(mapscript.MS_METERS);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layer.setToleranceunits(mapscript.MS_METERS);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layer.setTolerance(radius);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layer.queryByPoint(map, point, mapscript.MS_SINGLE, -1)<br><br>Comparing two radius, 100 and 50 meters, I think 50 is twice faster than 100, is this true?
<br><br>What's the difference between MS_SINGLE and MS_MULTIPLE.<br>MS_SINGLE find one, and only one feature??? MS_SINGLE is much faster than MS_MULTIPLE?<br clear="all">Supousing that I need to return the nearest street name and some streets don't have name, is better to querybypoint with 50 meters and if the street don't have a name find again, with 100 meters? Or find MS_MULTIPLE with 100 meters?
<br>querybyrect or querybyshape are faster?<br><br>I need the fastest result because i need to query in 10 layers very quickly.<br><br>Thanks in advance.<br><br>Fred<br><br>-- <br>&quot;Everything under the sun is in tune
<br>But the sun is eclipsed by the moon&quot;