<form> (html) and Itemquery

Selim Hernandez pimpoumvlan at HOTMAIL.COM
Tue Jul 19 03:39:26 EDT 2005


Hello everybody,

I have problems with the itemquery parameter and there must be somthing I
have misunderstood.

I have a layer on which there are 'parcelles' (areas).
Each county has 2 parameters ('planche' and 'numero')

I want to make a html <form> in which I could put these 2 parameters, in
order to display the right 'parcelle' (area), with the right information.

But with Itemquery, it seems that the qstring parameter is compulsory
otherwise this message is displayed :

msQueryByAttributes(): Query error. No query expression defined

How can I put in the qstring parameter the values of the <input
type="text"...> 'planche' and 'numero' like this :

('[planche]'='xxxxxxx' and '[numero]'='xxxxxxx') ??

I tried to do as in the TestSuite
(http://maps.dnr.state.mn.us/mapserver_demos/tests/itemquery/test.html) but
it use the FILTER parameter that is no more used in MapServer 4.xx


If you have any information or any example of working Itemquery application
(without FILTER), it would be great.


Thank you



More information about the mapserver-users mailing list