view flys-artifacts/doc/conf/mapserver/barrier_lines_class.vm @ 4768:99f9e371371b

Move distance calculation to Coordinate class. Use inheritance instead of composition in Anchor class. Made Anchor class static. Use epsilon equal comparision when checking for same station: Boy, do you ever learn that sharp equal comparison of doubles is not a clever idea!?
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 04 Jan 2013 15:35:51 +0100
parents c8c753931514
children
line wrap: on
line source
CLASS
    NAME "Damm"
    EXPRESSION ("[TYP]"="Damm")
    STYLE
        SIZE 5
        OUTLINECOLOR "#008000"
    END
END
CLASS
    NAME "Rohr 1"
    EXPRESSION ("[TYP]"="Rohr 1")
    STYLE
        SIZE 5
        OUTLINECOLOR "#800080"
    END
END
CLASS
    NAME "Rohr 2"
    EXPRESSION ("[TYP]"="Rohr 2")
    STYLE
        SIZE 5
        OUTLINECOLOR "#808080"
    END
END
CLASS
    NAME "Graben"
    EXPRESSION ("[TYP]"="Graben")
    STYLE
        SIZE 5
        OUTLINECOLOR "#800000"
    END
END

http://dive4elements.wald.intevation.org