[mapserver-users] Re: from kml styles to mapserver layer
Mr. Puneet Kishor
punk.kish at gmail.com
Mon Feb 20 19:23:55 PST 2012
On Feb 20, 2012, at 9:21 PM, Richard Greenwood wrote:
> On Mon, Feb 20, 2012 at 8:05 PM, Mr. Puneet Kishor <punk.kish at gmail.com> wrote:
>> How can I color the polys in the layer with the hex_color values?
> COLOR "#ff0000"
So, I can use the hex values directly. Cool. But, will the following be sufficient in the map file?
DATA "the_geom FROM (SELECT gid, hex_color, the_geom FROM t) tmp USING UNIQUE gid USING srid=4326"
More information about the mapserver-users