[mapserver-users] QuerybyPoint blues

Armin Burger armin.burger at libero.it
Tue Oct 1 15:29:58 PDT 2002


Tom,

did you specify 'MS_MULTIPLE' or 'MS_SINGLE' in your queryByPoint definition?
I don't know why, but for 'MS_SINGLE' I never get results. For 'MS_MULTIPLE'
there are results returned, usually for a very large search area when I apply
queryByPoint with '-1' as buffer. Using map units as buffer it works
perfectly. I also used the gmap75 example as template.

Armin


> Does anyone have a simple example of a querybypoint using phpMapscript?

> I've got the GMAP75 example, I've added a "TEMPLATE void" to the LAYER in
> the ".MAP" file as suggested in a prior post. I've also added what I think
> are the right "RESULT_FIELDS" metadata tags in the same layer level.

> Using one layer with multiple classes from a real simple Tiger shape file.
> Getting the infamous "MapServer Error in msQueryByPoint(): No matching
> record(s) found" even though it should find it.

> Any help is appreciated!







> ---------------------------------
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!




More information about the MapServer-users mailing list