[mapserver-commits] r7234 - trunk/mapserver

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


Author: sdlime
Date: 2008-01-01 15:18:12 -0500 (Tue, 01 Jan 2008)
New Revision: 7234

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

Modified: trunk/mapserver/maplexer.l
===================================================================
--- trunk/mapserver/maplexer.l	2008-01-01 20:15:54 UTC (rev 7233)
+++ trunk/mapserver/maplexer.l	2008-01-01 20:18:12 UTC (rev 7234)
@@ -217,8 +217,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); }
@@ -230,8 +230,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