MAP NAME global_map
STATUS ON
SIZE 800 600	
# Extent, Scale = Platzhalter
EXTENT 110379 346460 115131 351417
UNITS meters
IMAGECOLOR 255 255 255
IMAGETYPE png24
FONTSET "c:/ms4w/apps/gmap-ms46/etc/fonts.txt" 
SYMBOLSET "c:/ms4w/Apache/htdocs/ka-map-1.0/TEFsource/TEFstylesheet/symbols.sym"
DEBUG ON
CONFIG "MS_ERRORFILE" "/ms4w/Temp/mapserver.log"
PROJECTION
         "init=epsg:31282"
END

  WEB
    TEMPLATE '/ms4w/Apache/htdocs/ka-map-1.0/index.php'
  END

##################################### 
# Symbol symbol-layer or annotation
	SYMBOL
	     NAME "poi01"					# Bezirkshauptstaedte			
	     TYPE pixmap
	     IMAGE "c:/ms4w/Apache/htdocs/ka-map-1.0/TEFsource/TEFicons/poi_01_on.png"
	END
  
##################################### 
#  Legend
   LEGEND
   STATUS ON   
   KEYSIZE 18 12
	TEMPLATE 'legend.html'   
   LABEL
     TYPE BITMAP
     SIZE MEDIUM
     COLOR 0 0 89
   END
 END
