Quantcast

Itemquery Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Itemquery Error

Pearson, Gregory

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=city&layer=cityborder&layer=park&layer=cad&layer=cadborder&layer=water&mode=itemquery&qlayer=cad&imgbox=&qitem=GISID&imgshape=&qstring=%221%22&mapshape=&map_CAD_tolerance=2&imgxy=200+150&imgext=1377116.003087+557733.625000+1462348.472157+621604.573000&map=d%3A%5Cms4w%5Capache%5Chtdocs%5Cmapdata%5Ccad.map&program=mapserv.exe&slayer=cad&previousmode=%5Bpreviousmode%5D&savequery=true

 

 

Greg

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FW: Itemquery Error

Pearson, Gregory

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: '[hidden email]'
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=city&layer=cityborder&layer=park&layer=cad&layer=cadborder&layer=water&mode=itemquery&qlayer=cad&imgbox=&qitem=GISID&imgshape=&qstring=%221%22&mapshape=&map_CAD_tolerance=2&imgxy=200+150&imgext=1377116.003087+557733.625000+1462348.472157+621604.573000&map=d%3A%5Cms4w%5Capache%5Chtdocs%5Cmapdata%5Ccad.map&program=mapserv.exe&slayer=cad&previousmode=%5Bpreviousmode%5D&savequery=true

 

 

Greg

Loading...