view flys-artifacts/doc/conf/mapserver/riveraxis-layer.vm @ 4809:8062b571884d

Bugs in generated RiverAxis Mapfile fixed. Now the river axes are drawn by the WMS.
author Christian Lins <christian.lins@intevation.de>
date Wed, 16 Jan 2013 22:53:58 +0100
parents d93748043cbc
children ad0990a82ab8
line wrap: on
line source
LAYER
    NAME "$LAYER.getName()"
    TYPE $LAYER.getType()

    INCLUDE "conf/dbconnection.include"

    DATA    "$LAYER.getData()"
    FILTER  "$LAYER.getFilter()"
    EXTENT  $LAYER.getExtent()

    STATUS    ON
    TEMPLATE  map.html
    TOLERANCE 10
    DUMP      TRUE
    #if( $LAYER.getGroup() )
        GROUP "$LAYER.getGroup()"
    #end

    #if ( $LAYER.getLabelItem() )
        LABELITEM $LAYER.getLabelItem()
    #end

    METADATA
        "wms_title" "$LAYER.getTitle()"
        "gml_include_items" "all"
        #if ( $LAYER.getGroupTitle() )
            "wms_group_title" "$LAYER.getGroupTitle()"
        #end
    END

    #if ( $LAYER.getStyle() )
        $LAYER.getStyle()
    #else
        CLASS
            NAME "unnamedclass"
            STYLE
                SIZE 5
                OUTLINECOLOR "#000000"
            END
            #if ( $LAYER.getLabelItem() )
                LABEL
                    ANGLE auto
                    SIZE 10
                    COLOR "#000000"
                    TYPE truetype
                    FONT LiberationSans-Italic
                    POSITION ur
                    OFFSET 2 2
                END
            #end
            
        END
   #end
END

http://dive4elements.wald.intevation.org