[UMN_MAPSERVER-USERS] simple query on shapefile

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Wed Aug 25 05:18:35 PDT 2004


Hi Dylan,

Have you tried to add a TOLERANCE definition to your layer?  This will set a
buffer around your features to make sure you don't have to click exactly on
the feature to query it...  This is not set by default (sould it be???)...

Skweda O'Bomsawin

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Dylan Beaudette
Envoyé : 24 août 2004 17:48
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] simple query on shapefile

greetings,

i am trying to query a simple map of california counties here:
http://169.237.34.168/~dylan/mapserver/ca_county/map.html

however, when the mode is set to nquery, a click on the map results in
the following error:
msQueryByPoint(): Search returned no results. No matching record(s) found.

i have tried looking over some of the example mapserver  pages, but
cannot figure out how the query mechanism really works...

any points on how to get a working query system setup?

here is the source for my .map file:

http://169.237.34.168/~dylan/mapserver/ca_county/ca_county.map

any ideas?

thanks in advance!

Dylan Beaudette

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.737 / Virus Database: 491 - Release Date: 2004-08-11
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.737 / Virus Database: 491 - Release Date: 2004-08-11
 



More information about the MapServer-users mailing list