view flys-artifacts/doc/conf/mapserver/db_layer.vm @ 3806:881fcd01e056

merged flys-artifacts/pre2.6-2011-11-04
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:50 +0200
parents 5364b86a0880
children e372934f0c42
line wrap: on
line source
LAYER
    NAME "$LAYER.getName()"
    TYPE $LAYER.getType()

    INCLUDE "$CONFIGDIR/mapserver/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

    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 ""
            STYLE
                SIZE 5
                OUTLINECOLOR "#000000"
            END
        END
    #end
END

http://dive4elements.wald.intevation.org