[Mapserver-users] variable substitution for color

John Hagstrand john.hagstrand at interageresearch.com
Thu Apr 8 21:38:09 EDT 2004


Hello,

I'm trying to vary layer colors using variable substitution.  I've tried two
ways.

COLOR %coparks%
where coparks=128 255 128

and

COLOR %coparksr% %coparksg% %coparksb%
where coparksr=128 and coparksg=255 and coparksb=128

Both of these methods give me this error:
getInteger(): Symbol definition error. Parsing error near (%):(line 48)

What's the best way to do vary colors?

Thanks
John Hagstrand





More information about the mapserver-users mailing list