[mapserver-users] What is valid format for color attribute in PostGIS?

Rafal Magda crus1 at o2.pl
Sun Apr 11 06:42:10 PDT 2010


In my mapfile, in style I want to use "COLOR [mycolor]". mycolor is a column
(next to geom) in my PostGIS table. What is valid format for color attribute
in PostGIS?  I tried TEXT "255 0 0", but I always get "invisible" color,
only first style is rendered from following code: 

CLASS
	NAME	 "line3"
	STYLE
		SYMBOL "my_line"
		COLOR 125 125 125
		SIZE 8
		ANTIALIAS TRUE
	END
	STYLE
		SYMBOL "my_line"
		COLOR [mycolor]
		SIZE 6
		ANTIALIAS TRUE
	END
END

--
Best regards,
Rafal Magda
-- 
View this message in context: http://n2.nabble.com/What-is-valid-format-for-color-attribute-in-PostGIS-tp4885572p4885572.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list