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

Puneet Kishor punk.kish at gmail.com
Wed May 9 19:55:07 EDT 2012


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