Mercurial > dive4elements > river
view flys-artifacts/doc/mapserver/riveraxis-layer.vm @ 4656:442fbb290fa8
Introduce river mapfile generation (WARNING: Changes in config xml files required!).
On startup the RiverMapfileGeneratorStarter is called by the server app.
The starter invokes a call to RiverMapfileGenerator.generate() which
reads all available rivers from the database and generates
layers for each river (in theory...uncompleted) in a
river.map file.
The old MapfileGenerator which generates layers that have
artifact dependencies is now in ArtifactMapfileGenerator.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 11 Dec 2012 15:24:24 +0100 |
parents | fc52ee878412 |
children |
line wrap: on
line source
LAYER NAME "$LAYER.getName()" TYPE $LAYER.getType() CONNECTIONTYPE $LAYER.getConnectionType() CONNECTION "$LAYER.getConnection()" 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 PROJECTION "init=epsg:31467" 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 #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