varibale angle in annotation layer

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Mon Apr 9 11:53:16 EDT 2007


Giuseppe De Rossi wrote:
> Hi,
> I wrote the following definition of a layer:
> 
> LAYER
>     NAME 'MyAnnotationShape'
>     TYPE ANNOTATION
>     DATA 'MyAnnotationShape'
>     STATUS DEFAULT
>     LABELITEM "STRING"
>     CLASSITEM "STRING"
> 
>     CLASS
>       NAME 'All'
>       EXPRESSION /./
>       STYLE
>         COLOR -1 -1 -1
>       END
>       LABEL
>         COLOR 255 255 51
>         ANTIALIAS TRUE
>         SHADOWCOLOR 0 0 0 
>         SHADOWSIZE 1 1
>         TYPE BITMAP
>         FONT arial
>         SIZE LARGE
>         POSITION CC
>         PARTIALS FALSE
>         BUFFER 2
>       END
>       
>     END
> 
>   END
> 
> The layer is well displayed but the labels have all the same orientation
> (orizhontal), but the original orientation of those label is variable, which
> is the instruction in order to have a varible orientation ?
> How can I use the column ANGLE in the dbf which defines for each label its
> correct orientation ?
>  
> Thanks in advance
> 
> Giu
>  
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>  
>  Sponsor:
>  Fai crescere i tuoi sogni. Prestiti semplici e veloci
> Rate da 20 euro al mese
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6332&d=20070409
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list