[mapserver-commits] r7233 - branches/branch-5-0/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jan 1 15:15:54 EST 2008


Author: sdlime
Date: 2008-01-01 15:15:54 -0500 (Tue, 01 Jan 2008)
New Revision: 7233

Modified:
   branches/branch-5-0/mapserver/maplexer.l
Log:
Exposed MAXSCALE/MAXSCALEDENOM/MINSCALE/MINSCALEDENOM to URL-based modification. (bug #2331)

Modified: branches/branch-5-0/mapserver/maplexer.l
===================================================================
--- branches/branch-5-0/mapserver/maplexer.l	2007-12-31 15:31:07 UTC (rev 7232)
+++ branches/branch-5-0/mapserver/maplexer.l	2008-01-01 20:15:54 UTC (rev 7233)
@@ -216,8 +216,8 @@
 <INITIAL>maxboxsize                            { return(MAXBOXSIZE); }
 <INITIAL>maxfeatures                           { return(MAXFEATURES); }
 <INITIAL>maxinterval                           { return(MAXINTERVAL); }
-<INITIAL>maxscale                              { return(MAXSCALE); }
-<INITIAL>maxscaledenom                         { return(MAXSCALEDENOM); }
+<INITIAL,URL_STRING>maxscale                   { return(MAXSCALE); }
+<INITIAL,URL_STRING>maxscaledenom              { return(MAXSCALEDENOM); }
 <INITIAL>maxsize                               { return(MAXSIZE); }
 <INITIAL>maxsubdivide                          { return(MAXSUBDIVIDE); }
 <INITIAL>maxtemplate                           { return(MAXTEMPLATE); }
@@ -229,8 +229,8 @@
 <INITIAL>mindistance                           { return(MINDISTANCE); }
 <INITIAL>minfeaturesize                        { return(MINFEATURESIZE); }
 <INITIAL>mininterval                           { return(MININTERVAL); }
-<INITIAL>minscale                              { return(MINSCALE); }
-<INITIAL>minscaledenom                         { return(MINSCALEDENOM); }
+<INITIAL,URL_STRING>minscale                   { return(MINSCALE); }
+<INITIAL,URL_STRING>minscaledenom              { return(MINSCALEDENOM); }
 <INITIAL>minsize                               { return(MINSIZE); }
 <INITIAL>minsubdivide                          { return(MINSUBDIVIDE); }
 <INITIAL>mintemplate                           { return(MINTEMPLATE); }



More information about the mapserver-commits mailing list