Index: trunk/umn/alkis/alkis_muster_entw.map
===================================================================
--- trunk/umn/alkis/alkis_muster_entw.map	(revision 347)
+++ trunk/umn/alkis/alkis_muster_entw.map	(revision 349)
@@ -28,4 +28,5 @@
 # 2014-10-28 F.J. krz: Versuch "OPACITY 80" auf "nutzung_alle"
 # 2014-10-29 F.J. krz: StraÃennamen auf Liniengeometrie besser positionieren
+# 2014-12-16 F.J. krz: 3 Layer in Gebiete auf Views umgestellt
 
 ###
@@ -59,5 +60,5 @@
 	EXTENT 349000 5529000 356000 5533000
 	PROJECTION "init=epsg:25832" END
-	MAXSIZE 8400
+	MAXSIZE 4200
 	SYMBOLSET "symbols/symbols_alkis.sym"
 	FONTSET "fonts/fonts_alkis.fnt"
@@ -1317,5 +1318,8 @@
 	CONNECTION "host=10.0.100.73 dbname=alkis08*gkz* user=ms6 port=5432"
 	PROCESSING "CLOSE_CONNECTION=DEFER"
-	DATA "the_geom from (SELECT gid, gemarkung, flurnummer, the_geom FROM pp_flur) as foo using unique gid using SRID=25832"
+
+#	DATA "the_geom from (SELECT gid, gemarkung, flurnummer, the_geom FROM pp_flur) as foo using unique gid using SRID=25832"
+	DATA "the_geom FROM gebiet_flur as foo using unique gid using SRID=25832"
+
 	METADATA
 		wms_title "Flur"
@@ -1329,5 +1333,5 @@
 	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM  1600
-	MAXSCALEDENOM 20000
+	MAXSCALEDENOM 26000
 	CLASS
 		NAME "Flur"
@@ -1338,13 +1342,12 @@
 		END
 		LABEL
-			TYPE TRUETYPE
+			TYPE TRUETYPE FONT "arial"
 			COLOR 100 150 10
-			FONT "arial"
-			SIZE 14
+			SIZE 13
 			POSITION cc # FÃŒr Kachelung im Mapproxy sollte es an fixem Punkt stehen, wie?
-			PARTIALS FALSE FORCE FALSE
+			PARTIALS false FORCE false
 			STYLE
 				GEOMTRANSFORM 'labelpoly'
-				COLOR 250 250 250
+				COLOR 250 250 250 OPACITY 60
 			END
 		END
@@ -1359,5 +1362,6 @@
 	CONNECTION "host=10.0.100.73 dbname=alkis08*gkz* user=ms6 port=5432"
 	PROCESSING "CLOSE_CONNECTION=DEFER"
-	DATA "simple_geom from (SELECT gid, gemarkungsname, simple_geom FROM pp_gemarkung) as foo using unique gid using SRID=25832"
+#	DATA "simple_geom from (SELECT gid, gemarkungsname, simple_geom FROM pp_gemarkung) as foo using unique gid using SRID=25832"
+	DATA "simple_geom FROM gebiet_gemarkung as foo using unique gid using SRID=25832"
 	METADATA
 		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
@@ -1369,5 +1373,5 @@
 	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM  4000
-	MAXSCALEDENOM 40000
+	MAXSCALEDENOM 48000
 	LABELITEM gemarkungsname
 	CLASS
@@ -1375,17 +1379,15 @@
 		STYLE
 			OUTLINECOLOR 140 80 0
-			WIDTH 5
+			WIDTH 4
 		END
 		LABEL
-			TYPE TRUETYPE
+			TYPE TRUETYPE FONT "arial"
 			COLOR 140 80 0
-			FONT "arial"
 			SIZE 16
-			POSITION cc
-			OFFSET 0 10
-			PARTIALS FALSE FORCE FALSE
+			POSITION cc OFFSET 0 10
+			PARTIALS false FORCE false
 			STYLE
 				GEOMTRANSFORM 'labelpoly'
