Problems with queries and toleranceunits

Cameron Shorter cameron at socialchange.net.au
Fri Aug 18 09:55:58 EDT 2000


Have investigated pixel problems further.  Not sure about other units.
It seems that that the point query is not acurate in selecting its
points.

See:
http://linuxdev.socialchange.net.au/webmap/museum/maps/demo_init.html
the mapfile is linked from there.
Try doing mutiple selections at various points on the map and you will
notice that in some places you will many responses where you'd only
expect one, and sometimes you will get none when you expect many.

Stephen Lime wrote:
>
> It's a bug. PIXELS is not recognized as a keyword. Probably was
overlooked
> since PIXELS is the default and setting it is redundant. Will fix...
Workaround
> is not to add that line.
>
> As for behavior with other units I'd have to see URLs showing how they
are
> being used and with what buffer values.
>
> Steve
>
> Stephen Lime
> Internet Applications Analyst
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
>
> >>> Cameron Shorter <cameron at socialchange.net.au> 08/08/00 08:28AM >>>
> Hi,
> I'm having problems querying a points file which seem to be related to
> "tolerance" flag.
>
> Firstly,
> When my mapfile says "TOLERANCEUNITS pixels" I get the following error:
> getSymbol(): Incorrect symbol. (pixels):(245)
>
> Either there is a bug here, or the doco needs updating, see below:
> toleranceunits [pixels|feet|inches|kilometers|meters|miles|dd]: Units of
> the tolerance value. Default is pixels.
>
> So if I specify any other kind of unit, a multiple query returns all the
> points in my mapfile.
>
> I'm using mapserv 3.3.010 on redhat.
>
> --
> Cameron Shorter          Web Mapping Manager
> Social Change Online
> 6A Nelson Street         Tel: +61 (0) 2 9557 6500
> Annandale NSW 2038       Fax: +61 (0) 2 9519 8940
> Sydney, Australia        http://online.socialchange.net.au

--
Cameron Shorter          Web Mapping Manager
Social Change Online
6A Nelson Street         Tel: +61 (0) 2 9557 6500
Annandale NSW 2038       Fax: +61 (0) 2 9519 8940
Sydney, Australia        http://online.socialchange.net.au




More information about the mapserver-users mailing list