[mapserver-users] change layer color dinamically

Steve Lime Steve.Lime at dnr.state.mn.us
Tue Jul 15 17:33:54 EDT 2008


Paul: Assuming version 5+ you can bind colors to attributes. For example, 

STYLE
  COLOR [coloritem]
END

Where the coloritem is expected to have a valid MapServer color defintion (e.g. 0 0 255 or #0000FF).

Steve

>>> On 7/15/2008 at 3:58 PM, in message
<BAY141-W20BA87BBD2A2EEE115D748EE8C0 at phx.gbl>, Paul Alarcon
<paul_pag00 at hotmail.com> wrote:

> Hello forum is there a way to change the color of a layer dinamycally, based 
> on an atribute field ? like make a matrix for that 
> Thanks 
> 
> 
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE_______ 
> ________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list