How to define a layer color based on a field value?
Randy James
rjames57 at YAHOO.COM
Thu Sep 29 10:10:53 PDT 2005
Hi James
Use the lableangleitem in your layer.
LABELANGLEITEM "database field"
Randy
--- James Washer <washer at TRLP.COM> wrote:
> Along those lines, is it possible to "assign a variable" based on the content
> of a field in the .dbf file?
>
> I was hoping to control text rotation based on values read from the shapefile.
>
> - jim
>
> On Thu, 29 Sep 2005 14:08:06 +0200
> Luca Manganelli <luca76 at GMAIL.COM> wrote:
>
> > Hi,
> >
> > I have a shapefile containing a field representing RGB color in
> > mapserver format (like 255 130 43).
> >
> > Is there a way to define the dinamic (field based) color in the .map file?
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the MapServer-users
mailing list