[mapserver-users] Use of a Colortable

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Apr 15 07:02:23 PDT 2009


> Is it possible with mapserver to change the color of the symbol according to 
> the value read in from postgis ?

Yes this is possible, using the method described by David.  I have 
tested this locally: I have a column in PostGIS named 'color' with 
various RGB values, and I can display them in MapServer such as the 
following:

   STYLE
     COLOR [color]
   END

(tested with MapServer version 5.4.0-rc1)


-jeff


-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/







More information about the MapServer-users mailing list