[Mapserver-users] Query documentation
Sebastien Vincent
svincent at idems.fr
Tue Apr 6 05:21:54 PDT 2004
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§or";
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 :)
More information about the MapServer-users
mailing list