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