Index: trunk/umn/alkis/alkis_muster_entw_4.map
===================================================================
--- trunk/umn/alkis/alkis_muster_entw_4.map	(revision 351)
+++ trunk/umn/alkis/alkis_muster_entw_4.map	(revision 358)
@@ -8,4 +8,6 @@
 # 2014-12-16 F.J. krz: 3 Layer in Gebiete auf Views umgestellt
 # 2015-01-08 F.J. krz: Gemarkungsname ÃŒber Flur-Nummer anzeigen
+# 2015-01-15 F.J. krz: Korrekturen "Hausnummer", EntfÃ€llt: Layer "Zuordnungspfeile GebÃ€ude"
+# 2016-01-11 F.J. krz: Mapserver7, neue SRS
 
 MAP
@@ -21,11 +23,9 @@
 		METADATA
 			wms_title "ALKIS_"
-			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 			wms_encoding "UTF-8"
-			wms_onlineresource "http://ows.krz.de/cgi-bin/mapserv6?map=/opt/gdi/alkis08/alkis08*gkz*a_4.map"
-			ows_schema_location ".."
+			wms_onlineresource "http://ows.krz.de/cgi-bin/mapserv7?map=/opt/gdi/alkis08/alkis08*gkz*a_4.map"
+			wms_schema_location ".."
 			wms_enable_request "getmap"
-			wms_box_extended "true"
-			#include "meta_contact.map"
 		END
 	END
@@ -51,9 +51,7 @@
 	DATA "wkb_geometry from (SELECT gml_id, nutz_id, class, wkb_geometry FROM nutzung) as foo using unique gml_id using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "alle Nutzungsarten"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 10000
@@ -339,10 +337,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_wohnbauflaeche WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "WohnbauflÃ€che"
 		wms_group_title "Nutzung " # nur im ersten Layer der Gruppe
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -365,9 +361,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, funktion, wkb_geometry FROM ax_industrieundgewerbeflaeche WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Industrie- und GewerbeflÃ€che"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -392,9 +386,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry  FROM ax_halde WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Halde"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 # 50
 	MAXSCALEDENOM 2500 #10000
@@ -417,9 +409,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_bergbaubetrieb WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bergbaubetrieb"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1250 #5000
@@ -441,10 +431,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_tagebaugrubesteinbruch WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Tagebau, Grube, Steinbruch"
 		#wms_abstract "Tagebau, Grube, Steinbruch"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -467,9 +455,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_flaechegemischternutzung WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "FlÃ€che gemischter Nutzung"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1250 #5000
@@ -492,9 +478,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_flaechebesondererfunktionalerpraegung WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "FlÃ€che besonderer funktionaler PrÃ€gung"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1250 #5000
@@ -517,9 +501,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, funktion, wkb_geometry FROM ax_sportfreizeitunderholungsflaeche WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Sport-, Freizeit- und ErholungsflÃ€che"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -543,9 +525,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_friedhof WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Friedhof"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 3750 #15000
@@ -570,9 +550,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, funktion, wkb_geometry FROM ax_strassenverkehr WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "StraÃenverkehr"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -628,9 +606,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_weg WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Weg"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -653,9 +629,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, funktion, wkb_geometry FROM ax_platz WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Platz"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -686,9 +660,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, funktion, wkb_geometry FROM ax_bahnverkehr WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bahnverkehr"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1250 #5000
@@ -712,9 +684,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_flugverkehr WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Flugverkehr"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -738,10 +708,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_schiffsverkehr WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Schiffsverkehr"
 		#wms_abstract "'Schiffsverkehr' umfasst die baulich geprÃ€gte FlÃ€che und die mit ihr in Zusammenhang stehende FreiflÃ€che, die ausschlieÃlich oder vorwiegend dem Schiffsverkehr dient."
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1250 #5000
@@ -765,9 +733,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, vegetationsmerkmal, wkb_geometry FROM ax_landwirtschaft WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Landwirtschaft"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -807,9 +773,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_wald WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Wald"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -831,9 +795,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_gehoelz WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "GehÃ¶lz"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -855,9 +817,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_heide WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Heide"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -879,9 +839,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_moor WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Moor"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1250 #5000
@@ -903,9 +861,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_sumpf WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Sumpf"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -928,9 +884,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_unlandvegetationsloseflaeche WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Unland"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -953,9 +907,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_vegetationsmerkmal WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Vegetationsmerkmal"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1250 #5000
@@ -978,9 +930,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_fliessgewaesser WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "FlieÃgewÃ€sser"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -1003,9 +953,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_hafenbecken WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Hafenbecken"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1250 #5000
@@ -1028,9 +976,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_stehendesgewaesser WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "stehendes GewÃ€sser"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -1055,9 +1001,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, funktion, wkb_geometry FROM ax_untergeordnetesgewaesser WHERE st_geometrytype(wkb_geometry) = 'ST_Polygon' AND endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Untergeordnetes GewÃ€sser (FlÃ€chen)"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1250 #5000
@@ -1105,9 +1049,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, funktion, wkb_geometry FROM ax_untergeordnetesgewaesser WHERE st_geometrytype(wkb_geometry) = 'ST_LineString' AND endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Untergeordnetes GewÃ€sser (Line)"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1250 #5000
@@ -1154,9 +1096,7 @@
 	METADATA
 		wms_title "Flur"
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_group_title "Gebiete"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 400 #1600
 	MAXSCALEDENOM 6500 #26000
