I have the answer. I needed this in my query layer:

 

METADATA
          qstring_validation_pattern '.'
END

 

Thanks, Lawrence.

 

________________________________

From: Pearson, Gregory 
Sent: Wednesday, February 20, 2008 3:38 PM
To: 'MAPSERVER-USERS@LISTS.UMN.EDU'
Subject: Itemquery Error

 

I'm having a hard time finding information on this error:

 

"mapserv(): Web application error. Metadata qstring_validation_pattern
is not set."

 

It is raised when I run an itemquery with the parameters: qlayer=cad,
qitem=GISID, and qstring=1. The last parameter - qstring - should
actually be a numeric.

 

Here is the querystring:

 

http://dmz-web-srv:81/cgi-bin/mapserv.exe?zoomdir=0&zoomsize=2&layer=cit
y&layer=cityborder&layer=park&layer=cad&layer=cadborder&layer=water&mode
=itemquery&qlayer=cad&imgbox=&qitem=GISID&imgshape=&qstring=%221%22&maps
hape=&map_CAD_tolerance=2&imgxy=200+150&imgext=1377116.003087+557733.625
000+1462348.472157+621604.573000&map=d%3A%5Cms4w%5Capache%5Chtdocs%5Cmap
data%5Ccad.map&program=mapserv.exe&slayer=cad&previousmode=%5Bpreviousmo
de%5D&savequery=true

 

 

Greg

Reply via email to