view flys-artifacts/doc/conf/mapserver/riveraxis-layer.vm @ 4810:5ca2516ebef1

Add rivermap.xml with sample configuration and adapt MapInfoService to use rivermap data instead of floodmap for rivermap.
author Christian Lins <christian.lins@intevation.de>
date Thu, 17 Jan 2013 21:06:41 +0100
parents 8062b571884d
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