view flys-artifacts/doc/conf/mapserver/barrier_lines_class.vm @ 5485:3b5e1535a459

Datacage: Experimental support for '{XPath}' expressions in attributes similiar to XSLT. Using this feature you can shorten the written template a lot because it reduces the necessity to create dynamic attributes with <dc:attribute>.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 28 Mar 2013 08:03:14 +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