Class Name Substitution

Fawcett, David David.Fawcett at STATE.MN.US
Thu Nov 3 12:35:07 EST 2005


Can one dynamically set a class name using a URL variable?  (I assume
so)

If so, I am trying to pass &name1=foo in my URL  

And then use something like:  	

CLASS 
   NAME '%name1%'
END

If I use double or single quotes, I get a class name of %name1%, if I
use no quotes, I get a string parsing error.  

If there is a syntax that works, second question:  I seem to remember
something about class names not legally being able to start with a
number, is this true?

Thanks, 

David.



More information about the mapserver-users mailing list