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

Stephen Woodbridge woodbri at swoodbridge.com
Mon Apr 12 10:17:23 EDT 2010


Rafal Magda wrote:
> On 11 April 2010 21:36, Pano Voudouris <pvoudouris at gaiocorp.com> wrote:
>> What is the actual value in the field? TEXT "255 0 0" or just "255 0 0". I
>> think only the second will work.
>> Pano
> 
> It was "255 0 0" only, and column type was TEXT.
> 
> I solved this problem by simply removing the first STYLE. I found that when
> using COLOR attribute there can be only one STYLE... But it is nowhere
> documented, so I consider it as a bug.
> 
> BTW: Empirically I also found another valid format: "#ff0000". 
> 
> PS: Sorry for starting 2 duplicated threads.
> 

Hi Rafal,

Can you please write this up as a bug. It seems like these should be 
easy to fixes.

Thanks,
   -Steve W


More information about the mapserver-users mailing list