Ah...that's it, thanks Steve!!

Todd

-----Original Message-----
From: Stephen Woodbridge [mailto:wood...@swoodbridge.com] 
Sent: Wednesday, 28 October 2009 11:41 AM
To: Todd Harris
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] FW: Character symbology to follow line
direction

Todd,

You have to set the gap to a negative number to keep the symbol 
perpendicular to the edge.

GAP -20

-Steve W

Todd Harris wrote:
> 
> 
> 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. 



_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to