-				COLOR 250 250 250
+				COLOR 250 250 250 OPACITY 60
 			END
 		END
@@ -1400,10 +1402,11 @@
 	CONNECTION "host=10.0.100.73 dbname=alkis08*gkz* user=ms6 port=5432"
 	PROCESSING "CLOSE_CONNECTION=DEFER"
-	DATA "simple_geom from (SELECT gid, gemeindename, simple_geom FROM pp_gemeinde) as foo using unique gid using SRID=25832"
+#	DATA "simple_geom from (SELECT gid, gemeindename, simple_geom FROM pp_gemeinde) as foo using unique gid using SRID=25832"
+	DATA "simple_geom FROM gebiet_gemeinde as foo using unique gid using SRID=25832"
 	METADATA
 		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
 		wms_title "Gemeinde"
 		wms_abstract "GemeindeflÃ€che (vereinfachte Geometrie). FlÃ€che durch Zusammenfassen der Gemarkungen."
-		gml_include_items "all"
+		#gml_include_items "all"
 	END
 	#PROJECTION "init=epsg:25832" END
@@ -1415,19 +1418,16 @@
 		NAME "Gemeinde"
 		STYLE
-			OUTLINECOLOR 10 10 200
-			WIDTH 7
+			OUTLINECOLOR 10 10 200 # blau
+			WIDTH 5
 		END
 		LABEL
-			TYPE TRUETYPE
+			TYPE TRUETYPE FONT "arial"
 			COLOR 10 10 200
-			FONT "arial"
 			SIZE 20
-			POSITION cc
-			OFFSET 0 -20
-			PARTIALS FALSE
-			FORCE FALSE
+			POSITION cc OFFSET 0 -20
+			PARTIALS false FORCE false
 			STYLE
 				GEOMTRANSFORM 'labelpoly'
-				COLOR 250 250 250
+				COLOR 250 250 250 OPACITY 60
 			END
 		END
@@ -3843,5 +3843,4 @@
 	#PROJECTION "init=epsg:25832" END
 	#EXTENT 349000 5529000 356000 5533000
-	#MINSCALEDENOM 50
 	MAXSCALEDENOM 2500 # 4000
 	SYMBOLSCALEDENOM 1000
@@ -3866,7 +3865,4 @@
 		EXPRESSION ('[art]' eq 'Strasse' AND '[hor]' eq 'zentrisch' AND '[ver]' eq 'Mitte')
 		#NAME 'StraÃe'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1
-	#	END
 		LABEL
 			SIZE 8 MINSIZE 6 MAXSIZE 16
@@ -3880,7 +3876,4 @@
 		EXPRESSION ('[art]' eq 'Strasse') 
 		NAME 'StraÃe'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1 MINSIZE 1
-	#	END
 		LABEL
 			SIZE 8 MINSIZE 6 MAXSIZE 16
@@ -3896,7 +3889,4 @@
 		EXPRESSION ('[art]' eq 'Weg' AND '[hor]' eq 'linksbÃŒndig' AND '[ver]' eq 'Basis')
 		#NAME 'Weg'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1
-	#	END
 		LABEL
 			SIZE 7 MINSIZE 5 MAXSIZE 14
@@ -3911,7 +3901,4 @@
 		EXPRESSION ('[art]' eq 'Weg' AND '[hor]' eq 'zentrisch' AND '[ver]' eq 'Mitte')
 		#NAME 'Weg'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1
-	#	END
 		LABEL
 			SIZE 7 MINSIZE 5 MAXSIZE 14
@@ -3925,7 +3912,4 @@
 		EXPRESSION ('[art]' eq 'Weg')
 		NAME 'Weg'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1
-	#	END
 		LABEL
 			SIZE 7 MINSIZE 5 MAXSIZE 14
@@ -3939,10 +3923,6 @@
 	# Platz 
 	CLASS
-		#EXPRESSION 'Platz'
 		EXPRESSION ('[art]' eq 'Platz' AND '[ver]' eq 'Mitte')
 		#NAME 'Platz'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1
