[Mapserver-users] Query documentation

Sebastien Vincent svincent@idems.fr
Tue, 06 Apr 2004 14:21:54 +0200


Hello,

I'm trying to make some query's on a map.

I have two fields :
sector : string
id : number

An object is identified by a label and a sector. I don't know how to 
search throught two fields of a
TAB file.

I tried :
mapserv.qitem.value = "id";
mapserv.qstring.value = 123;

It works fine (but find many object with same id and different sector). 
But I have to make something like :

mapserv.qitem.value = "id&sector";
mapserv.qstring.value = 123&DK;

Two fields, two value, the equivalent as : WHERE id=123 AND sector='DK'

But didn't found any doc about the qstring format. After i'll have to 
zoom to the object found (can't have two objects).

Thanks in advance,

best regards,

seb :)
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users