[mapserver-users] Linetype with spikes around a polygon

Bob Basques bob.b at gritechnologies.com
Sat Feb 20 15:38:03 EST 2010


All,

The only way that might be possible, would be if the colosed polygons 
were always drawn in the same direction, clockwise, or 
counterclockwise.  Otherwise, there is no method for defining right or 
left.  If the direction of the polygon can be garenteed, then it's a 
pretty simple matter to accomplish.

bobb



On 2/19/2010 7:03 AM, Fons Arts wrote:
> Hello list,
>
> I'm trying to create a linetype, see attached image.
> The spikes has to follow the line. For example, in a rectangle all the
> spikes pointing to the inside.
>
> Any suggestions would be welcome.
>
> Mapserver 5.0
>
> Symbol file
> SYMBOL
> NAME "test"
> TYPE VECTOR
> POINTS
> 0 0
> 1 0
> 0.5 7
> 0 0
> END
> FILLED TRUE
> STYLE
> 1 10 1 10
> END
> END
>
> Map file
>
> 		CLASS
> 		  STYLE
> 			SYMBOL 'circle'
> 			OUTLINECOLOR 0 0 0
> 			SIZE 2
> 		 END
> 		  STYLE
>      			SYMBOL 'test'
> 			OUTLINECOLOR 0 0 0
> 			SIZE 4
> 		  END
>
>
>
> thanks in advance
> Fons
>
>
>    
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100220/de940b02/attachment.html


More information about the mapserver-users mailing list