[mapserver-users] Date: Tue, 19 Feb 2002 15:44:41 -0500

Shaik Anwar Hussain shussain at atsincorp.com
Tue Feb 19 15:48:18 EST 2002


Hi Friends,

        Thanks for your help, its working fine for filtering one layer. 

I changed my query like following and it working fine.
http://208.163.164.119:6500/cgi-bin/mapserv?map=../htdocs/pams1/pams.map&lay
ers=flightline&mode=itemnquery&zoomdir=0&imgxy=585 295&imgext=300434 -148033
322234 1655445&zoomsize=2&mapext=-252600 -148033 274400 165545
&qlayer=flightline&map_flightline_header=mapdisplay.html&map_flightline_temp
late=zoomto.html&map_flightline_filter=%22204A%22%22218A%22

I want to do filtering multiple layers, i passed the url like 
http://208.163.164.119:6500/cgi-bin/mapserv?map=../htdocs/pams1/pams.map&lay
ers=flightline&mode=itemnquery&zoomdir=0&imgxy=585 295&imgext=300434 -148033
322234 1655445&zoomsize=2&mapext=-252600 -148033 274400 165545
&qlayer=flightline photo
&map_flightline_header=mapdisplay.html&map_flightline_template=zoomto.html&m
ap_flightline_filter=%22204A%22%22218A%22
&map_photo_header=mapdisplay.html&map_photo_template=zoomto.html&map_photo_f
ilter=%22204A%22%22218A%22

where flightline and photo are two layers.

Do you think what i am passing the url is correct to do multiple filters.

i am getting the error like

msQueryByAttributes(): General error message. No query layer defined. 


i defined the filter item in my map file for the two layers.

Can any one help me whats wrong in that url.

Thanks,
Anwar




More information about the mapserver-users mailing list