[UMN_MAPSERVER-USERS] itemnquery return

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Wed Nov 3 09:43:52 EST 2004


Jachym,

That's not very clear what exactly you expect as results.  Do you need an
image (itemnquerymap) or a table of results (itemnquery).  As far as I can
see in your URL, you have an imgext and a mapext wich is a little bit
confusing since the two functions has almost the same behavior...  Could you
send more details about your objectives and maybe your mapfile?

Thanks.

Skweda O'Bomsawin


-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Jachym Cepicky
Envoyé : 2 novembre 2004 11:18
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] itemnquery return

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%2Fc
ase2.map&map_web_imagepath=%2Fusr%2Flocal%2Fwww%2Fdocs%2Ftmp%2F&map_web_imag
eurl=%2Ftmp%2F&mode=itemnquery&qlayer=county&map_county_filter=%2FAitkin%7CB
enton%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+-114
9277.640755+-591385.943709+-1147394.887722&imgxy=263+208&image=%2F%7Emapserv
%2Ftmp%2Fkrtiny109943484217318.png&scale=&mode=itemnquery&img_addres=%2F%7Em
apserv%2Ftmp%2Fkrtiny109943484217318.png&layers=hm1+porostni_mapa+obrys&qstr
ing=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=ob
rys

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 2004-10-27
 



More information about the mapserver-users mailing list