itemnquery return {Scanned}

Siki Zoltan siki at AGT.BME.HU
Wed Nov 3 05:53:56 EST 2004


Hi,

You should give a template without image tag for the class, and give an
image tag in the footer or header template. I have send this answer to the
list few monthes ago. See in the archive.

Bye
Zoltan

On Tue, 2 Nov 2004, Jachym Cepicky wrote:

> 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
>
>



More information about the mapserver-users mailing list