@@ -1175,5 +1115,5 @@
 			SIZE 46 #13
 			POSITION cc
-			PARTIALS FALSE FORCE FALSE
+			PARTIALS false FORCE true
 			STYLE
 				GEOMTRANSFORM 'labelpoly'
@@ -1182,5 +1122,5 @@
 		END
 		LABEL
-			MAXSCALEDENOM 2500 # 10000
+			MAXSCALEDENOM 3000 # 12000
 			TEXT "[gemarkungsname]"
 			TYPE TRUETYPE FONT "arial"
@@ -1190,7 +1130,7 @@
 			PARTIALS false FORCE false
 		END
+	END
+END
 
-	END
-END
 LAYER
 	NAME "pp_gemarkung"
@@ -1203,9 +1143,7 @@
 	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"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Gemarkung"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 1000 #4000
 	MAXSCALEDENOM 15000 #60000
@@ -1242,9 +1180,7 @@
 	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_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Gemeinde"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 2000 #8000
 	MAXSCALEDENOM 100000 #400000
@@ -1280,10 +1216,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, gebaeudefunktion, lagezurerdoberflaeche, hochhaus, zustand, ax_datenerhebung, wkb_geometry FROM ax_gebaeude WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "GebÃ€ude (FlÃ€che)"
 		wms_group_title "GebÃ€ude"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1250 #5000
@@ -1625,9 +1559,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, gebaeudefunktion, lagezurerdoberflaeche, hochhaus, zustand, ax_datenerhebung, wkb_geometry FROM ax_gebaeude WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "GebÃ€ude (Umring)"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1500
@@ -1749,5 +1681,5 @@
 	DATA "wkb_geometry from (SELECT * FROM gebaeude_txt) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Funktion und Name)"
 	END
@@ -1798,9 +1730,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauart, lagezurerdoberflaeche, wkb_geometry FROM ax_bauteil WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bauteil"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1000 #4000
@@ -1856,9 +1786,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, beschaffenheit, wkb_geometry FROM ax_besonderegebaeudelinie WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Besondere GebÃ€udelinie"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 1000 #4000
@@ -1874,4 +1802,5 @@
 	END
 END
+
 LAYER # Hausnummer
 	NAME "ag_t_gebaeude"
@@ -1883,23 +1812,21 @@
 	DATA "wkb_geometry from (SELECT ogc_fid,wkb_geometry,drehwinkel,hausnummer FROM s_hausnummer_gebaeude) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Hausnummer"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
-	MINSCALEDENOM 0
-	MAXSCALEDENOM 1250 #5000
 	LABELITEM "hausnummer"
-	LABELMINSCALEDENOM 0
-	LABELMAXSCALEDENOM 500 #2000
+	MINSCALEDENOM 12 #50
+	MAXSCALEDENOM 502 #2000
+	#LABELMINSCALEDENOM 0
+	#LABELMAXSCALEDENOM 500 #2000
 	SYMBOLSCALEDENOM 250 #1000
 	CLASS
 		NAME "Hausnummer"
-		STYLE
-			SYMBOL "point" SIZE 1
-		END
+		#STYLE
+		#	SYMBOL "point" SIZE 1
+		#END
 		LABEL
 			TYPE TRUETYPE FONT 'arialnarrow'