############################################
LAYER
   NAME o5735x05
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5735x05.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5735x01
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5735x01.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5736x13
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5736x13.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5735x06
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5735x06.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5735x02
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5735x02.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5736x14
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5736x14.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5735x07
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5735x07.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5735x03
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5735x03.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME o5736x15
   GROUP Orthofotos
   STATUS ON
   MAXSCALE 300000
   TYPE RASTER
   DATA 'C:/ms4w/Apache/htdocs/Ortho/o5736x15.ecw'
   CLASS
      STYLE
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Kataster_region
   GROUP Kataster
   STATUS OFF
   MAXSCALE 300000
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/Karte_Kataster/43022GST'
   LABELITEM 'GNR'
   CLASS
      STYLE
         COLOR 255 0 255
         OUTLINECOLOR 200 200 200
         WIDTH 1
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Kataster_nutzung
   GROUP Kataster
   STATUS OFF
   MAXSCALE 300000
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/Karte_Kataster/43022NFL'
   CLASS
      STYLE
         COLOR 0 255 255
         OUTLINECOLOR 0 255 255
         WIDTH 1
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME zobject1
   GROUP zobject1
   STATUS ON
   MAXSCALE 30000
   TYPE POLYGON
   CONNECTIONTYPE postgis
   CONNECTION 'user=postgres password=susi dbname=tefisdb host=localhost port=5432'
   DATA  'the_geom FROM zobject1 USING UNIQUE GID1 USING SRID=31282'
   PROJECTION
   		'init=epsg:31282'
   END
   PROCESSING 'CLOSE_CONNECTION=DEFER'
   LABELITEM 'uabt'
   CLASS
      NAME 'Bloesse'
      EXPRESSION ("[akl]"="Bl")
      STYLE
         COLOR 200 200 200
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'AKL I'
      EXPRESSION ("[akl]"="I")
      STYLE
         COLOR 255 255 0
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'AKL II'
      EXPRESSION ("[akl]"="II")
      STYLE
         COLOR 255 0 0
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'AKL III'
      EXPRESSION ("[akl]"="III")
      STYLE
         COLOR 100 200 100
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'AKL IV'
      EXPRESSION ("[akl]"="IV")
      STYLE
         COLOR 050 150 250
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'AKL V'
      EXPRESSION ("[akl]"="V")
      STYLE
         COLOR 100 100 100
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'AKL VI'
      EXPRESSION ("[akl]"="VI")
      STYLE
         COLOR 100 100 0
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'undef.'
      EXPRESSION ("[akl]"="-")
      STYLE
         COLOR 200 200 200
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
   CLASS
      NAME 'ug.-altrig'
      EXPRESSION ("[akl]"="ug")
      STYLE
         COLOR 255 0 255
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME zobject2
   GROUP zobject2
   STATUS ON
   MAXSCALE 30000
   TYPE ANNOTATION
   CONNECTIONTYPE postgis
   CONNECTION 'user=postgres password=susi dbname=tefisdb host=localhost port=5432'
   DATA  'the_geom FROM zobject2 USING UNIQUE GID2 USING SRID=31282'
   PROJECTION
   		'init=epsg:31282'
   END
   PROCESSING 'CLOSE_CONNECTION=DEFER'
   LABELITEM 'text'
   CLASS
      NAME 'Bezeichnung'
      STYLE
         COLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME zobject3
   GROUP zobject3
   STATUS ON
   MAXSCALE 30000
   TYPE LINE
   CONNECTIONTYPE postgis
   CONNECTION 'user=postgres password=susi dbname=tefisdb host=localhost port=5432'
   DATA  'the_geom FROM zobject3 USING UNIQUE GID3 USING SRID=31282'
   PROJECTION
   		'init=epsg:31282'
   END
   PROCESSING 'CLOSE_CONNECTION=DEFER'
   CLASS
      NAME 'Wege'
      STYLE
         COLOR 100 0 0
         OUTLINECOLOR 100 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME zobject4
   GROUP zobject4
   STATUS ON
   MAXSCALE 30000
   TYPE LINE
   CONNECTIONTYPE postgis
   CONNECTION 'user=postgres password=susi dbname=tefisdb host=localhost port=5432'
   DATA  'the_geom FROM zobject4 USING UNIQUE GID4 USING SRID=31282'
   PROJECTION
   		'init=epsg:31282'
   END
   PROCESSING 'CLOSE_CONNECTION=DEFER'
   CLASS
      NAME 'NHB'
      STYLE
         COLOR 0 0 0
         OUTLINECOLOR 0 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME zobject5
   GROUP zobject5
   STATUS ON
   MAXSCALE 30000
   TYPE LINE
   CONNECTIONTYPE postgis
   CONNECTION 'user=postgres password=susi dbname=tefisdb host=localhost port=5432'
   DATA  'the_geom FROM zobject5 USING UNIQUE GID5 USING SRID=31282'
   PROJECTION
   		'init=epsg:31282'
   END
   PROCESSING 'CLOSE_CONNECTION=DEFER'
   CLASS
      NAME 'Nutzungen'
      STYLE
         COLOR 255 0 255
         OUTLINECOLOR 255 0 255
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Autobahn
   GROUP OOE
   STATUS ON
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/KarteDB_OOE/autobahn'
   CLASS
      STYLE
         COLOR 255 0 0
         OUTLINECOLOR 255 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Bundesstrasse
   GROUP OOE
   STATUS ON
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/KarteDB_OOE/bundesstrassen'
   CLASS
      STYLE
         COLOR 255 0 0
         OUTLINECOLOR 255 0 0
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Gewaesser
   GROUP OOE
   STATUS ON
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/KarteDB_OOE/gewaesser'
   CLASS
      STYLE
         COLOR 0 0 255
         OUTLINECOLOR 0 0 255
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Seen
   GROUP OOE
   STATUS ON
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/KarteDB_OOE/seen'
   CLASS
      STYLE
         COLOR 0 0 255
         OUTLINECOLOR 0 0 255
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Gemeinden
   GROUP OOE
   STATUS ON
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/KarteDB_OOE/gemeinden'
   LABELITEM 'GEM_NAME'
   CLASS
      STYLE
         COLOR 255 0 255
         OUTLINECOLOR 255 0 255
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Bezirk-Hauptorte
   GROUP OOE
   STATUS ON
   TYPE POINT
   DATA 'C:/ms4w/Apache/htdocs/KarteDB_OOE/bez_hauptorte'
   LABELITEM 'ort'
   CLASS
      SYMBOL 'poi01'
      SIZE 10
      COLOR 0 255 255
      STYLE
         COLOR 0 255 255
         OUTLINECOLOR 255 255 255
         WIDTH 1
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
############################################
LAYER
   NAME Bezirke
   GROUP OOE
   STATUS ON
   TYPE LINE
   DATA 'C:/ms4w/Apache/htdocs/KarteDB_OOE/bezirke'
   CLASS
      STYLE
         COLOR 0 255 0
         OUTLINECOLOR 200 200 200
         WIDTH 2
      END
      LABEL
         TYPE TRUETYPE
         FONT 'sans'
         SIZE 10
         POSITION ur
         Color 0 0 0
      END
   END
   TEMPLATE 'dummy.html'
END
END