-	#	END
 		LABEL
 			SIZE 9 MINSIZE 7 MAXSIZE 20
@@ -3954,10 +3934,6 @@
 	END
 	CLASS
-		#EXPRESSION 'Platz'
 		EXPRESSION ('[art]' eq 'Platz')
 		NAME 'Platz'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1
-	#	END
 		LABEL
 			SIZE 9 MINSIZE 7 MAXSIZE 20
@@ -3974,7 +3950,4 @@
 		EXPRESSION ('[art]' eq 'BezKlassifizierungStrasse' AND '[hor]' eq 'linksbÃŒndig')
 		#NAME 'Klassifizierung'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1
-	#	END
 		LABEL
 			SIZE 10 MINSIZE 8 MAXSIZE 20
@@ -3989,7 +3962,4 @@
 		EXPRESSION ('[art]' eq 'BezKlassifizierungStrasse')
 		NAME 'Klassifizierung'
-	#	STYLE
-	#		SYMBOL "point" SIZE 1 MINSIZE 1
-	#	END
 		LABEL
 			SIZE 10 MINSIZE 8 MAXSIZE 20
@@ -4002,7 +3972,5 @@
 END
 
-#### +++++++++++++++++++  ToDo: SCALE und Position in _4 ÃŒbertragen +++++++
-
-LAYER # 2014-08-25 Neu: wie zuvor, aber positioniert ÃŒber Linie
+LAYER # wie zuvor, aber positioniert ÃŒber Linie
 	NAME "ap_lto_stra"
 	GROUP "praesentation"
@@ -4035,8 +4003,8 @@
 		#	SYMBOL "point" SIZE 1
 		#END
-	#	STYLE # TEST: Positionierungs-Linie sichtbar machen
-	#		COLOR 250 40 40 PATTERN 4 8 END # rot
-	#		WIDTH 1 MINWIDTH 1 MAXWIDTH 1
-	#	END
+		STYLE # TEST: Positionierungs-Linie sichtbar machen
+			COLOR 250 40 40 PATTERN 4 8 END # rot
+			WIDTH 1 MINWIDTH 1 MAXWIDTH 1
+		END
 		LABEL
 			SIZE 8 MINSIZE 6 MAXSIZE 16
@@ -4058,8 +4026,8 @@
 	CLASS
 		EXPRESSION ('[art]' eq 'Strasse' AND '[hor]' eq 'zentrisch' AND '[ver]' eq 'Mitte')
-	#	STYLE
-	#		COLOR 40 250 40 PATTERN 4 8 END # grÃŒn
-	#		WIDTH 1 MINWIDTH 1 MAXWIDTH 1
-	#	END
+		STYLE
+			COLOR 40 250 40 PATTERN 4 8 END # grÃŒn
+			WIDTH 1 MINWIDTH 1 MAXWIDTH 1
+		END
 		LABEL
 			SIZE 8 MINSIZE 6 MAXSIZE 16
@@ -4074,8 +4042,8 @@
 		EXPRESSION ('[art]' eq 'Strasse') 
 		NAME 'StraÃe'
-	#	STYLE
-	#		COLOR 40 40 250 PATTERN 4 8 END # blau
-	#		WIDTH 1 MINWIDTH 1 MAXWIDTH 1
-	#	END
+		STYLE
+			COLOR 40 40 250 PATTERN 4 8 END # blau
+			WIDTH 1 MINWIDTH 1 MAXWIDTH 1
+		END
 		LABEL
 			SIZE 8 MINSIZE 6 MAXSIZE 16
@@ -4087,4 +4055,8 @@
 		END
 	END
+
+# SELECT schriftinhalt FROM ap_lto 
+# WHERE art='Strasse' AND 'DKKM1000'=ANY(advstandardmodell) AND horizontaleausrichtung='linksbÃŒndig' 
+# AND NOT schriftinhalt IS NULL ORDER BY schriftinhalt;
 
 	# Weg
