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