[mapserver-users] filter in Itemnquery
Ryan, Adam
ARyan at co.linn.or.us
Mon Oct 7 10:30:30 PDT 2002
Hi.
There are a number of ways to do this. I like to do something like this:
//variables:
theField = "NAME";
theValue = "JONES;
//a piece of the string I pass to Mapserver
SendString += "&mode=itemnquery&qlayer=SL&map_SL_filter=('[" + theField +
"]' =~ /" + theValue + "/)&item=" + theField + "&value=//";
But there are other (probably better) ways to do this.
Cheers,
Adam Ryan
-----Original Message-----
From: soreotsoga at libero.it
To: mapserver-users at lists.gis.umn.edu
Sent: 10/7/02 5:50 AM
Subject: [mapserver-users] filter in Itemnquery
hi everyone!
i want to extract a record froma a database, knowing the Id. I'm using
mapserver 3.6- how can i do it?
i tried to use itemnquery, or itemquery but i wrong something... i do
not know how mapserver works... i have to define a filter... but how
have it to be? "Id"?"Id=.....???I can't write "ID=one specific
value, 'cause it will be different next time
thanks
eros agosto
politecnico di torino
More information about the MapServer-users
mailing list