MAP
  EXTENT 10000 305000 280000 619000
  UNITS METERS
  NAME "_EduGIS_hoogte"
  
  	SHAPEPATH "D:/wwwsoft/mapserver/data/hoogte/nederland"
  	PROJECTION
    "init=EPSG:28992"
  END

  LEGEND
    IMAGECOLOR 255 255 255
    KEYSIZE 18 12
    KEYSPACING 5 5
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 89
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIALS TRUE
    END
    POSITION LL
    STATUS ON
  END #legend

  QUERYMAP
    COLOR 255 0 0
    SIZE -1 -1
    STATUS OFF
    STYLE HILITE
  END #querymap

  WEB
    IMAGEPATH "D:\temp"
    IMAGEURL "/temp/"
    MAXSCALE 30000000
    MINSCALE 1000
    METADATA
      WMS_TITLE "EduGIS Algemeen Hoogtebestand Nederland (Ooijpolder en Ronde Venen)"
      WMS_ABSTRACT "EduGIS Algemeen Hoogtebestand Nederland (Ooijpolder en Ronde Venen)"
      WMS_ONLINERESOURCE "/cgi-bin/edugis/mapserv.cgi?map=maps/edugis/hoogte.map"
      WMS_SRS "EPSG:28992"
    END
  END # web

  OUTPUTFORMAT
    NAME png
    DRIVER "GD/PNG"
    MIMETYPE "image/png"
    IMAGEMODE PC256
    EXTENSION "png"
  END # outputformat

  LAYER
    GROUP "hoogtes"
    NAME "HoogteMaxRes"
    METADATA
     WMS_TITLE "Hoogte Max Res"
     WMS_ABSTRACT "Hoogte Max Res"
     WMS_NAME "Hoogte Max Res"
     WMS_SRS "EPSG:28992"
     WFS_TITLE "Hoogte Max Res"
  #   gml_include_items "value_0"
  #   gml_value_0_alias "hoogte"
     WMS_GROUP_TITLE   "hoogte"
    END
    PROJECTION
     "init=epsg:28992"
    END
    DATA "d:/wwwsoft/mapserver/data/hoogte/nederland/overview.tif"
    STATUS ON
    DUMP TRUE
    #TEMPLATE "blank.html"
    TYPE RASTER
    UNITS METERS
   PROCESSING "SCALE=-10,400"
       PROCESSING "SCALE_BUCKETS=410"
       MINSCALE 500000
       MAXSCALE 30000000

        CLASSITEM "[pixel]"
    CLASS NAME '-12 - -7 m'   EXPRESSION ( [pixel] >= -12 AND [pixel] < -7 ) COLOR 12 49 124 END
    CLASS NAME '-7 - -6 m'    EXPRESSION ( [pixel] >= -7 AND [pixel] < -6 )  COLOR 15 55 124 END
    CLASS NAME '-6 - -5 m'    EXPRESSION ( [pixel] >= -6 AND [pixel] < -5 )  COLOR 15 64 126 END
    CLASS NAME '-5 - -4 m'    EXPRESSION ( [pixel] >= -5 AND [pixel] < -4 )  COLOR 17 73 127 END
    CLASS NAME '-4 - -3 m'    EXPRESSION ( [pixel] >= -4 AND [pixel] < -3 )  COLOR 18 82 127 END
    CLASS NAME '-3 - -2,5 m'  EXPRESSION ( [pixel] >= -3 AND [pixel] < -2.5 )COLOR 20 90 129 END
    CLASS NAME '-2,5 - -2 m'  EXPRESSION ( [pixel] >= -2.5 AND [pixel] < -2 )COLOR 22 100 130 END
    CLASS NAME '-2 - -1,5 m'  EXPRESSION ( [pixel] >= -2 AND [pixel] < -1.5 )COLOR 24 108 131 END
    CLASS NAME '-1,5 - -1 m'  EXPRESSION ( [pixel] >= -1.5 AND [pixel] < -1 )COLOR 26 117 132 END
    CLASS NAME '-1 - -0,5 m'  EXPRESSION ( [pixel] >= -1 AND [pixel] < -0.5 )COLOR 28 126 133 END
    CLASS NAME '-0,5 - 0 m'   EXPRESSION ( [pixel] >= -0.5 AND [pixel] < 0 ) COLOR 29 135 134 END
    CLASS NAME ' 0 -  0,5 m'  EXPRESSION ( [pixel] >= 0 AND [pixel] < 0.5 )  COLOR 31 144 135 END
    CLASS NAME ' 0,5 - 1 m'   EXPRESSION ( [pixel] >= 0.5 AND [pixel] < 1 )  COLOR 33 152 136 END
    CLASS NAME ' 1 - 1,5 m'   EXPRESSION ( [pixel] >= 1 AND [pixel] < 1.5 )  COLOR 35 158 137 END
    CLASS NAME ' 1,5 - 2 m'   EXPRESSION ( [pixel] >= 1.5 AND [pixel] < 2 )  COLOR 38 163 128 END
    CLASS NAME ' 2 - 2,5 m'   EXPRESSION ( [pixel] >= 2 AND [pixel] < 2.5 )  COLOR 44 170 116 END
    CLASS NAME ' 2,5 - 3 m'   EXPRESSION ( [pixel] >= 2.5 AND [pixel] < 3 )  COLOR 49 176 104 END
    CLASS NAME ' 3 - 3,5 m'   EXPRESSION ( [pixel] >= 3 AND [pixel] < 3.5 )  COLOR 54 183 92 END
    CLASS NAME ' 3,5 - 4 m'   EXPRESSION ( [pixel] >= 3.5 AND [pixel] < 4 )  COLOR 60 190 80 END
    CLASS NAME ' 4 - 4,5 m'   EXPRESSION ( [pixel] >= 4 AND [pixel] < 4.5 )  COLOR 66 196 68 END
    CLASS NAME ' 4,5 - 5 m'   EXPRESSION ( [pixel] >= 4.5 AND [pixel] < 5 )  COLOR 72 203 56 END
    CLASS NAME ' 5 - 6 m'     EXPRESSION ( [pixel] >= 5 AND [pixel] < 6 )    COLOR 77 209 44 END
    CLASS NAME ' 6 - 7 m'     EXPRESSION ( [pixel] >= 6 AND [pixel] < 7 )    COLOR 83 216 31 END
    CLASS NAME ' 7 - 8 m'     EXPRESSION ( [pixel] >= 7 AND [pixel] < 8 )    COLOR 88 222 20 END
    CLASS NAME ' 8 - 9 m'     EXPRESSION ( [pixel] >= 8 AND [pixel] < 9 )    COLOR 94 229 8 END
    CLASS NAME ' 9 - 10 m'    EXPRESSION ( [pixel] >= 9 AND [pixel] < 10 )   COLOR 97 233 1 END
    CLASS NAME ' 10 - 12 m'   EXPRESSION ( [pixel] >= 10 AND [pixel] < 12 )  COLOR 114 234 1 END
    CLASS NAME ' 12 - 14 m'   EXPRESSION ( [pixel] >= 12 AND [pixel] < 14 )  COLOR 139 237 2 END
    CLASS NAME ' 14 - 16 m'   EXPRESSION ( [pixel] >= 14 AND [pixel] < 16 )  COLOR 162 240 2 END
    CLASS NAME ' 16 - 18 m'   EXPRESSION ( [pixel] >= 16 AND [pixel] < 18 )  COLOR 185 241 2 END
    CLASS NAME ' 18 - 20 m'   EXPRESSION ( [pixel] >= 18 AND [pixel] < 20 )  COLOR 209 244 2 END
    CLASS NAME ' 20 - 25 m'   EXPRESSION ( [pixel] >= 20 AND [pixel] < 25 )  COLOR 233 246 2 END
    CLASS NAME ' 25 - 30 m'   EXPRESSION ( [pixel] >= 25 AND [pixel] < 30 )  COLOR 252 248 3 END
    CLASS NAME ' 30 - 35 m'   EXPRESSION ( [pixel] >= 30 AND [pixel] < 35 )  COLOR 250 241 5 END
    CLASS NAME ' 35 - 40 m'   EXPRESSION ( [pixel] >= 35 AND [pixel] < 40 )  COLOR 246 232 8 END
    CLASS NAME ' 40 - 45 m'   EXPRESSION ( [pixel] >= 40 AND [pixel] < 45 )  COLOR 243 222 12 END
    CLASS NAME ' 45 - 50 m'   EXPRESSION ( [pixel] >= 45 AND [pixel] < 50 )  COLOR 240 213 15 END
    CLASS NAME ' 50 - 60 m'   EXPRESSION ( [pixel] >= 50 AND [pixel] < 60 )  COLOR 236 204 19 END
    CLASS NAME ' 60 - 70 m'   EXPRESSION ( [pixel] >= 60 AND [pixel] < 70 )  COLOR 233 195 22 END
    CLASS NAME ' 70 - 80 m'   EXPRESSION ( [pixel] >= 70 AND [pixel] < 80 )  COLOR 230 185 25 END
    CLASS NAME ' 80 - 90 m'   EXPRESSION ( [pixel] >= 80 AND [pixel] < 90 )  COLOR 226 176 28 END
    CLASS NAME ' 90 - 100 m'  EXPRESSION ( [pixel] >= 90 AND [pixel] < 100 ) COLOR 223 167 32 END
    CLASS NAME ' 100 - 125 m' EXPRESSION ( [pixel] >= 100 AND [pixel] < 125 )COLOR 219 158 35 END
    CLASS NAME ' 125 - 150 m' EXPRESSION ( [pixel] >= 125 AND [pixel] < 150 )COLOR 216 149 38 END
    CLASS NAME ' 150 - 175 m' EXPRESSION ( [pixel] >= 150 AND [pixel] < 175 )COLOR 213 139 42 END
    CLASS NAME ' 175 - 200 m' EXPRESSION ( [pixel] >= 175 AND [pixel] < 200 )COLOR 210 130 45 END
    CLASS NAME ' 200 - 250 m' EXPRESSION ( [pixel] >= 200 AND [pixel] < 250 )COLOR 206 121 48 END
    CLASS NAME ' 250 - 300 m' EXPRESSION ( [pixel] >= 250 AND [pixel] < 300 )COLOR 203 111 51 END
    CLASS NAME ' 300 - 350 m' EXPRESSION ( [pixel] > 300)                   COLOR 200 102 54 END
  END # layer hoogte
 LAYER
    GROUP "hoogtes"
    NAME "Hoogte100m"
    METADATA
     WMS_TITLE "Hoogte 100m"
     WMS_ABSTRACT "Hoogte 100m"
     WMS_NAME "Hoogte 100m"
     WMS_SRS "EPSG:28992"
     WFS_TITLE "Hoogte 100m"
     gml_include_items "value_0"
     gml_value_0_alias "hoogte"
     WMS_GROUP_TITLE   "hoogte"
    END
    PROJECTION
     "init=epsg:28992"
    END
    TILEINDEX ahn100_index
    TILEITEM "Location"
    STATUS ON
    DUMP TRUE
    TEMPLATE "blank.html"
    TYPE RASTER
    UNITS METERS
   PROCESSING "SCALE=-10,400"
       PROCESSING "SCALE_BUCKETS=410"
       MINSCALE 150000
       MAXSCALE 500000

       
        CLASSITEM "[pixel]"
    CLASS NAME '-12 - -7 m'   EXPRESSION ( [pixel] >= -12 AND [pixel] < -7 ) COLOR 12 49 124 END
    CLASS NAME '-7 - -6 m'    EXPRESSION ( [pixel] >= -7 AND [pixel] < -6 )  COLOR 15 55 124 END
    CLASS NAME '-6 - -5 m'    EXPRESSION ( [pixel] >= -6 AND [pixel] < -5 )  COLOR 15 64 126 END
    CLASS NAME '-5 - -4 m'    EXPRESSION ( [pixel] >= -5 AND [pixel] < -4 )  COLOR 17 73 127 END
    CLASS NAME '-4 - -3 m'    EXPRESSION ( [pixel] >= -4 AND [pixel] < -3 )  COLOR 18 82 127 END
    CLASS NAME '-3 - -2,5 m'  EXPRESSION ( [pixel] >= -3 AND [pixel] < -2.5 )COLOR 20 90 129 END
    CLASS NAME '-2,5 - -2 m'  EXPRESSION ( [pixel] >= -2.5 AND [pixel] < -2 )COLOR 22 100 130 END
    CLASS NAME '-2 - -1,5 m'  EXPRESSION ( [pixel] >= -2 AND [pixel] < -1.5 )COLOR 24 108 131 END
    CLASS NAME '-1,5 - -1 m'  EXPRESSION ( [pixel] >= -1.5 AND [pixel] < -1 )COLOR 26 117 132 END
    CLASS NAME '-1 - -0,5 m'  EXPRESSION ( [pixel] >= -1 AND [pixel] < -0.5 )COLOR 28 126 133 END
    CLASS NAME '-0,5 - 0 m'   EXPRESSION ( [pixel] >= -0.5 AND [pixel] < 0 ) COLOR 29 135 134 END
    CLASS NAME ' 0 -  0,5 m'  EXPRESSION ( [pixel] >= 0 AND [pixel] < 0.5 )  COLOR 31 144 135 END
    CLASS NAME ' 0,5 - 1 m'   EXPRESSION ( [pixel] >= 0.5 AND [pixel] < 1 )  COLOR 33 152 136 END
    CLASS NAME ' 1 - 1,5 m'   EXPRESSION ( [pixel] >= 1 AND [pixel] < 1.5 )  COLOR 35 158 137 END
    CLASS NAME ' 1,5 - 2 m'   EXPRESSION ( [pixel] >= 1.5 AND [pixel] < 2 )  COLOR 38 163 128 END
    CLASS NAME ' 2 - 2,5 m'   EXPRESSION ( [pixel] >= 2 AND [pixel] < 2.5 )  COLOR 44 170 116 END
    CLASS NAME ' 2,5 - 3 m'   EXPRESSION ( [pixel] >= 2.5 AND [pixel] < 3 )  COLOR 49 176 104 END
    CLASS NAME ' 3 - 3,5 m'   EXPRESSION ( [pixel] >= 3 AND [pixel] < 3.5 )  COLOR 54 183 92 END
    CLASS NAME ' 3,5 - 4 m'   EXPRESSION ( [pixel] >= 3.5 AND [pixel] < 4 )  COLOR 60 190 80 END
    CLASS NAME ' 4 - 4,5 m'   EXPRESSION ( [pixel] >= 4 AND [pixel] < 4.5 )  COLOR 66 196 68 END
    CLASS NAME ' 4,5 - 5 m'   EXPRESSION ( [pixel] >= 4.5 AND [pixel] < 5 )  COLOR 72 203 56 END
    CLASS NAME ' 5 - 6 m'     EXPRESSION ( [pixel] >= 5 AND [pixel] < 6 )    COLOR 77 209 44 END
    CLASS NAME ' 6 - 7 m'     EXPRESSION ( [pixel] >= 6 AND [pixel] < 7 )    COLOR 83 216 31 END
    CLASS NAME ' 7 - 8 m'     EXPRESSION ( [pixel] >= 7 AND [pixel] < 8 )    COLOR 88 222 20 END
    CLASS NAME ' 8 - 9 m'     EXPRESSION ( [pixel] >= 8 AND [pixel] < 9 )    COLOR 94 229 8 END
    CLASS NAME ' 9 - 10 m'    EXPRESSION ( [pixel] >= 9 AND [pixel] < 10 )   COLOR 97 233 1 END
    CLASS NAME ' 10 - 12 m'   EXPRESSION ( [pixel] >= 10 AND [pixel] < 12 )  COLOR 114 234 1 END
    CLASS NAME ' 12 - 14 m'   EXPRESSION ( [pixel] >= 12 AND [pixel] < 14 )  COLOR 139 237 2 END
    CLASS NAME ' 14 - 16 m'   EXPRESSION ( [pixel] >= 14 AND [pixel] < 16 )  COLOR 162 240 2 END
    CLASS NAME ' 16 - 18 m'   EXPRESSION ( [pixel] >= 16 AND [pixel] < 18 )  COLOR 185 241 2 END
    CLASS NAME ' 18 - 20 m'   EXPRESSION ( [pixel] >= 18 AND [pixel] < 20 )  COLOR 209 244 2 END
    CLASS NAME ' 20 - 25 m'   EXPRESSION ( [pixel] >= 20 AND [pixel] < 25 )  COLOR 233 246 2 END
    CLASS NAME ' 25 - 30 m'   EXPRESSION ( [pixel] >= 25 AND [pixel] < 30 )  COLOR 252 248 3 END
    CLASS NAME ' 30 - 35 m'   EXPRESSION ( [pixel] >= 30 AND [pixel] < 35 )  COLOR 250 241 5 END
    CLASS NAME ' 35 - 40 m'   EXPRESSION ( [pixel] >= 35 AND [pixel] < 40 )  COLOR 246 232 8 END
    CLASS NAME ' 40 - 45 m'   EXPRESSION ( [pixel] >= 40 AND [pixel] < 45 )  COLOR 243 222 12 END
    CLASS NAME ' 45 - 50 m'   EXPRESSION ( [pixel] >= 45 AND [pixel] < 50 )  COLOR 240 213 15 END
    CLASS NAME ' 50 - 60 m'   EXPRESSION ( [pixel] >= 50 AND [pixel] < 60 )  COLOR 236 204 19 END
    CLASS NAME ' 60 - 70 m'   EXPRESSION ( [pixel] >= 60 AND [pixel] < 70 )  COLOR 233 195 22 END
    CLASS NAME ' 70 - 80 m'   EXPRESSION ( [pixel] >= 70 AND [pixel] < 80 )  COLOR 230 185 25 END
    CLASS NAME ' 80 - 90 m'   EXPRESSION ( [pixel] >= 80 AND [pixel] < 90 )  COLOR 226 176 28 END
    CLASS NAME ' 90 - 100 m'  EXPRESSION ( [pixel] >= 90 AND [pixel] < 100 ) COLOR 223 167 32 END
    CLASS NAME ' 100 - 125 m' EXPRESSION ( [pixel] >= 100 AND [pixel] < 125 )COLOR 219 158 35 END
    CLASS NAME ' 125 - 150 m' EXPRESSION ( [pixel] >= 125 AND [pixel] < 150 )COLOR 216 149 38 END
    CLASS NAME ' 150 - 175 m' EXPRESSION ( [pixel] >= 150 AND [pixel] < 175 )COLOR 213 139 42 END
    CLASS NAME ' 175 - 200 m' EXPRESSION ( [pixel] >= 175 AND [pixel] < 200 )COLOR 210 130 45 END
    CLASS NAME ' 200 - 250 m' EXPRESSION ( [pixel] >= 200 AND [pixel] < 250 )COLOR 206 121 48 END
    CLASS NAME ' 250 - 300 m' EXPRESSION ( [pixel] >= 250 AND [pixel] < 300 )COLOR 203 111 51 END
    CLASS NAME ' 300 - 350 m' EXPRESSION ( [pixel] > 300)                   COLOR 200 102 54 END
  END # layer hoogte
 LAYER
    GROUP "hoogtes"
    NAME "Hoogte25m"
    METADATA
     WMS_TITLE "Hoogte 25m"
     WMS_ABSTRACT "Hoogte 25m"
     WMS_NAME "Hoogte 25m"
     WMS_SRS "EPSG:28992"
     WFS_TITLE "Hoogte 25m"
     gml_include_items "value_0"
     gml_value_0_alias "hoogte"
     WMS_GROUP_TITLE   "hoogte"
    END
    PROJECTION
     "init=epsg:28992"
    END
    TILEINDEX ahn25_index
    TILEITEM "location"
    STATUS ON
    DUMP TRUE
    TEMPLATE "blank.html"
    TYPE RASTER
    UNITS METERS
   PROCESSING "SCALE=-10,400"
       PROCESSING "SCALE_BUCKETS=410"
       MINSCALE 30000
       MAXSCALE 150000

        
	      
        CLASSITEM "[pixel]"
    CLASS NAME '-12 - -7 m'   EXPRESSION ( [pixel] >= -12 AND [pixel] < -7 ) COLOR 12 49 124 END
    CLASS NAME '-7 - -6 m'    EXPRESSION ( [pixel] >= -7 AND [pixel] < -6 )  COLOR 15 55 124 END
    CLASS NAME '-6 - -5 m'    EXPRESSION ( [pixel] >= -6 AND [pixel] < -5 )  COLOR 15 64 126 END
    CLASS NAME '-5 - -4 m'    EXPRESSION ( [pixel] >= -5 AND [pixel] < -4 )  COLOR 17 73 127 END
    CLASS NAME '-4 - -3 m'    EXPRESSION ( [pixel] >= -4 AND [pixel] < -3 )  COLOR 18 82 127 END
    CLASS NAME '-3 - -2,5 m'  EXPRESSION ( [pixel] >= -3 AND [pixel] < -2.5 )COLOR 20 90 129 END
    CLASS NAME '-2,5 - -2 m'  EXPRESSION ( [pixel] >= -2.5 AND [pixel] < -2 )COLOR 22 100 130 END
    CLASS NAME '-2 - -1,5 m'  EXPRESSION ( [pixel] >= -2 AND [pixel] < -1.5 )COLOR 24 108 131 END
    CLASS NAME '-1,5 - -1 m'  EXPRESSION ( [pixel] >= -1.5 AND [pixel] < -1 )COLOR 26 117 132 END
    CLASS NAME '-1 - -0,5 m'  EXPRESSION ( [pixel] >= -1 AND [pixel] < -0.5 )COLOR 28 126 133 END
    CLASS NAME '-0,5 - 0 m'   EXPRESSION ( [pixel] >= -0.5 AND [pixel] < 0 ) COLOR 29 135 134 END
    CLASS NAME ' 0 -  0,5 m'  EXPRESSION ( [pixel] >= 0 AND [pixel] < 0.5 )  COLOR 31 144 135 END
    CLASS NAME ' 0,5 - 1 m'   EXPRESSION ( [pixel] >= 0.5 AND [pixel] < 1 )  COLOR 33 152 136 END
    CLASS NAME ' 1 - 1,5 m'   EXPRESSION ( [pixel] >= 1 AND [pixel] < 1.5 )  COLOR 35 158 137 END
    CLASS NAME ' 1,5 - 2 m'   EXPRESSION ( [pixel] >= 1.5 AND [pixel] < 2 )  COLOR 38 163 128 END
    CLASS NAME ' 2 - 2,5 m'   EXPRESSION ( [pixel] >= 2 AND [pixel] < 2.5 )  COLOR 44 170 116 END
    CLASS NAME ' 2,5 - 3 m'   EXPRESSION ( [pixel] >= 2.5 AND [pixel] < 3 )  COLOR 49 176 104 END
    CLASS NAME ' 3 - 3,5 m'   EXPRESSION ( [pixel] >= 3 AND [pixel] < 3.5 )  COLOR 54 183 92 END
    CLASS NAME ' 3,5 - 4 m'   EXPRESSION ( [pixel] >= 3.5 AND [pixel] < 4 )  COLOR 60 190 80 END
    CLASS NAME ' 4 - 4,5 m'   EXPRESSION ( [pixel] >= 4 AND [pixel] < 4.5 )  COLOR 66 196 68 END
    CLASS NAME ' 4,5 - 5 m'   EXPRESSION ( [pixel] >= 4.5 AND [pixel] < 5 )  COLOR 72 203 56 END
    CLASS NAME ' 5 - 6 m'     EXPRESSION ( [pixel] >= 5 AND [pixel] < 6 )    COLOR 77 209 44 END
    CLASS NAME ' 6 - 7 m'     EXPRESSION ( [pixel] >= 6 AND [pixel] < 7 )    COLOR 83 216 31 END
    CLASS NAME ' 7 - 8 m'     EXPRESSION ( [pixel] >= 7 AND [pixel] < 8 )    COLOR 88 222 20 END
    CLASS NAME ' 8 - 9 m'     EXPRESSION ( [pixel] >= 8 AND [pixel] < 9 )    COLOR 94 229 8 END
    CLASS NAME ' 9 - 10 m'    EXPRESSION ( [pixel] >= 9 AND [pixel] < 10 )   COLOR 97 233 1 END
    CLASS NAME ' 10 - 12 m'   EXPRESSION ( [pixel] >= 10 AND [pixel] < 12 )  COLOR 114 234 1 END
    CLASS NAME ' 12 - 14 m'   EXPRESSION ( [pixel] >= 12 AND [pixel] < 14 )  COLOR 139 237 2 END
    CLASS NAME ' 14 - 16 m'   EXPRESSION ( [pixel] >= 14 AND [pixel] < 16 )  COLOR 162 240 2 END
    CLASS NAME ' 16 - 18 m'   EXPRESSION ( [pixel] >= 16 AND [pixel] < 18 )  COLOR 185 241 2 END
    CLASS NAME ' 18 - 20 m'   EXPRESSION ( [pixel] >= 18 AND [pixel] < 20 )  COLOR 209 244 2 END
    CLASS NAME ' 20 - 25 m'   EXPRESSION ( [pixel] >= 20 AND [pixel] < 25 )  COLOR 233 246 2 END
    CLASS NAME ' 25 - 30 m'   EXPRESSION ( [pixel] >= 25 AND [pixel] < 30 )  COLOR 252 248 3 END
    CLASS NAME ' 30 - 35 m'   EXPRESSION ( [pixel] >= 30 AND [pixel] < 35 )  COLOR 250 241 5 END
    CLASS NAME ' 35 - 40 m'   EXPRESSION ( [pixel] >= 35 AND [pixel] < 40 )  COLOR 246 232 8 END
    CLASS NAME ' 40 - 45 m'   EXPRESSION ( [pixel] >= 40 AND [pixel] < 45 )  COLOR 243 222 12 END
    CLASS NAME ' 45 - 50 m'   EXPRESSION ( [pixel] >= 45 AND [pixel] < 50 )  COLOR 240 213 15 END
    CLASS NAME ' 50 - 60 m'   EXPRESSION ( [pixel] >= 50 AND [pixel] < 60 )  COLOR 236 204 19 END
    CLASS NAME ' 60 - 70 m'   EXPRESSION ( [pixel] >= 60 AND [pixel] < 70 )  COLOR 233 195 22 END
    CLASS NAME ' 70 - 80 m'   EXPRESSION ( [pixel] >= 70 AND [pixel] < 80 )  COLOR 230 185 25 END
    CLASS NAME ' 80 - 90 m'   EXPRESSION ( [pixel] >= 80 AND [pixel] < 90 )  COLOR 226 176 28 END
    CLASS NAME ' 90 - 100 m'  EXPRESSION ( [pixel] >= 90 AND [pixel] < 100 ) COLOR 223 167 32 END
    CLASS NAME ' 100 - 125 m' EXPRESSION ( [pixel] >= 100 AND [pixel] < 125 )COLOR 219 158 35 END
    CLASS NAME ' 125 - 150 m' EXPRESSION ( [pixel] >= 125 AND [pixel] < 150 )COLOR 216 149 38 END
    CLASS NAME ' 150 - 175 m' EXPRESSION ( [pixel] >= 150 AND [pixel] < 175 )COLOR 213 139 42 END
    CLASS NAME ' 175 - 200 m' EXPRESSION ( [pixel] >= 175 AND [pixel] < 200 )COLOR 210 130 45 END
    CLASS NAME ' 200 - 250 m' EXPRESSION ( [pixel] >= 200 AND [pixel] < 250 )COLOR 206 121 48 END
    CLASS NAME ' 250 - 300 m' EXPRESSION ( [pixel] >= 250 AND [pixel] < 300 )COLOR 203 111 51 END
    CLASS NAME ' 300 - 350 m' EXPRESSION ( [pixel] > 300)                   COLOR 200 102 54 END
  END # layer hoogte
   LAYER
    GROUP "hoogtes"
    NAME "Hoogte"
    METADATA
     WMS_TITLE "Hoogte 5m"
     WMS_ABSTRACT "Hoogte 5m"
     WMS_NAME "Hoogte 5m"
     WMS_SRS "EPSG:28992"
     WFS_TITLE "Hoogte 5m"
     gml_include_items "value_0"
     gml_value_0_alias "hoogte"
     WMS_GROUP_TITLE   "hoogte"
    END
    PROJECTION
     "init=epsg:28992"
    END
    TILEINDEX ahn5_index.shp
    TILEITEM "Location"
    STATUS ON
    DUMP TRUE
    TEMPLATE "blank.html"
    TYPE RASTER
    UNITS METERS
   PROCESSING "SCALE=-10,400"
       PROCESSING "SCALE_BUCKETS=410"
       MINSCALE 1000
       MAXSCALE 30000

         
        CLASSITEM "[pixel]"
    CLASS NAME '-12 - -7 m'   EXPRESSION ( [pixel] >= -12 AND [pixel] < -7 ) COLOR 12 49 124 END
    CLASS NAME '-7 - -6 m'    EXPRESSION ( [pixel] >= -7 AND [pixel] < -6 )  COLOR 15 55 124 END
    CLASS NAME '-6 - -5 m'    EXPRESSION ( [pixel] >= -6 AND [pixel] < -5 )  COLOR 15 64 126 END
    CLASS NAME '-5 - -4 m'    EXPRESSION ( [pixel] >= -5 AND [pixel] < -4 )  COLOR 17 73 127 END
    CLASS NAME '-4 - -3 m'    EXPRESSION ( [pixel] >= -4 AND [pixel] < -3 )  COLOR 18 82 127 END
    CLASS NAME '-3 - -2,5 m'  EXPRESSION ( [pixel] >= -3 AND [pixel] < -2.5 )COLOR 20 90 129 END
    CLASS NAME '-2,5 - -2 m'  EXPRESSION ( [pixel] >= -2.5 AND [pixel] < -2 )COLOR 22 100 130 END
    CLASS NAME '-2 - -1,5 m'  EXPRESSION ( [pixel] >= -2 AND [pixel] < -1.5 )COLOR 24 108 131 END
    CLASS NAME '-1,5 - -1 m'  EXPRESSION ( [pixel] >= -1.5 AND [pixel] < -1 )COLOR 26 117 132 END
    CLASS NAME '-1 - -0,5 m'  EXPRESSION ( [pixel] >= -1 AND [pixel] < -0.5 )COLOR 28 126 133 END
    CLASS NAME '-0,5 - 0 m'   EXPRESSION ( [pixel] >= -0.5 AND [pixel] < 0 ) COLOR 29 135 134 END
    CLASS NAME ' 0 -  0,5 m'  EXPRESSION ( [pixel] >= 0 AND [pixel] < 0.5 )  COLOR 31 144 135 END
    CLASS NAME ' 0,5 - 1 m'   EXPRESSION ( [pixel] >= 0.5 AND [pixel] < 1 )  COLOR 33 152 136 END
    CLASS NAME ' 1 - 1,5 m'   EXPRESSION ( [pixel] >= 1 AND [pixel] < 1.5 )  COLOR 35 158 137 END
    CLASS NAME ' 1,5 - 2 m'   EXPRESSION ( [pixel] >= 1.5 AND [pixel] < 2 )  COLOR 38 163 128 END
    CLASS NAME ' 2 - 2,5 m'   EXPRESSION ( [pixel] >= 2 AND [pixel] < 2.5 )  COLOR 44 170 116 END
    CLASS NAME ' 2,5 - 3 m'   EXPRESSION ( [pixel] >= 2.5 AND [pixel] < 3 )  COLOR 49 176 104 END
    CLASS NAME ' 3 - 3,5 m'   EXPRESSION ( [pixel] >= 3 AND [pixel] < 3.5 )  COLOR 54 183 92 END
    CLASS NAME ' 3,5 - 4 m'   EXPRESSION ( [pixel] >= 3.5 AND [pixel] < 4 )  COLOR 60 190 80 END
    CLASS NAME ' 4 - 4,5 m'   EXPRESSION ( [pixel] >= 4 AND [pixel] < 4.5 )  COLOR 66 196 68 END
    CLASS NAME ' 4,5 - 5 m'   EXPRESSION ( [pixel] >= 4.5 AND [pixel] < 5 )  COLOR 72 203 56 END
    CLASS NAME ' 5 - 6 m'     EXPRESSION ( [pixel] >= 5 AND [pixel] < 6 )    COLOR 77 209 44 END
    CLASS NAME ' 6 - 7 m'     EXPRESSION ( [pixel] >= 6 AND [pixel] < 7 )    COLOR 83 216 31 END
    CLASS NAME ' 7 - 8 m'     EXPRESSION ( [pixel] >= 7 AND [pixel] < 8 )    COLOR 88 222 20 END
    CLASS NAME ' 8 - 9 m'     EXPRESSION ( [pixel] >= 8 AND [pixel] < 9 )    COLOR 94 229 8 END
    CLASS NAME ' 9 - 10 m'    EXPRESSION ( [pixel] >= 9 AND [pixel] < 10 )   COLOR 97 233 1 END
    CLASS NAME ' 10 - 12 m'   EXPRESSION ( [pixel] >= 10 AND [pixel] < 12 )  COLOR 114 234 1 END
    CLASS NAME ' 12 - 14 m'   EXPRESSION ( [pixel] >= 12 AND [pixel] < 14 )  COLOR 139 237 2 END
    CLASS NAME ' 14 - 16 m'   EXPRESSION ( [pixel] >= 14 AND [pixel] < 16 )  COLOR 162 240 2 END
    CLASS NAME ' 16 - 18 m'   EXPRESSION ( [pixel] >= 16 AND [pixel] < 18 )  COLOR 185 241 2 END
    CLASS NAME ' 18 - 20 m'   EXPRESSION ( [pixel] >= 18 AND [pixel] < 20 )  COLOR 209 244 2 END
    CLASS NAME ' 20 - 25 m'   EXPRESSION ( [pixel] >= 20 AND [pixel] < 25 )  COLOR 233 246 2 END
    CLASS NAME ' 25 - 30 m'   EXPRESSION ( [pixel] >= 25 AND [pixel] < 30 )  COLOR 252 248 3 END
    CLASS NAME ' 30 - 35 m'   EXPRESSION ( [pixel] >= 30 AND [pixel] < 35 )  COLOR 250 241 5 END
    CLASS NAME ' 35 - 40 m'   EXPRESSION ( [pixel] >= 35 AND [pixel] < 40 )  COLOR 246 232 8 END
    CLASS NAME ' 40 - 45 m'   EXPRESSION ( [pixel] >= 40 AND [pixel] < 45 )  COLOR 243 222 12 END
    CLASS NAME ' 45 - 50 m'   EXPRESSION ( [pixel] >= 45 AND [pixel] < 50 )  COLOR 240 213 15 END
    CLASS NAME ' 50 - 60 m'   EXPRESSION ( [pixel] >= 50 AND [pixel] < 60 )  COLOR 236 204 19 END
    CLASS NAME ' 60 - 70 m'   EXPRESSION ( [pixel] >= 60 AND [pixel] < 70 )  COLOR 233 195 22 END
    CLASS NAME ' 70 - 80 m'   EXPRESSION ( [pixel] >= 70 AND [pixel] < 80 )  COLOR 230 185 25 END
    CLASS NAME ' 80 - 90 m'   EXPRESSION ( [pixel] >= 80 AND [pixel] < 90 )  COLOR 226 176 28 END
    CLASS NAME ' 90 - 100 m'  EXPRESSION ( [pixel] >= 90 AND [pixel] < 100 ) COLOR 223 167 32 END
    CLASS NAME ' 100 - 125 m' EXPRESSION ( [pixel] >= 100 AND [pixel] < 125 )COLOR 219 158 35 END
    CLASS NAME ' 125 - 150 m' EXPRESSION ( [pixel] >= 125 AND [pixel] < 150 )COLOR 216 149 38 END
    CLASS NAME ' 150 - 175 m' EXPRESSION ( [pixel] >= 150 AND [pixel] < 175 )COLOR 213 139 42 END
    CLASS NAME ' 175 - 200 m' EXPRESSION ( [pixel] >= 175 AND [pixel] < 200 )COLOR 210 130 45 END
    CLASS NAME ' 200 - 250 m' EXPRESSION ( [pixel] >= 200 AND [pixel] < 250 )COLOR 206 121 48 END
    CLASS NAME ' 250 - 300 m' EXPRESSION ( [pixel] >= 250 AND [pixel] < 300 )COLOR 203 111 51 END
    CLASS NAME ' 300 - 350 m' EXPRESSION ( [pixel] > 300)                   COLOR 200 102 54 END
  END # layer hoogte
