Mercurial > dive4elements > river
view artifacts/doc/conf/mapserver/shapefile_layer.vm @ 6304:152e1ba8e5bd
Rework ATWriter/Exporter
- Make the write function static as both data and gauge information
is necessary for writing.
- Use the rivers WST unit for the gauge datum
- Handle the case that we are at a gauge
- Differentiate between calculated values
- Always work with w in CM and thus avoid double number format problems
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 12 Jun 2013 16:07:28 +0200 |
parents | 5aa05a7a34b7 |
children | 74a437805e2a |
line wrap: on
line source
LAYER NAME "$LAYER.getName()" TYPE $LAYER.getType() DATA "$LAYER.getDirectory()/$LAYER.getData()" STATUS ON TEMPLATE map.html TOLERANCE 10 DUMP TRUE #if( $LAYER.getGroup() ) GROUP "$LAYER.getGroup()" #end PROJECTION "init=epsg:$LAYER.getSrid()" END METADATA "wms_title" "$LAYER.getTitle()" "gml_include_items" "all" #if ( $LAYER.getGroupTitle() ) "wms_group_title" "$LAYER.getGroupTitle()" #end END #if ( !$LAYER.getStyle() ) #if ( $LAYER.getGroupTitle() ) #if ( $LAYER.getType() == "POLYGON" ) #include("barrier_polygons_class.vm") #else #include("barrier_lines_class.vm") #end #else #include("wsplgen_class.vm") #end #else $LAYER.getStyle() #end END