-			SIZE 28 MINSIZE 16 MAXSIZE 40 # (8 5 12) *4 = (32 20 48) also nicht proportional zur Bildscheirm-Version
+			SIZE 28 MINSIZE 16 MAXSIZE 40 # (8 5 12) *4 = (32 20 48) nicht proportional zur Bildschirm-Version
 			POSITION uc
 			OFFSET 0 -12 # 0 -3
@@ -1922,5 +1849,5 @@
 	DATA "wkb_geometry from (SELECT * FROM lfdnr_nebengebaeude) as foo using unique ogc_fid using SRID=25832" # View
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "lfd. Nr NebengebÃ€ude"
 	END
@@ -1941,30 +1868,31 @@
 	END
 END
+
 # Zuordnungspfeile GebÃ€ude
-# siehe auch Layer "ap_lpo"
-LAYER
-	NAME "ag_l_gebaeude"
-	GROUP "gebaeude"
-	REQUIRES "[ag_t_nebengeb]" # nur beides
-	TYPE LINE
-	CONNECTIONTYPE POSTGIS
-	CONNECTION "host=10.0.100.73 dbname=alkis08*gkz* user=ms6 port=5432"
-	PROCESSING "CLOSE_CONNECTION=DEFER"
-	DATA "wkb_geometry from (SELECT ogc_fid,wkb_geometry FROM s_zuordungspfeil_gebaeude) as foo using unique ogc_fid using SRID=25832" # View gespeichert
-	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
-		wms_title "Zuordnungspfeile GebÃ€ude"
-	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
-	MINSCALEDENOM 12 # 50
-	MAXSCALEDENOM 325 # 1500
-	CLASS
-		NAME "Zuordnungspfeile"
-		STYLE
-			COLOR 0 0 0
-		END
-	END
-END
+#LAYER
+#	NAME "ag_l_gebaeude"
+#	GROUP "gebaeude"
+#	REQUIRES "[ag_t_nebengeb]" # nur beides
+#	TYPE LINE
+#	CONNECTIONTYPE POSTGIS
+#	CONNECTION "host=10.0.100.73 dbname=alkis08*gkz* user=ms6 port=5432"
+#	PROCESSING "CLOSE_CONNECTION=DEFER"
+#	DATA "wkb_geometry from (SELECT ogc_fid,wkb_geometry FROM s_zuordungspfeil_gebaeude) as foo using unique ogc_fid using SRID=25832" # View gespeichert
+#	METADATA
+#		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+#		wms_title "Zuordnungspfeile GebÃ€ude"
+#	END
+#	#PROJECTION "init=epsg:25832" END
+#	#EXTENT 349000 5529000 356000 5533000
+#	MINSCALEDENOM 12 # 50
+#	MAXSCALEDENOM 325 # 1500
+#	CLASS
+#		NAME "Zuordnungspfeile"
+#		STYLE
+#			COLOR 0 0 0
+#		END
+#	END
+#END
+
 # ALKIS Bauwerke
 LAYER
@@ -1978,10 +1906,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_bauwerkimverkehrsbereich WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bauwerk im Verkehrsbereich (FÃŒllung)"
 		wms_group_title "Bauwerke"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2002,9 +1928,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_bauwerkimverkehrsbereich WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bauwerk im Verkehrsbereich (Umrandung)"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2027,10 +1951,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_bauwerkimgewaesserbereich WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bauwerk im GewÃ€sserbereich"
 		#wms_abstract "Bauwerk im GewÃ€sserbereich"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -2050,12 +1972,9 @@
 	CONNECTION "host=10.0.100.73 dbname=alkis08*gkz* user=ms6 port=5432"
 	PROCESSING "CLOSE_CONNECTION=DEFER"
-	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_bauwerkoderanlagefuerindustrieundgewerbe WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
-	FILTER "st_geometrytype(wkb_geometry) = 'ST_Polygon'" # sonst Absturz Mapserver
-	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_bauwerkoderanlagefuerindustrieundgewerbe WHERE endet IS NULL AND st_geometrytype(wkb_geometry) = 'ST_Polygon') as foo using unique ogc_fid using SRID=25832"
+	METADATA
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bauwerk oder Anlage fÃŒr Industrie und Gewerbe"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2088,9 +2007,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_bauwerkoderanlagefuersportfreizeitunderholung WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bauwerk oder Anlage fÃŒr Sport, Freizeit und Erholung"
 	END	
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
+
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2113,9 +2031,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_vorratsbehaelterspeicherbauwerk WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "VorratsbehÃ€lter, Speicherbauwerk"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2139,5 +2055,5 @@
 	#FILTER "st_geometrytype(wkb_geometry) = 'ST_Polygon'"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Sonstiges Bauwerk/Einrichtung"
 	END
