[Chameleon] querybyshape() in layerobj and in mapobj

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Sep 17 09:59:52 EDT 2007


Hi,

In your mapfile, all queryable layers can have a TOLERANCE set which 
correspond to the sensitivity of the search in pixel. For polygons the 
default TOLERANCE is 0. This mean that the shape returned must be within 
the shape. If you set a tolerance of 1 or more this may solve your 
problem. See the documentation:
  http://mapserver.gis.umn.edu/docs/reference/mapfile/layer

Julien

vinod kumar wrote:
> Hi
> 
> When call querybyshape fn with the layer obj and the mapobj the result 
> is same. How can i extract all the layer  that is bounded by the shape 
> file. Just i wants to extract all the layer that intersect with the 
> buffer shape i have created. Can any one suggest me the working of 
> querybyshape() function in layerobj and the mapobj
>  
> With regard,
> 
> Vinod V Kumar,
> System Enginner,
> WTI Advanced Technology LTD.
> 
> 
> ------------------------------------------------------------------------
> Be a better Heartthrob. Get better relationship answers 
> <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from 
> someone who knows.
> Yahoo! Answers - Check it out.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list