[mapserver-users] Change QueryMap parameter via URL

Frank Koormann frank.koormann at intevation.de
Wed Mar 13 03:14:36 EST 2002


Horst,

* Düster Horst (Horst.Duester at bd.so.ch) [020312 17:06]:
> Hi all
> I try to change the map file parameter QUERYMAP SIZE via URL with
> ...&mode=itemquerymap&map_querymap_size=600+600&... and MapServer 3.5
> but ist doesn't work. MapServer hangsup until Server timeout. What changed
> from 3.4 to 3.5, because the same routine work fine with 3.4??

Strange enough, I can't find this feature in my ancient v3.4 sources.
However, the v3.5 sources have an endless loop there.
Just filed a bug report, you may apply the attached patch to fix this 
immediately

Regards,

        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)
-------------- next part --------------
--- mapfile.c.org       Wed Mar 13 09:05:22 2002
+++ mapfile.c   Wed Mar 13 09:05:35 2002
@@ -2669,7 +2669,6 @@
 {
   int red, green, blue;
 
-  for(;;) {
     switch(msyylex()) {
     case(COLOR):
       msyystate = 2; msyystring = value;
@@ -2693,7 +2692,6 @@
       if((querymap->style = getSymbol(3,
MS_NORMAL,MS_HILITE,MS_SELECTED)) == -1) return;
       break;      
     }
-  }
 
   return;
 }


More information about the mapserver-users mailing list