@@ -2183,5 +2099,5 @@
 	#FILTER "st_geometrytype(wkb_geometry) = 'ST_LineString'"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Sonstiges Bauwerk/Einrichtung (Linien)"
 	END
@@ -2207,9 +2123,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, spannungsebene, wkb_geometry FROM ax_leitung WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Leitung"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2241,9 +2155,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, lagezurerdoberflaeche, wkb_geometry FROM ax_transportanlage WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Transportanlage"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2283,9 +2195,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, bauwerksfunktion, wkb_geometry FROM ax_turm WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Turm"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -2314,5 +2224,5 @@
 	METADATA
 		wms_group_title "BodenschÃ€tzung"
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "KlassenflÃ€che"
 	END
@@ -2340,5 +2250,5 @@
 	DATA "wkb_geometry from s_bodensch_tx using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "SchÃ€tzungsergebnis"
 	END
@@ -2388,5 +2298,5 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM s_zuordungspfeil_bodensch) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Zuordnungspfeile" # Linie
 	END
@@ -2406,5 +2316,5 @@
 	GROUP "bodenschaetzung"
 	REQUIRES "[ag_l_bodsch]" # nur beides
-	TYPE Annotation
+	TYPE POINT
 	STATUS ON
 	CONNECTIONTYPE POSTGIS
@@ -2413,5 +2323,5 @@
 	DATA "wkb_geometry from (SELECT * FROM s_zuordungspfeilspitze_bodensch) as foo using unique ogc_fid using SRID=25832" # View berechnet Winkel
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Zuordnungspfeil Spitze"
 	END
@@ -2443,5 +2353,5 @@
 #	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_grablochderbodenschaetzung WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 #	METADATA
-#		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+#		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 #		wms_title "Grabloch der BodenschÃ€tzung"
 #		#wms_abstract "Grabloch der BodenschÃ€tzung"
@@ -2472,5 +2382,5 @@
 #	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_musterlandesmusterundvergleichsstueck WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 #	METADATA
-#		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+#		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 #		wms_title "Muster Landesmuster und VergleichsstÃŒck"
 #		#wms_abstract "Muster-, Landesmuster- und VergleichsstÃŒck der BodenschÃ€tzung"
@@ -2498,10 +2408,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, gml_id, wkb_geometry FROM ax_flurstueck WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "FlurstÃŒck"
 		wms_group_title "FlurstÃŒck"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 # 50
 	MAXSCALEDENOM 6250 #25000
@@ -2524,9 +2432,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, artderflurstuecksgrenze, wkb_geometry FROM ax_besondereflurstuecksgrenze WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Besondere FlurstÃŒcksgrenze"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2643,9 +2549,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid,wkb_geometry FROM s_zuordungspfeil_flurstueck) as foo using unique ogc_fid using SRID=25832" # View gespeichert
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Zuordnungspfeil Linie"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 875 #3500
@@ -2663,5 +2567,5 @@
 	GROUP "flurstueck"
 	REQUIRES "[ag_l_flurstueck]" # nur beides
-	TYPE Annotation
+	TYPE POINT
 	STATUS ON
 	CONNECTIONTYPE POSTGIS
@@ -2670,9 +2574,7 @@
 	DATA "wkb_geometry from (SELECT * FROM s_zuordungspfeilspitze_flurstueck) as foo using unique ogc_fid using SRID=25832" # View berechnet Winkel
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Zuordnungspfeil Spitze"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 875 #3500
@@ -2703,9 +2605,7 @@
 	DATA "the_geom from (SELECT * FROM pp_flurstueck_nr) as foo using unique gid using SRID=25832" # Tabelle aus PostProcessing
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Flurstuecksnummer"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1000 #4000
@@ -2733,5 +2633,5 @@
 	NAME "ag_p_flurstueck"
 	GROUP "flurstueck"
