Hi Bill,

that's the right way to do it. What I meant is setting the tolerance via
URL, in your case it would be sth like
http://youhost/...&map_layer_0_tolerance=1&map_layer_0_toleranceunits=feet(I
don't know if the underscores in your layer name won't affect the
functionality so I'm assuming that it is the first layer in the mapfile and
using the index of it). More information can be found on
http://mapserver.gis.umn.edu/docs/reference/cgi/controls in the very last
chapter "Changing map file parameters via a form or a URL".

Hopefully it helps Marc with his issue.

Regards,
Dmitri

2007/7/20, Bill Woodall <[EMAIL PROTECTED]>:

Hi All

What has worked for me in using TOLERANCE is to put it into the mapfile
( if you are using MapServer) like ;

    LAYER
        NAME Scrub_and_Chaparral
        TEMPLATE blank
        TOLERANCE 1
        TOLERANCEUNITS feet
        METADATA
            "wms_title" "Scrub_and_Chaparral"
            "wms_include_items"  "CATEGORY,LEGEND,SOURCE"
        END
        TYPE POLYGON
        STATUS ON
        DATA Scrub_and_Chaparral

......Bill,

On Thu, 2007-07-19 at 20:08 +0200, Dmitri Mizerkin wrote:
> Hi Marc,
>
> in a WMS/WFS service request the attribute you are looking for is
> called TOLERANCE. I think this should do it when set as a parameter in
> getFullRequestString function (see user recipies:
> http://trac.openlayers.org/wiki/GetFeatureInfo).
>
> Hopefully it helps you out.
>
> Cheers,
> Dmitri
>
> 2007/7/19, Marc Desharnais <[EMAIL PROTECTED]>:
>         Hi all,
>
>         I search for an attribute to set to make it easier to click on
>         points to
>         get some info about them.
>         I tried some things like RADIUS or REDIUS (saw that on a page
>         on
>         internet) but nothing works.
>
>         I just want it to be easier to click on the point if it's
>         possible, a
>         couple of pixels more.
>
>
>         Thank in advance,
>
>         Marc
>         _______________________________________________
>         Users mailing list
>         [email protected]
>         http://openlayers.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to