[mapserver-users] FW: Character symbology to follow line direction

Todd Harris Todd.Harris at landgate.wa.gov.au
Tue Oct 27 19:11:53 EDT 2009


Hello list,

 

A little problem, I hope someone can help.

 

Using Mapserver 5.2 - I am attempting to use a character symbol: "|" as
a STYLE for the outline of a polygon class. However, I cannot get the
symbol to remain perpendicular to the polygon boundaries ie: the symbol
is always vertical. Can this be done or should I be using a vector or
point symbol somehow?

 

Symbol file:

SYMBOL

  NAME "rawmat"

  TYPE truetype

  FONT arial

  CHARACTER "|"

  GAP 20 # distance between symbols

END

 

Mapfile

CLASS

            NAME 'Extraction Areas'

            STYLE

                        OUTLINECOLOR 0 0 0

                        WIDTH 1

                        ANTIALIAS TRUE

            END #STYLE

            STYLE

                        SYMBOL 'rawmat'

                        OUTLINECOLOR 0 0 0

                        SIZE 5

                        ANTIALIAS TRUE

            END #STYLE

END #CLASS

 

Regards

Todd

 


This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged, in which case neither is intended to be waived or lost by mistaken delivery to you. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this e-mail in error, please notify the sender by return e-mail and delete the message and any attachments from your system. Unless specifically indicated, this e-mail does not constitute formal advice or commitment by the sender or the Western Australian Land Information Authority (Landgate).  Information in this message not relating to the official business of Landgate shall be understood as neither given nor endorsed by it. It is your responsibility to check any attachments for viruses and defects before opening or sending them on.  Landgate’s liability is limited to re-supplying affected attachments. 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091028/b4d557d8/attachment.html


More information about the mapserver-users mailing list