-	TYPE ANNOTATION
+	TYPE POINT
 	CONNECTIONTYPE POSTGIS
 	CONNECTION "host=10.0.100.73 dbname=alkis08*gkz* user=ms6 port=5432"
@@ -2739,9 +2639,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid,wkb_geometry,drehwinkel FROM s_zugehoerigkeitshaken_flurstueck) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "ZugehÃ¶rigkeitshaken Flurstueck"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1000 #4000
@@ -2769,10 +2667,8 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, artderfestlegung, wkb_geometry FROM ax_klassifizierungnachstrassenrecht WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Klassifizierung nach Strassenrecht"
 		wms_group_title "Recht"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2807,9 +2703,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_naturumweltoderbodenschutzrecht WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Natur, Umwelt oder Bodenschutzrecht"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2832,9 +2726,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_anderefestlegungnachwasserrecht WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Andere Festlegung nach Wasserrecht"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 # 50
 	MAXSCALEDENOM 2500 #10000
@@ -2863,9 +2755,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, gml_id, artderfestlegung, wkb_geometry FROM ax_bauraumoderbodenordnungsrecht WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bau-, Raum- oder Bodenordnungsrecht"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 12 #50
 	MAXSCALEDENOM 2500 #10000
@@ -2948,9 +2838,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_denkmalschutzrecht WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Denkmalschutzrecht"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2971,9 +2859,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, artderfestlegung, wkb_geometry FROM ax_sonstigesrecht WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Sonstiges Recht"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 2500 #10000
@@ -2999,5 +2885,5 @@
 	DATA "wkb_geometry from (SELECT * FROM grenzpunkt) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Grenzpunkt"
 		wms_group_title "Vermessungspunkte"
@@ -3042,9 +2928,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_punktortag WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Bes. GebÃ€udepunkt"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 500 #2000
@@ -3067,9 +2951,7 @@
 	DATA "wkb_geometry from (SELECT ogc_fid, wkb_geometry FROM ax_punktortau WHERE endet IS NULL) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Punktort AU"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 500 #2000
@@ -3095,10 +2977,8 @@
 	DATA "the_geom from (SELECT * FROM pp_strassenname_p) as foo using unique gid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "StraÃen ."
 		wms_group_title "PrÃ€sentation"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MAXSCALEDENOM 625 #2500
 	SYMBOLSCALEDENOM 250 #1000
@@ -3243,9 +3123,7 @@
 	DATA "the_geom from (SELECT * FROM pp_strassenname_l) as foo using unique gid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "StraÃen _"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MAXSCALEDENOM 625 #2500
 	SYMBOLSCALEDENOM 250 #1000
@@ -3388,9 +3266,7 @@
 	DATA "wkb_geometry from (SELECT * FROM ap_pto_rest) as foo using unique ogc_fid using SRID=25832"
 	METADATA
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 		wms_title "Beschriftung"
 	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
 	MINSCALEDENOM 0
 	MAXSCALEDENOM 1250 #5000
@@ -3453,8 +3329,6 @@
 		wms_group_title "Grenzen"
 		wms_title "Politische Grenze"
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
-	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+	END
 	MINSCALEDENOM 62 # 250
 	MAXSCALEDENOM 3000 #12000
@@ -3536,8 +3410,6 @@
 	METADATA
 		wms_title "Gemarkungsrenze"
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
-	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+	END
 	MINSCALEDENOM 50 # 200
 	MAXSCALEDENOM 2500 # 10000
@@ -3569,8 +3441,6 @@
 	METADATA
 		wms_title "Flurgrenze"
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
-	END
-	#PROJECTION "init=epsg:25832" END
-	#EXTENT 349000 5529000 356000 5533000
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+	END
 	MINSCALEDENOM 12 # 50
 	MAXSCALEDENOM 1250 #5000
@@ -3600,5 +3470,5 @@
 	NAME "copyright"
 	STATUS ON # DEFAULT
-	TYPE annotation
+	TYPE POINT
 	TRANSFORM lr
 	METADATA
@@ -3606,5 +3476,5 @@
 		#wms_abstract "In der Karte sichtbare Angabe auf die Herkunft der Daten"
 		WMS_KEYWORDLIST "Katasteramt, Copyright, Quellenangabe"
-		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004"
+		wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 	END
 	FEATURE
