It works !
Thanks a lot.
Olivier
Steve Lime wrote:
Query files *must* have the extension .qy. There is no workaround other than to
rename
the file.
Steve
On 8/27/2009 at 5:46 AM, in message <[email protected]>, Olivier
Bedel <[email protected]> wrote:
Hello list,
I am trying to call mapserv in CGI using NQUERYMAP mode. I would like to use
the queryfile parameter but I have difficulties setting the validation
pattern on it. My URL call looks like this :
http://localhost/cgi-bin/mapserv?
map=test_postgis.map&
LAYERS=layer86&
map_imagetype=png&
map_transparent=TRUE&
map_resolution=96&
mapext=603029.1235762136+1779885.0319475005+1031002.8072237864+1903874.97316
24997&
imgext=603029.1235762136+1779885.0319475005+1031002.8072237864+1903874.97316
24997&
map_size=2464+714&
imgx=1232&imgy=357&
imgxy=2464+714&
mode=nquerymap&
queryfile=myquery.msv
And mapserv always complains with the following error :
msEvalRegex(): Regular expression error. String (myquery.msv) failed
expression test.
I've tried setting validation patterns in the MAP/WEB/METADATA section of
the mapfile :
"TEMPLATEPATTERN" ".*"
"qstring_validation_pattern" ".*"
"queryfile_validation_pattern" ".*"
But none of these patterns resolve the problem...
Can anyone tell me if CGI queryfile parameter is still supported or if i do
something wrong with my patterns ?
I am using mapserver 5.4.1
Best regards,
Olivier.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Olivier BEDEL
ALKANTE SAS
Ingénieur R&D SIG
1, rue du Chêne Morand
35 510 Cesson-Sévigné
Bur: + 33 (0) 2 99 22 25 70
fax : + 33 (0) 2 99 32 12 76
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users