[mapserver-users] Re: line symbol decoration is flipped, how do I ensure the correct orientation

Mr. Puneet Kishor punk.kish at gmail.com
Sun May 20 21:34:07 EDT 2012


bu..hump.

Any ideas from one of you carto wizards? The flipped symbol is serving up faulty faults.


On May 9, 2012, at 6:55 PM, Puneet Kishor wrote:

> I am trying my hand at MapServer symbols/styles. Using the following definition
> 
>    SYMBOL
>        NAME "rarrow"
>        TYPE vector
>        FILLED false
>        POINTS
>            0 0
>            4 0
>            2 -1
>        END
>    END
> 
>    SYMBOL
>        NAME "larrow"
>        TYPE vector
>        FILLED false
>        POINTS
>            4 0
>            0 0
>            2 1
>        END
>    END
> 
>    CLASS
>        NAME "Strike-slip fault right lateral"
>        EXPRESSION "30"
>        STYLE
>            COLOR 0 0 0
>            WIDTH 1
>        END
> 
>        STYLE
>            COLOR 0 0 0
>            SYMBOL "rarrow"
>            SIZE 4
>            GAP -60
>            OFFSET 0 -4
>        END
> 
>        STYLE
>            COLOR 255 0 0
>            SYMBOL "larrow"
>            SIZE 4
>            GAP -60
>            OFFSET 0 6
>        END
>    END
> 
> I get the following http://dl.dropbox.com/u/3526821/slip_strike.png
> 
> 
> The green box shows the correct symbol. The red box has the symbol flipped. Why? How can I correct this?
> 
> --
> Puneet Kishor



More information about the mapserver-users mailing list