ingo@1775: LAYER ingo@1775: NAME "$LAYER.getName()" ingo@1775: TYPE $LAYER.getType() ingo@1775: DATA "$LAYER.getDirectory()/$LAYER.getData()" ingo@1775: STATUS ON ingo@1775: TEMPLATE map.html ingo@1775: TOLERANCE 10 ingo@1775: DUMP TRUE ingo@1775: #if( $LAYER.getGroup() ) ingo@1775: GROUP "$LAYER.getGroup()" ingo@1775: #end ingo@1775: ingo@2682: PROJECTION christian@5175: #"init=epsg:$LAYER.getSrid()" christian@5175: "init=epsg:31467" ingo@2682: END ingo@2682: ingo@1775: METADATA ingo@1775: "wms_title" "$LAYER.getTitle()" ingo@1775: "gml_include_items" "all" ingo@1775: #if ( $LAYER.getGroupTitle() ) ingo@1775: "wms_group_title" "$LAYER.getGroupTitle()" ingo@1775: #end ingo@1775: END ingo@1775: ingo@1775: #if ( !$LAYER.getStyle() ) ingo@1775: #if ( $LAYER.getGroupTitle() ) ingo@1775: #if ( $LAYER.getType() == "POLYGON" ) ingo@1775: #include("barrier_polygons_class.vm") ingo@1775: #else ingo@1775: #include("barrier_lines_class.vm") ingo@1775: #end ingo@1775: #else ingo@1775: #include("wsplgen_class.vm") ingo@1775: #end ingo@1775: #else ingo@1775: $LAYER.getStyle() ingo@1775: #end ingo@1775: END