changeset 645:0cf162fa4334

Added some more templates for mapfile generation. gnv-artifacts/trunk@731 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 04 Mar 2010 14:06:26 +0000
parents f3882e94c7e0
children c8749d83d9b6
files gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/maptemplates/flow-velocity_isolines.class.vm gnv-artifacts/doc/conf/maptemplates/flow-velocity_polygons.class.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity_isolines.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature_isolines.vm gnv-artifacts/doc/conf/maptemplates/water-levels_isolines.class.vm gnv-artifacts/doc/conf/maptemplates/water-levels_polygons.class.vm gnv-artifacts/doc/conf/maptemplates/water-temperature_isolines.class.vm gnv-artifacts/doc/conf/maptemplates/water-temperature_polygons.class.vm
diffstat 13 files changed, 702 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Thu Mar 04 09:18:53 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Thu Mar 04 14:06:26 2010 +0000
@@ -1,3 +1,20 @@
+2010-03-04  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* doc/conf/maptemplates/flow-velocity_polygons.class.vm,
+	  doc/conf/maptemplates/water-levels_polygons.class.vm,
+	  doc/conf/maptemplates/water-temperature_polygons.class.vm,
+	  doc/conf/maptemplates/horizontalcrosssection_flow-velocity.vm,
+	  doc/conf/maptemplates/flow-velocity_isolines.class.vm,
+	  doc/conf/maptemplates/horizontalcrosssection_flow-velocity_isolines.vm,
+	  doc/conf/maptemplates/horizontalcrosssection_water-levels.vm,
+	  doc/conf/maptemplates/water-levels_isolines.class.vm,
+	  doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm,
+	  doc/conf/maptemplates/water-temperature_isolines.class.vm,
+	  doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm,
+	  doc/conf/maptemplates/horizontalcrosssection_water-temperature_isolines.vm:
+	  Added template files for water-levels, water-temperature and
+	  flow-velocity.
+
 2010-03-04  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	  Issue171
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/flow-velocity_isolines.class.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,20 @@
+        CLASS
+            NAME "DEFAULT"
+            LABEL
+                TYPE TRUETYPE
+                FONT FreeSans
+                SIZE 10
+                MAXSIZE 10
+                MINSIZE 7
+                COLOR 0 0 0
+                MINDISTANCE 250
+                ANGLE AUTO
+                POSITION CC
+                MINFEATURESIZE AUTO
+                OUTLINECOLOR 255 255 255
+                PARTIALS False
+            END
+            STYLE
+                COLOR "#000000"
+            END
+        END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/flow-velocity_polygons.class.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,107 @@
+        CLASS
+            NAME "-inf - 0.025"
+            EXPRESSION ("[CLASS]"="0")
+            STYLE
+                COLOR "#38a800"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.025 - 0.05"
+            EXPRESSION ("[CLASS]"="1")
+            STYLE
+                COLOR "#56b800"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.05 - 0.1"
+            EXPRESSION ("[CLASS]"="2")
+            STYLE
+                COLOR "#74c700"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.1 - 0.3"
+            EXPRESSION ("[CLASS]"="3")
+            STYLE
+                COLOR "#96d600"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.3 - 0.5"
+            EXPRESSION ("[CLASS]"="4")
+            STYLE
+                COLOR "#bfe600"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.5 - 0.7"
+            EXPRESSION ("[CLASS]"="5")
+            STYLE
+                COLOR "#e9f500"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.7 - 0.9"
+            EXPRESSION ("[CLASS]"="6")
+            STYLE
+                COLOR "#ffea00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.9 - 1.1"
+            EXPRESSION ("[CLASS]"="7")
+            STYLE
+                COLOR "#ffbb00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "1.1 - 1.3"
+            EXPRESSION ("[CLASS]"="8")
+            STYLE
+                COLOR "#ff8c00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "1.3 - 1.5"
+            EXPRESSION ("[CLASS]"="9")
+            STYLE
+                COLOR "#ff5e00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "1.5 - 1.7"
+            EXPRESSION ("[CLASS]"="10")
+            STYLE
+                COLOR "#ff2f00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "1.7 - inf"
+            EXPRESSION ("[CLASS]"="11")
+            STYLE
+                COLOR "#ff0000"
+            END
+        END
+    
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,7 @@
+LAYER
+    NAME "$info.getName()"
+    TYPE $info.getType()
+    DATA "${info.getName()}/${info.getData()}"
+    STATUS $info.getStatus()
+    #include("flow-velocity_polygons.class.vm")
+END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity_isolines.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,9 @@
+LAYER
+    NAME "$info.getName()_isolines"
+    GROUP "$info.getName()"
+    DATA "${info.getName()}/${info.getData()}"
+    TYPE $info.getType()
+    STATUS $info.getStatus()
+    LABELITEM VALUE
+    #include("flow-velocity_isolines.class.vm")
+END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,7 @@
+LAYER
+    NAME "$info.getName()"
+    TYPE $info.getType()
+    DATA "${info.getName()}/${info.getData()}"
+    STATUS $info.getStatus()
+    #include("water-levels_polygons.class.vm")
+END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,9 @@
+LAYER
+    NAME "$info.getName()_isolines"
+    GROUP "$info.getName()"
+    DATA "${info.getName()}/${info.getData()}"
+    TYPE $info.getType()
+    STATUS $info.getStatus()
+    LABELITEM VALUE
+    #include("water-levels_isolines.class.vm")
+END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,7 @@
+LAYER
+    NAME "$info.getName()"
+    TYPE $info.getType()
+    DATA "${info.getName()}/${info.getData()}"
+    STATUS $info.getStatus()
+    #include("water-temperature_polygons.class.vm")
+END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature_isolines.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,9 @@
+LAYER
+    NAME "$info.getName()_isolines"
+    GROUP "$info.getName()"
+    DATA "${info.getName()}/${info.getData()}"
+    TYPE $info.getType()
+    STATUS $info.getStatus()
+    LABELITEM VALUE
+    #include("water-temperature_isolines.class.vm")
+END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/water-levels_isolines.class.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,20 @@
+        CLASS
+            NAME "DEFAULT"
+            LABEL
+                TYPE TRUETYPE
+                FONT FreeSans
+                SIZE 10
+                MAXSIZE 10
+                MINSIZE 7
+                COLOR 0 0 0
+                MINDISTANCE 250
+                ANGLE AUTO
+                POSITION CC
+                MINFEATURESIZE AUTO
+                OUTLINECOLOR 255 255 255
+                PARTIALS False
+            END
+            STYLE
+                COLOR "#000000"
+            END
+        END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/water-levels_polygons.class.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,217 @@
+
+  
+        CLASS
+            NAME "-inf - 5"
+            EXPRESSION ("[CLASS]"="0")
+            STYLE
+                COLOR "#870087"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-5.0 - -4.5"
+            EXPRESSION ("[CLASS]"="1")
+            STYLE
+                COLOR "#c700c7"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-4.5 - -4.0"
+            EXPRESSION ("[CLASS]"="2")
+            STYLE
+                COLOR "#ff00ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-4.0 - -3.5"
+            EXPRESSION ("[CLASS]"="3")
+            STYLE
+                COLOR "#bb00ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-3.5 - -3.0"
+            EXPRESSION ("[CLASS]"="4")
+            STYLE
+                COLOR "#7700ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-3.0 - -2.5"
+            EXPRESSION ("[CLASS]"="5")
+            STYLE
+                COLOR "#0000ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-2.5 - -2.0"
+            EXPRESSION ("[CLASS]"="6")
+            STYLE
+                COLOR "#0000e8"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-2.0 - -1.5"
+            EXPRESSION ("[CLASS]"="7")
+            STYLE
+                COLOR "#0082d9"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-1.5 - -1.0"
+            EXPRESSION ("[CLASS]"="8")
+            STYLE
+                COLOR "#00b2ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-1.0 - -0.5"
+            EXPRESSION ("[CLASS]"="9")
+            STYLE
+                COLOR "#00ddff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-0.5 - 0.0"
+            EXPRESSION ("[CLASS]"="10")
+            STYLE
+                COLOR "#00ffff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.0 - 0.5"
+            EXPRESSION ("[CLASS]"="11")
+            STYLE
+                COLOR "#49d1cd"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0.5 - 1.0"
+            EXPRESSION ("[CLASS]"="12")
+            STYLE
+                COLOR "#20b0a9"
+            END
+        END
+    
+  
+        CLASS
+            NAME "1.0 - 1.5"
+            EXPRESSION ("[CLASS]"="13")
+            STYLE
+                COLOR "#14c76d"
+            END
+        END
+    
+  
+        CLASS
+            NAME "1.5 - 2.0"
+            EXPRESSION ("[CLASS]"="14")
+            STYLE
+                COLOR "#09e03b"
+            END
+        END
+    
+  
+        CLASS
+            NAME "2.0 - 2.5"
+            EXPRESSION ("[CLASS]"="15")
+            STYLE
+                COLOR "#00ff1a"
+            END
+        END
+    
+  
+        CLASS
+            NAME "2.5 - 3.0"
+            EXPRESSION ("[CLASS]"="16")
+            STYLE
+                COLOR "#aeff00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "3.0 - 3.5"
+            EXPRESSION ("[CLASS]"="17")
+            STYLE
+                COLOR "#f2ff00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "3.5 - 4.0"
+            EXPRESSION ("[CLASS]"="18")
+            STYLE
+                COLOR "#ffc800"
+            END
+        END
+    
+  
+        CLASS
+            NAME "4.0 - 4.5"
+            EXPRESSION ("[CLASS]"="19")
+            STYLE
+                COLOR "#ff8800"
+            END
+        END
+    
+  
+        CLASS
+            NAME "4.5 - 5.0"
+            EXPRESSION ("[CLASS]"="20")
+            STYLE
+                COLOR "#ff4400"
+            END
+        END
+    
+  
+        CLASS
+            NAME "5.0 - 5.5"
+            EXPRESSION ("[CLASS]"="21")
+            STYLE
+                COLOR "#ff0000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "5.5 - 6.0"
+            EXPRESSION ("[CLASS]"="22")
+            STYLE
+                COLOR "#c70000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "6.0 - inf"
+            EXPRESSION ("[CLASS]"="23")
+            STYLE
+                COLOR "#870000"
+            END
+        END
+    
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/water-temperature_isolines.class.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,20 @@
+        CLASS
+            NAME "DEFAULT"
+            LABEL
+                TYPE TRUETYPE
+                FONT FreeSans
+                SIZE 10
+                MAXSIZE 10
+                MINSIZE 7
+                COLOR 0 0 0
+                MINDISTANCE 250
+                ANGLE AUTO
+                POSITION CC
+                MINFEATURESIZE AUTO
+                OUTLINECOLOR 255 255 255
+                PARTIALS False
+            END
+            STYLE
+                COLOR "#000000"
+            END
+        END
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/water-temperature_polygons.class.vm	Thu Mar 04 14:06:26 2010 +0000
@@ -0,0 +1,253 @@
+
+  
+        CLASS
+            NAME "-inf - -1"
+            EXPRESSION ("[CLASS]"="0")
+            STYLE
+                COLOR "#ff33ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "-1 - 0"
+            EXPRESSION ("[CLASS]"="1")
+            STYLE
+                COLOR "#ff98ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "0 - 1"
+            EXPRESSION ("[CLASS]"="2")
+            STYLE
+                COLOR "#3300cc"
+            END
+        END
+    
+  
+        CLASS
+            NAME "1 - 2"
+            EXPRESSION ("[CLASS]"="3")
+            STYLE
+                COLOR "#3366ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "2 - 3"
+            EXPRESSION ("[CLASS]"="4")
+            STYLE
+                COLOR "#3399ff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "3 - 4"
+            EXPRESSION ("[CLASS]"="5")
+            STYLE
+                COLOR "#33ccff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "4 - 5"
+            EXPRESSION ("[CLASS]"="6")
+            STYLE
+                COLOR "#33ffff"
+            END
+        END
+    
+  
+        CLASS
+            NAME "5 - 6"
+            EXPRESSION ("[CLASS]"="7")
+            STYLE
+                COLOR "#007800"
+            END
+        END
+    
+  
+        CLASS
+            NAME "6 - 7"
+            EXPRESSION ("[CLASS]"="8")
+            STYLE
+                COLOR "#009900"
+            END
+        END
+    
+  
+        CLASS
+            NAME "7 - 8"
+            EXPRESSION ("[CLASS]"="9")
+            STYLE
+                COLOR "#00ba00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "8 - 9"
+            EXPRESSION ("[CLASS]"="10")
+            STYLE
+                COLOR "#00de00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "9 - 10"
+            EXPRESSION ("[CLASS]"="11")
+            STYLE
+                COLOR "#00ff00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "10 - 11"
+            EXPRESSION ("[CLASS]"="12")
+            STYLE
+                COLOR "#ffff33"
+            END
+        END
+    
+  
+        CLASS
+            NAME "11 - 12"
+            EXPRESSION ("[CLASS]"="13")
+            STYLE
+                COLOR "#ffee33"
+            END
+        END
+    
+  
+        CLASS
+            NAME "12 - 13"
+            EXPRESSION ("[CLASS]"="14")
+            STYLE
+                COLOR "#ffdd33"
+            END
+        END
+    
+  
+        CLASS
+            NAME "13 - 14"
+            EXPRESSION ("[CLASS]"="15")
+            STYLE
+                COLOR "#ffcc33"
+            END
+        END
+    
+  
+        CLASS
+            NAME "14 - 15"
+            EXPRESSION ("[CLASS]"="16")
+            STYLE
+                COLOR "#ffbb33"
+            END
+        END
+    
+  
+        CLASS
+            NAME "15 - 16"
+            EXPRESSION ("[CLASS]"="17")
+            STYLE
+                COLOR "#ffaa00"
+            END
+        END
+    
+  
+        CLASS
+            NAME "16 - 17"
+            EXPRESSION ("[CLASS]"="18")
+            STYLE
+                COLOR "#ff9900"
+            END
+        END
+    
+  
+        CLASS
+            NAME "17 - 18"
+            EXPRESSION ("[CLASS]"="19")
+            STYLE
+                COLOR "#ff7700"
+            END
+        END
+    
+  
+        CLASS
+            NAME "18 - 19"
+            EXPRESSION ("[CLASS]"="20")
+            STYLE
+                COLOR "#ff0000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "19 - 20"
+            EXPRESSION ("[CLASS]"="21")
+            STYLE
+                COLOR "#ed0000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "20 - 21"
+            EXPRESSION ("[CLASS]"="22")
+            STYLE
+                COLOR "#cc0000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "21 - 22"
+            EXPRESSION ("[CLASS]"="23")
+            STYLE
+                COLOR "#ba0000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "22 - 23"
+            EXPRESSION ("[CLASS]"="24")
+            STYLE
+                COLOR "#ab0000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "23 - 24"
+            EXPRESSION ("[CLASS]"="25")
+            STYLE
+                COLOR "#990000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "24 - 25"
+            EXPRESSION ("[CLASS]"="26")
+            STYLE
+                COLOR "#870000"
+            END
+        END
+    
+  
+        CLASS
+            NAME "25 - inf"
+            EXPRESSION ("[CLASS]"="27")
+            STYLE
+                COLOR "#ab0089"
+            END
+        END
+    

http://dive4elements.wald.intevation.org