itemnquery return

Jachym Cepicky jachym.cepicky at CENTRUM.CZ
Tue Nov 2 08:18:01 PST 2004


Hallo,
I use mapserver 4.x

when I use itemquery, the mapserver returns first match, just one would expect
it.

but when I use itemnquery, mapserver returns  [img], which contains all _n_
matches, but he returns it _n_ times, so the template file is also used _n_
times.

I would like to have something like 
http://maps.dnr.state.mn.us/cgi-bin/mapserv36?mapserv=%2Fcgi-bin%2Fmapserv36&map=%2Fusr%2Flocal%2Fwww%2Fdocs%2Fmapserver_demos%2Ftests36%2Fitemquery%2Fcase2.map&map_web_imagepath=%2Fusr%2Flocal%2Fwww%2Fdocs%2Ftmp%2F&map_web_imageurl=%2Ftmp%2F&mode=itemnquery&qlayer=county&map_county_filter=%2FAitkin%7CBenton%2F&name=Aitkin&name=Benton

which is i result from
http://maps.dnr.state.mn.us/mapserver_demos/tests40/itemquery/test.html
(Case 2: Simple ItemNQuery With QueryMap)

as you can see, mapserver returned only one [img], which contains two maches.

is there some parameter, I have forgotten, which manages the query returns?

Thank you

Jáchym

P.S. Here the address, which goes from my application to mapserv:
http://10.0.0.16/cgi-bin/mapserv?program=%2Fcgi-bin%2Fmapserv&savequery=true&map=%2Fhome%2Fmapserv%2Fpublic_html%2Fkrtiny.map&imgext=-593271.831126+-1149277.640755+-591385.943709+-1147394.887722&imgxy=263+208&image=%2F%7Emapserv%2Ftmp%2Fkrtiny109943484217318.png&scale=&mode=itemnquery&img_addres=%2F%7Emapserv%2Ftmp%2Fkrtiny109943484217318.png&layers=hm1+porostni_mapa+obrys&qstring=137Ea1a&qitem=tag&mapext=shape&qlayer=porostni_mapa_k_vyhledavani&imgbox=263+208+263+208&zoomdir=0&zoomsize=4&layer=hm1&layer=porostni_mapa&layer=obrys

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041102/3b22caed/attachment.sig>


More information about the MapServer-users mailing list