#### The following layers serve as reference:

  LAYER
    NAME "_top250vlakken"
    GROUP "Referentielijnen"
    METADATA
      WMS_TITLE         "top250 vlakken"
      WMS_ABSTRACT      "top250 vlakken"
      WMS_SRS           "EPSG:28992"
      WMS_GROUP_TITLE   "Referentielijnen"
    END
    PROJECTION
      "init=epsg:28992"
    END
    DATA "geom from top250_vlakken"
    CONNECTION "user=edugis password=edugis dbname=edugisdb1 host=localhost port=5432"
    CONNECTIONTYPE postgis
    PROCESSING "CLOSE_CONNECTION=DEFER"
    TYPE POLYGON
    UNITS METERS
    MAXSCALE 150000
    MINSCALE 50000
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    CLASS
      STYLE
        OUTLINECOLOR 160 160 160
      END
    END
  END # layer top250vlakken

  LAYER
    NAME "_top250lijnen"
    GROUP "Referentielijnen"
    METADATA
     WMS_TITLE        "top250 lijnen"
     WMS_ABSTRACT     "top250 lijnen"
     WMS_SRS          "EPSG:28992"
     WMS_GROUP_TITLE  "Referentielijnen"
    END
    PROJECTION
     "init=epsg:28992"
    END
    DATA "geom from top250_lijnen"
    CONNECTION "user=edugis password=edugis dbname=edugisdb1 host=localhost port=5432"
    CONNECTIONTYPE postgis
    PROCESSING "CLOSE_CONNECTION=DEFER"
    TYPE LINE
    UNITS METERS
    MAXSCALE 150000
    MINSCALE 50000
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    CLASS
      STYLE
        OUTLINECOLOR 160 160 160
      END
    END
  END #layer top250lijnen

  LAYER
    NAME "_top50vlakken"
    GROUP "Referentielijnen"
    METADATA
      WMS_TITLE         "top50 vlakken"
      WMS_ABSTRACT      "top50 vlakken"
      WMS_SRS           "EPSG:28992"
      WMS_GROUP_TITLE   "Referentielijnen"
    END
    PROJECTION
      "init=epsg:28992"
    END
    DATA "geom from top050_vlakken"
    CONNECTION "user=edugis password=edugis dbname=edugisdb1 host=localhost port=5432"
    CONNECTIONTYPE postgis
    PROCESSING "CLOSE_CONNECTION=DEFER"
    TYPE POLYGON
    UNITS METERS
    MAXSCALE 49999
    MINSCALE 1000
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    CLASS
      STYLE
        OUTLINECOLOR 160 160 160
      END
    END
  END #layer top50vlakken

  LAYER
    NAME "_top50lijnen"
    GROUP "Referentielijnen"
    METADATA
     WMS_TITLE          "top50 lijnen"
     WMS_ABSTRACT       "top50 lijnen"
     WMS_SRS            "EPSG:28992"
     WMS_GROUP_TITLE    "Referentielijnen"
    END
    PROJECTION
     "init=epsg:28992"
    END
    DATA "geom from top050_lijnen"
    CONNECTION "user=edugis password=edugis dbname=edugisdb1 host=localhost port=5432"
    CONNECTIONTYPE postgis
    PROCESSING "CLOSE_CONNECTION=DEFER"
    TYPE LINE
    UNITS METERS
    MAXSCALE 49999
    MINSCALE 1000
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    CLASS
      STYLE
        OUTLINECOLOR 160 160 160
      END
    END #layer top50lijnen
  END

END #map