Index: trunk/umn/alkis_n/symbolssw.sym
===================================================================
--- trunk/umn/alkis_n/symbolssw.sym	(revision 394)
+++ trunk/umn/alkis_n/symbolssw.sym	(revision 395)
@@ -1,339 +1,115 @@
 SYMBOLSET
 # Symbole fuer ALKIS-Mapfile Schwarz/Weiss generiert aus aus Norbit-QGIS-Plugin
-	SYMBOL
-		NAME "0"
-		TYPE ELLIPSE
-		FILLED TRUE
-		POINTS 1 1 1 1 END
-	END
-	SYMBOL
-		NAME "norGIS_alkis3020_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3020_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3022_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3022_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3010_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3010_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3539_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3539_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3527_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3527_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3521_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3521_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3308_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3308_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3312_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3312_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3334_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3334_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3318_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3318_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3316_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3316_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3326_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3326_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3323_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3323_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3311_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3311_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3306_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3306_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3336_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3336_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3300_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3300_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3529_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3529_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3302_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3302_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3305_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3305_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3536_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3536_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3324_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3324_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3532_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3532_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3430_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3430_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3424_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3424_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3578_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3578_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3432_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3432_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3426_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3426_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3428_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3428_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3446_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3446_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3478_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3478_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3421_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3421_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3440_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3440_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3613_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3613_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3597_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3597_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3452_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3452_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3460_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3460_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3480_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3480_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3462_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3462_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3413_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3413_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3605_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3605_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3441_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3441_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3458_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3458_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3599_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3599_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3474_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3474_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3470_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3470_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3601_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3601_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3619_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3619_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3488_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3488_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3490_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3490_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3596_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3596_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3621_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3621_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3401_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3401_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3506_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3506_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3522_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3522_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3508_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3508_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3504_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3504_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3501_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3501_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3514_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3514_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3407_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3407_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3423_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3423_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3419_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3419_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3415_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3415_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3412_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3412_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3627_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3627_2.svg"
-	END
-	SYMBOL
-		NAME "norGIS_alkis3632_2"
-		TYPE SVG
-		IMAGE "/opt/gdi/alkisn/svg/alkis3632_2.svg"
-	END
+# Version 2017-11-21 Abgleich, Sortierung, Komprimierung
+SYMBOL NAME "0" TYPE ELLIPSE FILLED TRUE POINTS 1 1 1 1 END END
+SYMBOL NAME "norGIS_alkis3010_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3010_2.svg" END
+SYMBOL NAME "norGIS_alkis3011_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3011_2.svg" END
+SYMBOL NAME "norGIS_alkis3020_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3020_2.svg" END
+SYMBOL NAME "norGIS_alkis3021_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3021_2.svg" END
+SYMBOL NAME "norGIS_alkis3022_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3022_2.svg" END
+SYMBOL NAME "norGIS_alkis3024_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3024_2.svg" END
+SYMBOL NAME "norGIS_alkis3300_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3300_2.svg" END
+SYMBOL NAME "norGIS_alkis3302_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3302_2.svg" END
+SYMBOL NAME "norGIS_alkis3303_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3303_2.svg" END
+SYMBOL NAME "norGIS_alkis3305_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3305_2.svg" END
+SYMBOL NAME "norGIS_alkis3306_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3306_2.svg" END
+SYMBOL NAME "norGIS_alkis3308_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3308_2.svg" END
+SYMBOL NAME "norGIS_alkis3309_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3309_2.svg" END
+SYMBOL NAME "norGIS_alkis3311_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3311_2.svg" END
+SYMBOL NAME "norGIS_alkis3312_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3312_2.svg" END
+SYMBOL NAME "norGIS_alkis3314_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3314_2.svg" END
+SYMBOL NAME "norGIS_alkis3315_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3315_2.svg" END
+SYMBOL NAME "norGIS_alkis3316_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3316_2.svg" END
+SYMBOL NAME "norGIS_alkis3317_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3317_2.svg" END
+SYMBOL NAME "norGIS_alkis3318_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3318_2.svg" END
+SYMBOL NAME "norGIS_alkis3321_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3321_2.svg" END
+SYMBOL NAME "norGIS_alkis3323_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3323_2.svg" END
+SYMBOL NAME "norGIS_alkis3324_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3324_2.svg" END
+SYMBOL NAME "norGIS_alkis3326_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3326_2.svg" END
+SYMBOL NAME "norGIS_alkis3332_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3332_2.svg" END
+SYMBOL NAME "norGIS_alkis3334_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3334_2.svg" END
+SYMBOL NAME "norGIS_alkis3336_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3336_2.svg" END
+SYMBOL NAME "norGIS_alkis3338_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3338_2.svg" END
+SYMBOL NAME "norGIS_alkis3340_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3340_2.svg" END
+SYMBOL NAME "norGIS_alkis3401_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3401_2.svg" END
+SYMBOL NAME "norGIS_alkis3402_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3402_2.svg" END
+SYMBOL NAME "norGIS_alkis3404_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3404_2.svg" END
+SYMBOL NAME "norGIS_alkis3407_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3407_2.svg" END
+SYMBOL NAME "norGIS_alkis3409_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3409_2.svg" END
+SYMBOL NAME "norGIS_alkis3411_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3411_2.svg" END
+SYMBOL NAME "norGIS_alkis3412_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3412_2.svg" END
+SYMBOL NAME "norGIS_alkis3413_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3413_2.svg" END
+SYMBOL NAME "norGIS_alkis3415_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3415_2.svg" END
+SYMBOL NAME "norGIS_alkis3417_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3417_2.svg" END
+SYMBOL NAME "norGIS_alkis3419_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3419_2.svg" END
+SYMBOL NAME "norGIS_alkis3421_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3421_2.svg" END
+SYMBOL NAME "norGIS_alkis3423_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3423_2.svg" END
+SYMBOL NAME "norGIS_alkis3424_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3424_2.svg" END
+SYMBOL NAME "norGIS_alkis3426_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3426_2.svg" END
+SYMBOL NAME "norGIS_alkis3428_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3428_2.svg" END
+SYMBOL NAME "norGIS_alkis3430_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3430_2.svg" END
+SYMBOL NAME "norGIS_alkis3432_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3432_2.svg" END
+SYMBOL NAME "norGIS_alkis3434_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3434_2.svg" END
+SYMBOL NAME "norGIS_alkis3439_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3439_2.svg" END
+SYMBOL NAME "norGIS_alkis3440_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3440_2.svg" END
+SYMBOL NAME "norGIS_alkis3441_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3441_2.svg" END
+SYMBOL NAME "norGIS_alkis3444_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3444_2.svg" END
+SYMBOL NAME "norGIS_alkis3446_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3446_2.svg" END
+SYMBOL NAME "norGIS_alkis3450_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3450_2.svg" END
+SYMBOL NAME "norGIS_alkis3452_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3452_2.svg" END
+SYMBOL NAME "norGIS_alkis3454_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3454_2.svg" END
+SYMBOL NAME "norGIS_alkis3458_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3458_2.svg" END
+SYMBOL NAME "norGIS_alkis3460_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3460_2.svg" END
+SYMBOL NAME "norGIS_alkis3462_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3462_2.svg" END
+SYMBOL NAME "norGIS_alkis3470_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3470_2.svg" END
+SYMBOL NAME "norGIS_alkis3474_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3474_2.svg" END
+SYMBOL NAME "norGIS_alkis3476_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3476_2.svg" END
+SYMBOL NAME "norGIS_alkis3478_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3478_2.svg" END
+SYMBOL NAME "norGIS_alkis3480_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3480_2.svg" END
+SYMBOL NAME "norGIS_alkis3488_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3488_2.svg" END
+SYMBOL NAME "norGIS_alkis3490_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3490_2.svg" END
+SYMBOL NAME "norGIS_alkis3501_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3501_2.svg" END
+SYMBOL NAME "norGIS_alkis3502_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3502_2.svg" END
+SYMBOL NAME "norGIS_alkis3504_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3504_2.svg" END
+SYMBOL NAME "norGIS_alkis3506_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3506_2.svg" END
+SYMBOL NAME "norGIS_alkis3508_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3508_2.svg" END
+SYMBOL NAME "norGIS_alkis3509_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3509_2.svg" END
+SYMBOL NAME "norGIS_alkis3510_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3510_2.svg" END
+SYMBOL NAME "norGIS_alkis3512_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3512_2.svg" END
+SYMBOL NAME "norGIS_alkis3513_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3513_2.svg" END
+SYMBOL NAME "norGIS_alkis3514_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3514_2.svg" END
+SYMBOL NAME "norGIS_alkis3520_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3520_2.svg" END
+SYMBOL NAME "norGIS_alkis3521_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3521_2.svg" END
+SYMBOL NAME "norGIS_alkis3522_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3522_2.svg" END
+SYMBOL NAME "norGIS_alkis3524_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3524_2.svg" END
+SYMBOL NAME "norGIS_alkis3525_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3525_2.svg" END
+SYMBOL NAME "norGIS_alkis3526_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3526_2.svg" END
+SYMBOL NAME "norGIS_alkis3527_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3527_2.svg" END
+SYMBOL NAME "norGIS_alkis3528_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3528_2.svg" END
+SYMBOL NAME "norGIS_alkis3529_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3529_2.svg" END
+SYMBOL NAME "norGIS_alkis3532_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3532_2.svg" END
+SYMBOL NAME "norGIS_alkis3535_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3535_2.svg" END
+SYMBOL NAME "norGIS_alkis3536_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3536_2.svg" END
+SYMBOL NAME "norGIS_alkis3539_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3539_2.svg" END
+SYMBOL NAME "norGIS_alkis3540_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3540_2.svg" END
+SYMBOL NAME "norGIS_alkis3556_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3556_2.svg" END
+SYMBOL NAME "norGIS_alkis3574_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3574_2.svg" END
+SYMBOL NAME "norGIS_alkis3578_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3578_2.svg" END
+SYMBOL NAME "norGIS_alkis3587_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3587_2.svg" END
+SYMBOL NAME "norGIS_alkis3588_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3588_2.svg" END
+SYMBOL NAME "norGIS_alkis3592_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3592_2.svg" END
+SYMBOL NAME "norGIS_alkis3595_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3595_2.svg" END
+SYMBOL NAME "norGIS_alkis3596_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3596_2.svg" END
+SYMBOL NAME "norGIS_alkis3597_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3597_2.svg" END
+SYMBOL NAME "norGIS_alkis3599_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3599_2.svg" END
+SYMBOL NAME "norGIS_alkis3601_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3601_2.svg" END
+SYMBOL NAME "norGIS_alkis3603_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3603_2.svg" END
+SYMBOL NAME "norGIS_alkis3605_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3605_2.svg" END
+SYMBOL NAME "norGIS_alkis3613_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3613_2.svg" END
+SYMBOL NAME "norGIS_alkis3619_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3619_2.svg" END
+SYMBOL NAME "norGIS_alkis3621_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3621_2.svg" END
+SYMBOL NAME "norGIS_alkis3625_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3625_2.svg" END
+SYMBOL NAME "norGIS_alkis3627_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3627_2.svg" END
+SYMBOL NAME "norGIS_alkis3632_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3632_2.svg" END
+SYMBOL NAME "norGIS_alkis3653_2" TYPE SVG IMAGE "/opt/gdi/alkisn/svg/alkis3653_2.svg" END
 END
Index: trunk/umn/alkis_n/alkis_n_muster.map
===================================================================
--- trunk/umn/alkis_n/alkis_n_muster.map	(revision 394)
+++ trunk/umn/alkis_n/alkis_n_muster.map	(revision 395)
@@ -17,7 +17,9 @@
 #  2016-08-17 GKZ im DB-Namen 4stellig
 #  2017-10-24 Neues Mapfile mit QGIS generiert und hiermit abgeglichen (norgis-ALKIS-Import 2.1-10, norgis-ALKIS-Einbindung 2.0.17)
-#             u.a. in der GebÃ€ude-Beschriftung: Hausnummern getrennt von Dachform, Zustand usw., BÃ¶schungen.
+#             u.a. in der GebÃ€ude-Beschriftung: Hausnummern getrennt von Dachform, Zustand usw., BÃ¶schungen
+#  2017-11-24 Abstract, Pol. Grenzen nur mit 1 Style zeichnen.
 
 # ToDo:
+# - PATTERN in Flurgrenze und Co. prÃŒfen. Asynchron? (Siehe SW-Version)
 # - Um eine brauchbare Legende fÃŒr Linien anzuzeigen, mÃŒsste "SIZEUNITS METERS" geÃ€ndert werden. Derzeit nur FlÃ€chen-Legende brauchbar.
 # - Layer oder Gruppe fÃŒr SchÃ€tzungsklassen
@@ -143,5 +145,5 @@
 		METADATA
 			wms_title "ALKIS"
-			wms_abstract "ALKIS *gkz* farbige Variante - Konverter PostNAS, Version NorGIS-Plugin, Stand vom Oktober 2017"
+			wms_abstract "ALKIS *gkz* farbige Variante - Konverter PostNAS, Version NorGIS-Plugin, Stand vom November 2017. Die Legende wÃ€re zu umfangreich. Sie wird hier nur fÃŒr eine kleine Anzahl Objekte ausgegeben. Eine vollstÃ€ndige Beschreibung der Zeichenvorschrift fÃŒr ALKIS findet man z.B. in http://sg.geodatenzentrum.de/web_public/adv/sk/alkis/docAlkisFB/SymbologyCatalog.html "
 			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 			wms_bbox_extended "true"
@@ -2420,12 +2422,11 @@
 		SIZEUNITS METERS # Sets the unit of STYLE object SIZE.
 		# Mit "SIZEUNITS METERS" wird hier keine lesbare Legende erzeugt. Die Symbole werden zu gross.
-		# Wenn man "SIZEUNITS METERS" auskommentiert (default is pixels) und glichzeitig "SYMBOLSCALEDENOM 1000" setzt, wird eine brauchbare Legende ausgegeben.
+		# Wenn man "SIZEUNITS METERS" auskommentiert (default is pixels) und gleichzeitig "SYMBOLSCALEDENOM 1000" setzt, wird eine brauchbare Legende ausgegeben.
 		# Die Linien decken aber nicht ganz die darunter liegende schwarze Linie (0,35 m) ab.
-	#	SYMBOLSCALEDENOM 1000 # Nicht generiert. Versuch eine lesbare Legende zu generieren.
 		UNITS METERS
 
 		# Die folgenden CLASS werden in QGIS doppelt generiert, mit unterschiedlicher Anzahl Dummy-"STYLE/END". Nur die jeweils 1. Version wurde ÃŒbernommen.
 		CLASS
-		#-	NAME "Flurgrenze"
+		#-	NAME "Flurgrenze" # Strich - 3 Punkte
 			EXPRESSION "2012"
 			STYLE # Grundierung
@@ -2434,31 +2435,37 @@
 				WIDTH 1.01
 			END
-			STYLE # eckige Enden
+
+	##	LÃ¶sung mit 2 ÃŒberlappenden Styles. Die PATTERN der beiden STYLES lufen nicht synchron und verschieben sich gegeneinander.
+	#		STYLE # eckige Enden
+	#			COLOR 242 127 255
+	#			LINECAP SQUARE
+	#			LINEJOIN ROUND
+	#			PATTERN 5.00 11.00 END
+	#			SIZE 1
+	#		END
+	#		STYLE # 0+ROUND macht Punkte
+	#			COLOR 242 127 255
+	#			INITIALGAP 7.5
+	#			LINEJOIN ROUND
+	#			PATTERN 0.00 3.00 0.00 3.00 0.00 10.00 END
+	#			SIZE 1
+	###		END
+
+		## Alternative in EINEM Style. Striche und Punkte beide rund. Aber wenigstens Synchron.
+			STYLE
 				COLOR 242 127 255
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 5.00 11.00 END
-				SIZE 1
-			END
-			STYLE # 0+ROUND macht Punkte
-				COLOR 242 127 255
-				INITIALGAP 7.5
-				LINEJOIN ROUND
-				PATTERN 0.00 3.00 0.00 3.00 0.00 10.00 END
-				SIZE 1
-			END
+				LINECAP round LINEJOIN round
+				PATTERN 5.00 2.5 0.00 3.00 0.00 3.00 0.00 2.5 END
+				WIDTH 1
+			END
+
 		END
 		CLASS
 		#-	NAME "Gemarkungsgrenze"
 			EXPRESSION "2014"
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
+			# Hier wurden 9 blinde STYLE-END-Paare generiert. -> 3 reichen
+			STYLE END STYLE END STYLE END 
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END
+
 			STYLE
 				COLOR 255 255 255
@@ -2466,279 +2473,121 @@
 				WIDTH 1.01
 			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 242 127 255
+		#		LINECAP SQUARE
+		#		LINEJOIN ROUND
+		#		PATTERN 5.00 8.00 END # Summe 13
+		#		SIZE 1
+		#	END
+		#	STYLE
+		#		COLOR 242 127 255
+		#		INITIALGAP 7.5
+		#		LINEJOIN ROUND
+		#		PATTERN 0.00 3.00 0.00 10.00 END
+		#		SIZE 1
+		##	END
+
+		##	1 Style
 			STYLE
 				COLOR 242 127 255
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 5.00 8.00 END
-				SIZE 1
-			END
-			STYLE
-				COLOR 242 127 255
-				INITIALGAP 7.5
-				LINEJOIN ROUND
-				PATTERN 0.00 3.00 0.00 10.00 END
-				SIZE 1
-			END
-		END
+				LINECAP round LINEJOIN round
+				PATTERN 5.00 2.5 0.00 3.00 0.00 2.5 END # Summe 13
+				WIDTH 1
+			END
+		END
+
 		CLASS
 		#-	NAME "Gemeindegrenze"
 			EXPRESSION "2022"
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE
+
+			# Hier wurden 45 blinde STYLE-END-Paare generiert. -> 6 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END 
+		#	STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+
+			STYLE # weisser Grund
 				COLOR 255 255 255
 			#	OPACITY 0
 				WIDTH 1.01
 			END
+
+		##	2 Styles aus QGIS-Generierung
+		#	STYLE
+		#		COLOR 242 127 255
+		#		LINECAP SQUARE
+		#		LINEJOIN ROUND
+		#		PATTERN 5.00 5.00 END # Summe 10
+		#		SIZE 1
+		#	END
+		#	STYLE
+		#		COLOR 242 127 255
+		#		INITIALGAP 7.5
+		#		LINEJOIN ROUND
+		#		PATTERN 0.00 10.00 END # Summe 10 - sollte also synchron sein zum vorhergehenden Style, verschiebt sich aber mit jedem Strich
+		#		SIZE 1
+		#	END
+
+		##	1 Style
 			STYLE
 				COLOR 242 127 255
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 5.00 5.00 END
-				SIZE 1
-			END
-			STYLE
-				COLOR 242 127 255
-				INITIALGAP 7.5
-				LINEJOIN ROUND
-				PATTERN 0.00 10.00 END
-				SIZE 1
-			END
-		END
+				LINECAP round LINEJOIN round
+				PATTERN 5.00 2.5 0.00 2.5 END # Summe 10
+				WIDTH 1
+			END
+
+		END
+
 		CLASS
 		#-	NAME "Landkreisgrenze"
 			EXPRESSION "2010"
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
+
+			# hier wurden 189 blinde STYLE-END-Paare generiert. Muss das? -> 9 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END 
+		#	STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END
+
 			STYLE
 				COLOR 255 255 255
@@ -2746,789 +2595,40 @@
 				WIDTH 1.515
 			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 242 127 255
+		#		LINECAP SQUARE
+		#		LINEJOIN ROUND
+		#		PATTERN 7.00 12.00 END # Summe 19
+		#		SIZE 1.5
+		#		WIDTH 1.5
+		#	END
+		#	STYLE
+		#		COLOR 242 127 255
+		#		INITIALGAP 10.75
+		#		LINEJOIN ROUND
+		#		PATTERN 0.00 4.50 0.00 14.50 END # Summe 19
+		#		SIZE 1.5
+		#		WIDTH 1.5
+		##	END
+
+		##	1 Style
 			STYLE
 				COLOR 242 127 255
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 7.00 12.00 END
-				SIZE 1.5
+				LINECAP round LINEJOIN round
+				PATTERN 7.00 3.75 0.00 4.50 0.00 3.75 END # Summe 19
 				WIDTH 1.5
 			END
-			STYLE
-				COLOR 242 127 255
-				INITIALGAP 10.75
-				LINEJOIN ROUND
-				PATTERN 0.00 4.50 0.00 14.50 END
-				SIZE 1.5
-				WIDTH 1.5
-			END
-		END
+
+		END
+
 		CLASS
 		#-	NAME "Regierungsbezirksgrenze"
 			EXPRESSION "2020"
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
+
+			# hier wurden 765!! blinde STYLE-END-Paare generiert. Ist das wirklich sinnvoll und notwendig fÃŒr eine korrekte Darstellung?? -> 12 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END	STYLE END STYLE END 
+
 			STYLE
 				COLOR 255 255 255
@@ -3536,20 +2636,32 @@
 				WIDTH 1.515
 			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 242 127 255
+		#		LINECAP SQUARE
+		#		LINEJOIN ROUND
+		#		PATTERN 7.00 3.00 7.00 12.00 END # Summe 29
+		#		SIZE 1.5
+		#		WIDTH 1.5
+		#	END
+		#	STYLE
+		#		COLOR 242 127 255
+		#		INITIALGAP 20.75
+		#		LINEJOIN ROUND
+		#		PATTERN  0.00 4.50 0.00 24.50 END # Summe 29
+		#		SIZE 1.5
+		#		WIDTH 1.5
+		##	END
+
+		##	1 Style
 			STYLE
 				COLOR 242 127 255
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 7.00 3.00 7.00 12.00 END
-				SIZE 1.5
+				LINECAP round LINEJOIN round
+				#            10   17   20.75     25.25     29.0
+				PATTERN 7.00 3.00 7.00 3.75 0.00 4.50 0.00 3.75 END # Summe 29
 				WIDTH 1.5
 			END
-			STYLE
-				COLOR 242 127 255
-				INITIALGAP 20.75
-				LINEJOIN ROUND
-				PATTERN  0.00 4.50 0.00 24.50 END
-				SIZE 1.5
-				WIDTH 1.5
-			END
+
 		END
 
@@ -3557,28 +2669,39 @@
 		#-	NAME "Landesgrenze"
 			EXPRESSION "2018"
-			# QGIS generiert hier 3069 mal STYLE/END ohne Inhalt!! Dies wird reduziert, da das nicht sinnvoll erscheint.
-			STYLE END
-			STYLE END
+
+			# Hier wurden 3069 blinde STYLE-END-Paare generiert. Ist das fÃŒr eine korrekte Darstellung wirklich notwendig? -> 15 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END
+
 			STYLE
 				COLOR 255 255 255
-				#OPACITY 0
+			#	OPACITY 0
 				WIDTH 2.02
 			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 242 127 255
+		#		LINECAP SQUARE
+		#		LINEJOIN ROUND
+		#		PATTERN 8.00 3.50 8.00 9.00 END # Summe 28.5
+		#		SIZE 2 WIDTH 2
+		#	END
+		#	STYLE
+		#		COLOR 242 127 255
+		#		INITIALGAP 24
+		#		LINEJOIN ROUND
+		#		PATTERN 0.00 28.50 END # Summe 28.5
+		#		SIZE 2 WIDTH 2
+		##	END
+
+		##	1 Style
 			STYLE
 				COLOR 242 127 255
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 8.00 3.50 8.00 9.00 END
-				SIZE 2 WIDTH 2
-			END
-			STYLE
-				COLOR 242 127 255
-				INITIALGAP 24
-				LINEJOIN ROUND
-				PATTERN 0.00 28.50 END
-				SIZE 2 WIDTH 2
-			END
-		END
-
+				LINECAP round LINEJOIN round
+				#            11.5 19.5 24      28.5
+				PATTERN 8.00 3.50 8.00 4.5 0.0 4.5 END # Summe 28.5
+				WIDTH 2
+			END
+		END
 	END
 
@@ -3634,5 +2757,5 @@
 			STYLE
 				COLOR 255 255 255
-				#OPACITY 0
+			#	OPACITY 0
 				WIDTH 0.1818
 			END
@@ -3691,5 +2814,5 @@
 			STYLE
 				COLOR 255 255 255
-				#OPACITY 0
+			#	OPACITY 0
 				WIDTH 0.3535
 			END
@@ -3705,6 +2828,5 @@
 		#-	NAME "Strittige Grenze"
 			EXPRESSION "2006"
-			STYLE END
-			STYLE END
+			STYLE END STYLE END
 			STYLE
 				COLOR 255 255 255
@@ -3724,10 +2846,5 @@
 		#-	NAME "FlurstÃŒcksgrenze nicht feststellbar"
 			EXPRESSION "2008"
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
-			STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END
 			STYLE
 				COLOR 255 255 255
Index: trunk/umn/alkis_n/alkis_sw_muster.map
===================================================================
--- trunk/umn/alkis_n/alkis_sw_muster.map	(revision 394)
+++ trunk/umn/alkis_n/alkis_sw_muster.map	(revision 395)
@@ -1,17 +1,16 @@
 MAP
-# ALKIS generiert aus norBIT-QGIS-Plugin, dann manuell nach-bearbeitet fÃŒr mapserver 7.0
-# http://10.0.100.79/cgi-bin/mapserv7?map=/opt/gdi/alkisn/alkissw*gkz*.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1 
+# ALKIS generiert aus norBIT-QGIS-Plugin, dann manuell nach-bearbeitet fÃŒr mapserver 7
 
 # Stand:
 #  2016-05-19 generiert, angepasst und optimiert
 #  2016-05-20 Legende unterdrÃŒcken
-#  2016-05-23 FlurstÃŒcke: 2stufige Gruppierung raus. 
+#  2016-05-23 FlurstÃŒcke: 2stufige Gruppierung raus. "wms_enable_request" pauschal "*" im Root. 
 #             Beschriftung: links-/rechtsbÃŒndig vertauscht.
-
-# ToDo: 
-# - In "GebÃ€ude / Beschriftungen" werden ausser der Haunummer auch nich Buchstaben sichtbar, z.T. ÃŒberlappend
-#   Die sollten getrennt schaltbar sein.
+#  2017-11-24 Abgleich mit neuer Generierung aus QGIS-Plugin, mapserver 7.0.7
+
+### Erlaeuterungen:
 #
-### Erlaeuterungen:
+## Dies ist ein reichlich kommentriertes Muster-Mapfile. FÃŒr den produktiven Einsatz sollten Kommentare, Leerzeilen usw. mit einem Programm wie "MapTrimmer" entfernt werden.
+#
 ## SVG:
 # Die SVG-Symbole sind aus dem norBIT-ALKIS-Plugin zu entnehmen:
@@ -64,5 +63,5 @@
 # gh FriedhÃ¶fe / Grenzen
 # fe Vegetation / FlÃ€chen
-# fb WohnbauflÃ€chen / FlÃ€chen
+# -fb WohnbauflÃ€chen / FlÃ€chen
 # gt Topographie / Grenzen
 # ge Vegetation / Grenzen
@@ -100,6 +99,10 @@
 ##			*/ Beschriftungen
 # bfn FlurstÃŒcke / Nummern / Beschriftungen
-# bg GebÃ€ude / Beschriftungen
-# -bg2 GebÃ€ude / lfd. Nr. NebengebÃ€ude
+# bg  -> bgh GebÃ€ude / Hausnummern
+# bg2 -> bgn GebÃ€ude / lfd. Nr. NebengebÃ€ude
+# (NEU)  bgd GebÃ€ude / Dachform
+# (NEU)  bgf GebÃ€ude / Funktion
+# (NEU)  bgg GebÃ€ude / Geschosse
+# (NEU)  bgz GebÃ€ude / Zustand
 # bl Lagebezeichnungen / Beschriftungen
 # br Rechtliche Festlegungen / Beschriftungen
@@ -126,5 +129,5 @@
 		METADATA
 			wms_title "ALKIS sw"
-			wms_abstract "ALKIS Schwarz/WeiÃ-Variante *gkz* - Konverter PostNAS, Version NorGIS-Plugin, Stand vom 20. Mai 2016"
+			wms_abstract "ALKIS Schwarz/WeiÃ- bzw. Graustufen-Variante *gkz* - Konverter PostNAS, Version NorGIS-Plugin, Stand vom November 2017. Die Legende wÃ€re zu umfangreich. Sie wird hier nur fÃŒr eine kleine Anzahl Objekte ausgegeben. Eine vollstÃ€ndige Beschreibung der Zeichenvorschrift fÃŒr ALKIS findet man z.B. in http://sg.geodatenzentrum.de/web_public/adv/sk/alkis/docAlkisSW/SymbologyCatalog.html ."
 			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
 			wms_bbox_extended "true"
@@ -138,11 +141,6 @@
 			wms_fees "none"
 			wms_accessconstraints "fÃŒr den Dienstgebrauch"
-
-			# theoretish ausreichend:
+			wms_enable_request "*" # Bis der Fehler geklÃ€rt ist
 		#	wms_enable_request "GetCapabilities GetMap" # Rest je Layer individuell addieren
-
-			# praktisch notwendig:
-			wms_enable_request "*"
-
 			include "meta_contact.map" # ersetzen durch individuelle Datei je Katasteramt
 		END
@@ -161,13 +159,14 @@
 	END
 
+	## ----------------------------------------------
 	## Layer der Typen FlÃ€chen + Grenzen
+	## ----------------------------------------------
 
 	LAYER NAME "gh" # FriedHÃ¶fe / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		#ATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='FriedhÃ¶fe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE signaturnummer = '2515' AND thema='FriedhÃ¶fe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		# Filter Signaturnummer 37 : 0
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE signaturnummer = '2515' AND thema='FriedhÃ¶fe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='FriedhÃ¶fe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
 		MAXSCALEDENOM 5000
@@ -188,20 +187,18 @@
 			EXPRESSION "2515"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "fe" # VEgetation / FlÃ€chen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='WohnbauflÃ€chen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE signaturnummer = '2515' AND thema='WohnbauflÃ€chen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE signaturnummer = '2515' AND thema='WohnbauflÃ€chen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		# Filter Signaturnummer 2200 : 0
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='WohnbauflÃ€chen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
 		MAXSCALEDENOM 10000
@@ -221,22 +218,128 @@
 			EXPRESSION "2515"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
-
-	LAYER NAME "fb"	# WohnBauflÃ€chen / FlÃ€chen
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
+
+	# -fb WohnbauflÃ€chen / FlÃ€chen    (verschoben und umbenannt Nov. 2017)
+
+	LAYER NAME "gt"	# Topographie / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		# 150: 1091 SÃ€tze ohne Filter
-		# Filter auf die einzig dargestellte Signaturnummer:
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE signaturnummer = '1523' AND thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		# 150: Nur 13 SÃ€tze MIT Filter
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE signaturnummer = 'rn1551' AND thema='Topographie' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832" 
+		# Filter "signaturnummer = 'rn1551' AND"  6:0
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Topographie' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		#EXTENT ...
+		MAXSCALEDENOM 10000
+		METADATA
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+			wms_layer_group	"/Topographie"
+			wms_title "Grenzen"
+		END
+		PROCESSING "CLOSE_CONNECTION=DEFER"
+		PROJECTION "init=epsg:25832" END
+		SIZEUNITS METERS
+		STATUS OFF
+		TYPE POLYGON
+		UNITS METERS
+		CLASS
+		#	NAME '{"Damm, Wall, Deich","Felsen, Felsblock, Felsnadel",RÃŒckhaltebecken,"Sonstiges GewÃ€ssermerkmal",Staudamm,"Staudamm, auÃer Betrieb"}'
+			EXPRESSION "rn1551"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
+
+	LAYER NAME "ge"	# VEgetation / Grenzen
+		CLASSITEM "signaturnummer"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Vegetation' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		#EXTENT ...
+		MAXSCALEDENOM 5000
+		METADATA
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+			wms_layer_group	"/Vegetation"
+			wms_title "Grenzen"
+		END
+		PROCESSING "CLOSE_CONNECTION=DEFER"
+		PROJECTION "init=epsg:25832" END
+		SIZEUNITS METERS
+		STATUS OFF
+		TYPE POLYGON
+		UNITS METERS
+		CLASS
+		#	NAME "[2515]"
+			EXPRESSION "2515"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#- 	NAME "Wald"
+			EXPRESSION "2517"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Baumbestand, Laub- und Nadelholz","Baumbestand, Laubholz","Baumbestand, Nadelholz",GebÃŒsch,"GehÃ¶lz (Vegetationsmerkmal)",Gras,Korbweide,Reet,"RÃ¶hricht, Schilf",ZierflÃ€che}'
+			EXPRESSION "rn1560"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "{Rain,Schneise}"
+			EXPRESSION "rn1561"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Vegetationsmerkmal, Zustand nass"}'
+			EXPRESSION "rn1563"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
+
+	LAYER NAME "fw"	# GewÃ€sser / FlÃ€chen ## FEHLER: "fb = "WohnBauflÃ€chen / FlÃ€chen # Layer umbenannt und verschoben
+		CLASSITEM "signaturnummer"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832" 
+	#	Nur verwendete SÃ€tze auslesen:
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE signaturnummer IN ('1308','1523','2510') AND thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832" 
+
+# SELECT count(ogc_fid) AS ungefiltert FROM po_polygons WHERE thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL
+# SELECT count(ogc_fid) AS gefiltert FROM po_polygons WHERE signaturnummer IN ('1308','1523','2510') AND thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL
+# 300: 10824 : 1435 SÃ€tze --> Filtern!
+# Was fehlt?
+#  SELECT sn_flaeche AS signaturnummer, count(ogc_fid) AS anzahl FROM po_polygons WHERE signaturnummer NOT IN ('1308','1523','2510') AND thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL GROUP BY sn_flaeche 
+# "1548";   16
+# "1562";    5
+# "1550";  436
+# "1410"; 8810
+# "1551";  122
+
 		#EXTENT ...
 		MAXSCALEDENOM 500000
@@ -255,124 +358,29 @@
 		UNITS METERS
 		CLASS
-		#	NAME "(1523)"
-			EXPRESSION "1523" # dies in DATA filtern
-			STYLE
-				COLOR 255 255 255
-			END
-		END
-		# Signaturnummern 1548, 1550, 1551, ...
-	END
-
-	LAYER NAME "gt"	# Topographie / Grenzen
-		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		#ATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Topographie' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE signaturnummer = 'rn1551' AND thema='Topographie' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		# Filter "signaturnummer = 'rn1551' AND"  6:0
-		#EXTENT ...
-		MAXSCALEDENOM 10000
-		METADATA
-			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
-			wms_layer_group	"/Topographie"
-			wms_title "Grenzen"
-		END
-		PROCESSING "CLOSE_CONNECTION=DEFER"
-		PROJECTION "init=epsg:25832" END
-		SIZEUNITS METERS
-		STATUS OFF
-		TYPE POLYGON
-		UNITS METERS
-		CLASS
-		#	NAME "(rn1551)"
-			EXPRESSION "rn1551"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
-
-	LAYER NAME "ge"	# VEgetation / Grenzen
-		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Vegetation' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		#EXTENT ...
-		MAXSCALEDENOM 5000
-		METADATA
-			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
-			wms_layer_group	"/Vegetation"
-			wms_title "Grenzen"
-		END
-		PROCESSING "CLOSE_CONNECTION=DEFER"
-		PROJECTION "init=epsg:25832" END
-		SIZEUNITS METERS
-		STATUS OFF
-		TYPE POLYGON
-		UNITS METERS
-		CLASS
-		#	NAME "[2515]"
-			EXPRESSION "2515"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "Wald"
-			EXPRESSION "2517"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1560)"
-			EXPRESSION "rn1560"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1561)"
-			EXPRESSION "rn1561"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1563)"
-			EXPRESSION "rn1563"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+		#	NAME '{"Hafendamm, Mole","Wellenbrecher, Buhne"}'
+			EXPRESSION "1308"
+			STYLE
+				COLOR 204 204 204
+			END
+		END
+		CLASS
+		#	NAME '{Bach,Fleet,Graben,Priel,Teich,"Untergeordnetes GewÃ€sser"}'
+			EXPRESSION "1523"
+			STYLE
+				COLOR 255 255 255 # weiÃ!
+			END
+		END
+		CLASS
+		#	NAME '{"Historische Mauer","Mauerkante links,","Mauerkante rechts,","Mauermitte,","Sonstige historische Mauer",Stadtmauer,"StÃŒtzmauer links",StÃŒtzmauermitte,"StÃŒtzmauer rechts","Ufermauer, Kaimauer"}'
+			EXPRESSION "2510"
+			STYLE
+				COLOR 204 204 204
+			END
+		END
+	END #*
 
 	LAYER NAME "gs" # Sport und Freizeit / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Sport und Freizeit' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -394,9 +402,7 @@
 			EXPRESSION "2515"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -405,10 +411,8 @@
 			EXPRESSION "rn1519"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
 				PATTERN 2.00 1.00 END
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -417,9 +421,7 @@
 			EXPRESSION "rn1520"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -428,9 +430,7 @@
 			EXPRESSION "rn1524"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -439,9 +439,7 @@
 			EXPRESSION "rn1526"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -450,16 +448,14 @@
 			EXPRESSION "rn1521"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "gw"	# GewÃ€sser / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -478,13 +474,11 @@
 		UNITS METERS
 		CLASS
-		#	NAME "(2520)"
+		#	NAME '{"Stehendes GewÃ€sser, nicht stÃ€ndig Wasser fÃŒhrend"}'
 			EXPRESSION "2520"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
 				PATTERN 4.00 2.00 END
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -493,42 +487,61 @@
 			EXPRESSION "2518"
 			STYLE
-				LINECAP SQUARE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Hafendamm, Mole","Wellenbrecher, Buhne"}'
+			EXPRESSION "rn1308"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Damm, Wall, Deich","Felsen, Felsblock, Felsnadel",RÃŒckhaltebecken,"Sonstiges GewÃ€ssermerkmal",Staudamm,"Staudamm, auÃer Betrieb"}'
+			EXPRESSION "rn1551"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "{Quelle,Stromschnelle,Wasserfall}"
+			EXPRESSION "rn1562"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "Fischtreppe, Sicherheitstor, Sperrwerk"
+			EXPRESSION "rn1548"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{Bach,Fleet,Graben,Priel,Teich,"Untergeordnetes GewÃ€sser"}'
+			EXPRESSION "rn1523"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Historische Mauer","Mauerkante links,","Mauerkante rechts,","Mauermitte,","Sonstige historische Mauer",Stadtmauer,"StÃŒtzmauer links",StÃŒtzmauermitte,"StÃŒtzmauer rechts","Ufermauer, Kaimauer"}'
+			EXPRESSION "rn2510"
+			STYLE
 				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1523)"
-			EXPRESSION "rn1523"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "Fischtreppe, Sicherheitstor, Sperrwerk"
-			EXPRESSION "rn1548"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1551)"
-			EXPRESSION "rn1551"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
+				OUTLINECOLOR 0 0 0
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -537,17 +550,15 @@
 			EXPRESSION "rn1550"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
 				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "fi" # Industrie und Gewerbe / FlÃ€chen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE thema='Industrie und Gewerbe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -575,4 +586,11 @@
 		END
 		CLASS
+		#-	NAME "VorratsbehÃ€lter, aufgestÃ€ndert"
+			EXPRESSION "1304"
+			STYLE
+			  COLOR 204 204 204
+			END
+		END
+		CLASS
 		#	NAME "[1305]"
 			EXPRESSION "1305"
@@ -589,5 +607,5 @@
 		END
 		CLASS
-			NAME "Mast"
+		#-	NAME "Mast"
 			EXPRESSION "1306"
 			STYLE
@@ -595,9 +613,9 @@
 			END
 		END
-	END
+	END #*
 
 	LAYER NAME "gi" # Industrie und Gewerbe / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Industrie und Gewerbe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -619,9 +637,7 @@
 			EXPRESSION "2515"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -630,19 +646,54 @@
 			EXPRESSION "rn1510"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn2521)"
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"FÃ¶rderband, BandstraÃe",Tor}'
 			EXPRESSION "rn2521"
 			STYLE
 				LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#- 	NAME "VorratsbehÃ€lter, Speicherbauwerk unterirdisch"
+			EXPRESSION "rn1321"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				PATTERN 0.35 0.35 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "[rn1501]"
+			EXPRESSION "rn1501"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				SIZE 0.35 WIDTH 0.35
+			END
+		END
+		CLASS
+		#	NAME "[rn1305]"
+			EXPRESSION "rn1305"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "[2031]"
+			EXPRESSION "2031"
+			STYLE
+			  LINECAP SQUARE  LINEJOIN ROUND
+			  OUTLINECOLOR 0 0 0
+			  PATTERN 2.00 1.00  END
+			  SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -651,43 +702,7 @@
 			EXPRESSION "rn2504"
 			STYLE
-				LINEJOIN ROUND
-				OUTLINECOLOR 0 0 0
+				LINEJOIN ROUND OUTLINECOLOR 0 0 0
 				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "VorratsbehÃ€lter, Speicherbauwerk unterirdisch"
-			EXPRESSION "rn1321"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 0 0 0
-				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "[rn1305]"
-			EXPRESSION "rn1305"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "[rn1501]"
-			EXPRESSION "rn1501"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 0 0 0
-				SIZE 0.35
-				WIDTH 0.35
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -696,20 +711,17 @@
 			EXPRESSION "rn1306"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "fv" # Verkehr / FlÃ€chen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		#ATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE thema='Verkehr' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE signaturnummer IN ('1542','1530') AND thema='Verkehr' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		# Filter "signaturnummer IN ('1542','1530') AND" 1687:149
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE signaturnummer IN ('1530','1532','1540','1542','1544') AND thema='Verkehr' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
 		MAXSCALEDENOM 25000
@@ -735,4 +747,26 @@
 		END
 		CLASS
+			NAME "Anleger"
+			EXPRESSION "1544"
+			STYLE
+				COLOR 255 255 255
+			END
+		END
+		CLASS
+			NAME "Fahrbahn"
+			EXPRESSION "1540"
+			STYLE
+				COLOR 255 255 255
+			END
+		END
+		CLASS
+		#	NAME "{BrÃŒckenjoch}"
+			NAME "BrÃŒckenjoch"
+			EXPRESSION "1532"
+			STYLE
+				COLOR 204 204 204
+			END
+		END
+		CLASS
 			NAME "BrÃŒcke, Hochbahn/-straÃe"
 			EXPRESSION "1530"
@@ -741,9 +775,9 @@
 			END
 		END
-	END
+	END #*
 
 	LAYER NAME "gv" # Verkehr / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Verkehr' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -761,115 +795,163 @@
 		TYPE POLYGON
 		UNITS METERS
-		CLASS
-		#	NAME "(2516)"
+		# Sortierung der CLASS nach numerischen Teil in EXPRESSION um Redundanzen zu finden
+		CLASS
+		#	NAME "{Furt}"
+			EXPRESSION "rn1320"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				PATTERN 0.35 0.35 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "(rn1330)"
+			EXPRESSION "rn1330"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#-	NAME "BrÃŒcke, Hochbahn/-straÃe"
+			EXPRESSION "rn1530"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 127 127 127
+				PATTERN 2.00 1.00 END
+				SIZE 0.5 WIDTH 0.5
+			END
+		END
+		CLASS
+		#	NAME "{BrÃŒckenpfeiler}"
+			EXPRESSION "rn1531"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 127 127 127
+				PATTERN 1.00 0.50 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "{BrÃŒckenjoch}"
+			EXPRESSION "rn1532"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 127 127 127
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "Tunnel, UnterfÃŒhrung"
+			EXPRESSION "rn1533"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 127 127 127
+				PATTERN 0.50 1.50 END
+				SIZE 0.5 WIDTH 0.5
+			END
+		END
+		CLASS
+		#-	NAME "Schleusenkammer"
+			EXPRESSION "rn1535"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 127 127 127
+				SIZE 0.5 WIDTH 0.5
+			END
+		END
+		CLASS
+		#	NAME "(rn1536)"
+			EXPRESSION "rn1536"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 127 127 127
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#-	NAME "Fahrbahn"
+			EXPRESSION "rn1540"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 127 127 127
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Bahnhof, Bahn im Freizeitpark","Bahnhof, Bergbahn, Seilbahn","Bahnhof, Eisenbahn","Bahnhof, GÃŒterverkehr","Bahnhof, Magnetschwebebahn","Bahnhof, Museumsbahn","Bahnhof, S-Bahn","Bahnhof, sonstige Bahnkategorie","Bahnhof, Stadtbahn","Bahnhof, Standseilbahn","Bahnhof, StraÃenbahn","Bahnhof, U-Bahn","Bahnhof, Zahnradbahn",Drehscheibe,"Haltestelle, Haltepunkt, Bahn im Freizeitpark","Haltestelle, Haltepunkt, Bergbahn, Seilbahn","Haltestelle, Haltepunkt, Eisenbahn","Haltestelle, Haltepunkt, GÃŒterverkehr","Haltestelle, Haltepunkt, Magnetschwebebahn","Haltestelle, Haltepunkt, Museumsbahn","Haltestelle, Haltepunkt, S-Bahn","Haltestelle, Haltepunkt, sonstige Bahnkategorie","Haltestelle, Haltepunkt, Stadtbahn","Haltestelle, Haltepunkt, Standseilbahn","Haltestelle, Haltepunkt, StraÃenbahn","Haltestelle, Haltepunkt, U-Bahn","Haltestelle, Haltepunkt, Zahnradbahn"}'
+			EXPRESSION "rn1541"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#- 	NAME "Weg"
+			EXPRESSION "rn1542"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#-	NAME "Anleger"
+			EXPRESSION "rn1544"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#-	NAME "Landeplatz, -bahn, Vorfeld, Rollbahn"
+			EXPRESSION "rn1808"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#-	NAME "Durchfahrt, Bauwerk"
+			EXPRESSION "2305"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				PATTERN 2.00 1.00 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#- 	NAME "Bahnverkehr, Platz"
+			EXPRESSION "2515"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 153 153 153
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Bahnverkehr, im Bau","Flughafen, im Bau","Flugverkehr, im Bau","Hubschrauberflugplatz, im Bau","Internationaler Flughafen, im Bau","Landeplatz, Sonderlandeplatz im Bau","Regionalflughafen, im Bau","Schiffsverkehr, im Bau","SegelfluggelÃ€nde, im Bau","StraÃenverkehr, im Bau","Verkehrslandeplatz, im Bau"}'
 			EXPRESSION "2516"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 178 178 178
 				PATTERN 7.00 1.00 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "Bahnverkehr, Platz"
-			EXPRESSION "2515"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "Weg"
-			EXPRESSION "rn1542"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1330)"
-			EXPRESSION "rn1330"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1536)"
-			EXPRESSION "rn1536"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 127 127 127
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1320)"
-			EXPRESSION "rn1320"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 153 153 153
-				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "BrÃŒcke, Hochbahn/-straÃe"
-			EXPRESSION "rn1530"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 127 127 127
-				PATTERN 2.00 1.00 END
-				SIZE 0.5
-				WIDTH 0.5
-			END
-		END
-		CLASS
-		#	NAME "(rn1531)"
-			EXPRESSION "rn1531"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 127 127 127
-				PATTERN 1.00 0.50 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "Tunnel, UnterfÃŒhrung"
-			EXPRESSION "rn1533"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 127 127 127
-				PATTERN 0.50 1.50 END
-				SIZE 0.5
-				WIDTH 0.5
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "fg" # GebÃ€ude / FlÃ€chen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_flaeche AS signaturnummer FROM po_polygons WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer NOT IN ('ax_lagebezeichnungmitpseudonummer','ax_gebaeude_dachform','ax_gebaeude_funktion','ax_gebaeude_geschosse','ax_gebaeude_zustand','ax_bauteil_dachform','ax_bauteil_funktion','ax_bauteil_geschosse','ax_turm_funktion')) AND NOT sn_flaeche IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
 		MAXSCALEDENOM 10000
@@ -909,5 +991,5 @@
 		END
 		CLASS
-		#	NAME "(2510)"
+		#	NAME '{"Historische Mauer","Mauerkante links,","Mauerkante rechts,","Mauermitte,","Sonstige historische Mauer",Stadtmauer,"StÃŒtzmauer links",StÃŒtzmauermitte,"StÃŒtzmauer rechts","Ufermauer, Kaimauer"}'
 			EXPRESSION "2510"
 			STYLE
@@ -936,11 +1018,12 @@
 			END
 		END
-	END
+	END #*
 
 	LAYER NAME "gg" # GebÃ€ude / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer NOT IN ('ax_lagebezeichnungmitpseudonummer','ax_gebaeude_dachform','ax_gebaeude_funktion','ax_gebaeude_geschosse','ax_gebaeude_zustand','ax_bauteil_dachform','ax_bauteil_funktion','ax_bauteil_geschosse','ax_turm_funktion')) AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
 		MAXSCALEDENOM 3500
@@ -957,12 +1040,20 @@
 		UNITS METERS
 		CLASS
-		#	NAME "(rn1330)"
+		#	NAME '{AquÃ€dukt,"Befestigung (Wall, Graben)","Denkmal, Denkstein, Standbild",FernsprechhÃ€uschen,Grab,"GrabhÃŒgel (HÃŒgelgrab)","GroÃsteingrab (Dolmen), HÃŒnenbett",MÃŒllbox,"Sonstige Einrichtung in Ã¶ffentlichen Bereichen","Sonstiges Bauwerk oder sonstige Einrichtung, Sonstiges","Sonstiges historisches Bauwerk oder sonstige historische Einrichtung","Wachturm (rÃ¶misch), Warte",Wasserleitung}'
 			EXPRESSION "rn1330"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Keller, unter der ErdoberflÃ€che","Tiefgarage, unter der ErdoberflÃ€che (Bauteil)"}'
+			EXPRESSION "2512"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				PATTERN 0.35 0.35 END
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -971,22 +1062,17 @@
 			EXPRESSION "2032"
 			STYLE
-				LINECAP SQUARE
+				LINECAP SQUARE LINEJOIN ROUND
+				OUTLINECOLOR 0 0 0
+				PATTERN 0.35 0.35 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Historische Mauer","Mauerkante links,","Mauerkante rechts,","Mauermitte,","Sonstige historische Mauer",Stadtmauer,"StÃŒtzmauer links",StÃŒtzmauermitte,"StÃŒtzmauer rechts","Ufermauer, Kaimauer"}'
+			EXPRESSION "rn2510"
+			STYLE
 				LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(2512)"
-			EXPRESSION "2512"
-			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				OUTLINECOLOR 0 0 0
-				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -995,10 +1081,8 @@
 			EXPRESSION "2031"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
 				PATTERN 2.00 1.00 END
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -1007,31 +1091,26 @@
 			EXPRESSION "2505"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn2510)"
-			EXPRESSION "rn2510"
-			STYLE
-				LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#-	NAME "Hochhaus"
+			EXPRESSION "2623"
+			STYLE
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1317)"
+				SIZE 0.5 WIDTH 0.5
+			END
+		END
+		CLASS
+		#	NAME NAME '{"Befestigung (Burgruine)","Burg (Fliehburg, Ringwall)",Lager,Schanze}'
 			EXPRESSION "rn1317"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
 				PATTERN 2.00 1.00 END
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -1040,20 +1119,16 @@
 			EXPRESSION "rn1501"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.35
-				WIDTH 0.35
-			END
-		END
-		CLASS
-		#	NAME "(rn1305)"
+				SIZE 0.35 WIDTH 0.35
+			END
+		END
+		CLASS
+		#	NAME '{Antenne,BrÃŒckenlaufkran,Drehkran,Einsteigeschacht,Freitreppe,Funkmast,"Historische Mauer",Hochofen,Kran,Laufkran,Mauer,Portalkran,Radioteleskop,Rampe,Rolltreppe,SchachtÃ¶ffnung,SchÃ¶pfwerk,Solarzellen,"Sonstige historische Mauer","Sonstiges Bauwerk oder sonstige Anlage fÃŒr Industrie und Gewerbe",Stadtmauer,Staumauer,"Staumauer, auÃer Betrieb",StÃŒtzmauer,Terrasse,Treppe,Trockendock,"VorratsbehÃ€lter, Speicherbauwerk",Wasserrad,Windrad}'
 			EXPRESSION "rn1305"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -1062,21 +1137,18 @@
 			EXPRESSION "2508"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
 				PATTERN 2.00 1.00 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#- 	NAME "Schornstein im GebÃ€ude"
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		# 	NAME "Schornstein im GebÃ€ude"
+		#-	NAME "Unterirdisch"
 			EXPRESSION "2513"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.25
-				WIDTH 0.25
+				SIZE 0.25 WIDTH 0.25
 			END
 		END
@@ -1085,38 +1157,32 @@
 			EXPRESSION "2514"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.35
-				WIDTH 0.35
-			END
-		END
-		CLASS
-		#	NAME "(2507)"
+				SIZE 0.35 WIDTH 0.35
+			END
+		END
+		CLASS
+		#	NAME '{Arkade,"Auskragende Geschosse","Auskragende/zurÃŒckspringende Geschosse","Durchfahrt an ÃŒberbauter VerkehrsstraÃe","Durchfahrt im GebÃ€ude","GebÃ€udeteil - abweichende GeschosshÃ¶he","Geringergeschossiger GebÃ€udeteil","HÃ¶hergeschossiger GebÃ€udeteil (nicht Hochhaus)",Keller,Loggia,"Sonstiger GebÃ€udeteil","Tiefgarage (Bauteil)",Treppenunterkante,"ZurÃŒckspringende Geschosse"}'
 			EXPRESSION "2507"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(rn1525)"
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{Brunnen,"Springbrunnen, Zierbrunnen"}'
 			EXPRESSION "rn1525"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "gr" # Rechtliche Festlegungen / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='Rechtliche Festlegungen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1145,6 +1211,5 @@
 			EXPRESSION "rn1704"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 153 153 153
 				PATTERN 4.00 1.00 END
@@ -1152,14 +1217,12 @@
 			END
 		END
-	END
+	END #*
 
 	LAYER NAME "gff" # FlurstÃŒcke / FlÃ€chen / Grenzen
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE thema='FlurstÃŒcke' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (NOT layer IN ('ax_flurstueck_nummer','ax_flurstueck_zuordnung','ax_flurstueck_zuordnung_pfeil')) AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-
-		#ATA "geom FROM (SELECT ogc_fid,gml_id,polygon AS geom,sn_randlinie AS signaturnummer FROM po_polygons WHERE signaturnummer = '2028' AND thema='FlurstÃŒcke' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (NOT layer IN ('ax_flurstueck_nummer','ax_flurstueck_zuordnung','ax_flurstueck_zuordnung_pfeil')) AND NOT polygon IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
-		# Filter signaturnummer = '2028' sinnvoll?: Nein keine Reduzierung de Menge
+		# Filter signaturnummer = '2028' sinnvoll?: Nein keine Reduzierung der Menge
 
 		#EXTENT ...
@@ -1171,6 +1234,7 @@
 			wms_title "Grenzen"
 			wms_enable_request "GetFeatureInfo"
-			# Auch wenn 'wms_enable_request "GetLegendGraphic"' weggelassen wird,
-			# ist in den Capabilities noch eine "LegendURL" enthalten.
+		#	wms_enable_request "GetFeatureInfo GetLegendGraphic"
+		# 	wms_enable_request "GetFeatureInfo !GetLegendGraphic"
+		#	Auch wenn 'wms_enable_request "GetLegendGraphic"' weggelassen wird, ist in den Capabilities noch eine "LegendURL" enthalten.
 		END
 		PROCESSING "CLOSE_CONNECTION=DEFER"
@@ -1190,19 +1254,20 @@
 			EXPRESSION "2028"
 			STYLE
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				OUTLINECOLOR 0 0 0
 			#	SIZE 0.35
 				WIDTH 0.35
-			#	OUTLINEWIDTH 0.35 # NEIN! etwa doppelt so dick wie WIDTH
-			END
-		END
-	END
-
-	## Layer des Typs Linien
+			#	OUTLINEWIDTH 0.35 # etwa doppelt so dick wie WIDTH ?!
+			END
+		END
+	END #*
+
+	## ----------------------------------------------
+	## Layer des Typs "Linien"
+	## ----------------------------------------------
 
 	LAYER NAME "lt" # Topographie / Linien
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='Topographie' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1213,4 +1278,5 @@
 			wms_layer_group	"/Topographie"
 			wms_title "Linien"
+			wms_abstract "Darstellung von BÃ¶schungen bestehend aus BÃ¶schungs-Oberkante, -Unterkante, Trennschraffen und vom Konverter generierten Schraffen."
 		END
 		PROCESSING "CLOSE_CONNECTION=DEFER"
@@ -1225,20 +1291,48 @@
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"BÃ¶schung, Kliff","GelÃ€ndekante, BÃ¶schungsoberkante","GelÃ€ndekante, BÃ¶schungsunterkante","GelÃ€ndekante, Allgemeine GelÃ€ndekante (z.B. Trennschraffe)"}'
+			EXPRESSION "2531"
+			STYLE END
+			STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 153 153 153
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"GelÃ€ndekante, BÃ¶schungsoberkante, unsicher","GelÃ€ndekante, BÃ¶schungsunterkante, unsicher","GelÃ€ndekante, Sonstige Begrenzungskante (z.B. Trennschraffe), unsicher"}'
+			EXPRESSION "8223"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 153 153 153
+				LINECAP SQUARE LINEJOIN ROUND
+				PATTERN 2.00 1.00 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "lw" # GewÃ€sser / Linien
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1257,50 +1351,83 @@
 		UNITS METERS
 		CLASS
-		#	NAME "(2003)"
+		#	NAME '{Lahnung,SchÃ¶pfwerk,"Sonstiges Bauwerk im GewÃ€sserbereich",Sperrwerk,Wehr}'
 			EXPRESSION "2003"
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(2592)"
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{Bach,Fleet,Graben,"Grabenkante links","Grabenkante rechts",Grabenmitte,Linienverkehr,"Untergeordnetes GewÃ€sser"}'
 			EXPRESSION "2592"
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(2593)"
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Bach, nicht stÃ€ndig Wasser fÃŒhrend","Fleet, nicht stÃ€ndig Wasser fÃŒhrend","Graben, nicht stÃ€ndig Wasser fÃŒhrend","Grabenkante links, nicht stÃ€ndig Wasser fÃŒhrend","Grabenkante rechts, nicht stÃ€ndig Wasser fÃŒhrend","Grabenmitte, nicht stÃ€ndig Wasser fÃŒhrend","Untergeordnetes GewÃ€sser, nicht stÃ€ndig Wasser fÃŒhrend"}'
 			EXPRESSION "2593"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				PATTERN 4.00 2.00 END
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Bach, verdolt","Bach, verrohrt, unterirdisch, bedeckt",Durchlass,"Fleet, verdolt","Fleet, verrohrt, unterirdisch, bedeckt","Graben, verdolt","Graben, verrohrt, unterirdisch, bedeckt",Rohrdurchlass,Siel,"Untergeordnetes GewÃ€sser, verdolt","Untergeordnetes GewÃ€sser, verrohrt, unterirdisch, bedeckt"}'
+			EXPRESSION "2560"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
+			STYLE END
+			STYLE END
+			STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 153 153 153
+				LINECAP SQUARE LINEJOIN ROUND
+				PATTERN 0.35 0.35 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "{DÃŒker}"
+			EXPRESSION "2561"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 1.01
+			END
+			STYLE
+				COLOR 153 153 153
+				INITIALGAP 3.6 LINEJOIN ROUND
+				PATTERN 0.00 3.60 END
+				SIZE 1
 			END
 		END
@@ -1310,38 +1437,18 @@
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				PATTERN 1.00 2.00 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(2560)"
-			EXPRESSION "2560"
-			STYLE
-				COLOR 255 255 255
-			#	OPACITY 0
-				WIDTH 0.1818
-			END
-			STYLE
-				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "lv" # Verkehr / Linien 
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='Verkehr' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1360,83 +1467,112 @@
 		UNITS METERS
 		CLASS
-		#	NAME "(2535)"
+		#	NAME '{"FuÃweg (Weg, Pfad, Steig)","Karren- und Ziehweg","Rad- und FuÃweg (Weg, Pfad, Steig)","Radweg (Weg, Pfad, Steig)","Reitweg (Weg, Pfad, Steig)",Skaterstrecke,"Weg, Pfad, Steig"}'
 			EXPRESSION "2535"
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.3535
 			END
 			STYLE
 				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				PATTERN 2.00 3.20 END
-				SIZE 0.35
-				WIDTH 0.35
-			END
-		END
-		CLASS
-		#	NAME "(2525)"
+				SIZE 0.35 WIDTH 0.35
+			END
+		END
+		CLASS
+		#	NAME '{AutofÃ€hrverkehr,"AutofÃ€hrverkehr, EisenbahnfÃ€hrverkehr",EisenbahnfÃ€hrverkehr,PersonenfÃ€hrverkehr,"Schifffahrtslinie, FÃ€hrverkehr"}'
+			EXPRESSION "2609"
+			STYLE END
+			STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 153 153 153
+				LINECAP SQUARE LINEJOIN ROUND
+				PATTERN 2.00 1.00 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "{Fahrbahnbegrenzungslinie}"
+			EXPRESSION "2527"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 153 153 153
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{"Bahn im Freizeitpark, Gleis","Bergbahn, Seilbahn, Gleis","Eisenbahn, Gleis","GÃŒterverkehr, Gleis","Magnetschwebebahn, Gleis","Museumsbahn, Gleis","S-Bahn, Gleis","Sonstige Bahnkategorie, Gleis","Stadtbahn, Gleis","Standseilbahn, Gleis","StraÃenbahn, Gleis","U-Bahn, Gleis","Zahnradbahn, Gleis"}'
 			EXPRESSION "2525"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
+			STYLE END
+			STYLE END
+			STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(2527)"
-			EXPRESSION "2527"
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "{Steg}"
+			EXPRESSION "2530"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
+				WIDTH 0.505
+			END
+			STYLE
+				COLOR 127 127 127
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.5 WIDTH 0.5
+			END
+		END
+		CLASS
+		#	NAME '{"Fahrbahnbegrenzungslinie, ÃŒberdeckt"}'
+			EXPRESSION "2506"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
+			STYLE END
+			STYLE
+				COLOR 255 255 255
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(2530)"
-			EXPRESSION "2530"
-			STYLE
-				COLOR 255 255 255
-			#	OPACITY 0
-				WIDTH 0.505
-			END
-			STYLE
-				COLOR 127 127 127
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.5
-				WIDTH 0.5
-			END
-		END
-		CLASS
-		#	NAME "(2506)"
-			EXPRESSION "2506"
-			STYLE
-				COLOR 255 255 255
-			#	OPACITY 0
-				WIDTH 0.1818
-			END
-			STYLE
-				COLOR 153 153 153
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				PATTERN 0.35 0.35 END
-				SIZE 0.18
-				WIDTH 0.18
+				SIZE 0.18 WIDTH 0.18
 			END
 		END
@@ -1444,22 +1580,45 @@
 		#- 	NAME "Widerlager"
 			EXPRESSION "2533"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 127 127 127
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "li" # Industrie und Gewerbe / Linien
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='Industrie und Gewerbe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1478,26 +1637,57 @@
 		UNITS METERS
 		CLASS
+		#	NAME '{"BahnÃŒbergang, Schranke","HÃ€ngende Lampe",HÃ¶ckerlinie,"Rohrleitung, Pipeline",Zaun}'
+			EXPRESSION "2002"
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 0 0 0
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{Erdkabel,"Rohrleitung, Pipeline, unter der ErdoberflÃ€che","Rohrleitung, Pipeline, unter der WasseroberflÃ€che"}'
+			EXPRESSION "2523"
+			STYLE END
+			STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 0 0 0
+				LINECAP SQUARE LINEJOIN ROUND
+				PATTERN
+				 0.35 0.35
+				END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
 		#	NAME "[2524]"
 			EXPRESSION "2524"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "lg" # GebÃ€ude / Linien
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer NOT IN ('ax_lagebezeichnungmitpseudonummer','ax_gebaeude_dachform','ax_gebaeude_funktion','ax_gebaeude_geschosse','ax_gebaeude_zustand','ax_bauteil_dachform','ax_bauteil_funktion','ax_bauteil_geschosse','ax_turm_funktion')) AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
 		MAXSCALEDENOM 3500
@@ -1514,41 +1704,53 @@
 		UNITS METERS
 		CLASS
-		#	NAME "(2507)"
+		#-	NAME "Kanal, Im Bau"
+			EXPRESSION "2519"
+			STYLE
+				COLOR 255 255 255
+				WIDTH 0.1818
+			END
+			STYLE
+				COLOR 178 178 178
+				LINECAP SQUARE LINEJOIN ROUND
+				PATTERN 7.00 1.00 END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME '{Arkade,"Auskragende Geschosse","Auskragende/zurÃŒckspringende Geschosse","Durchfahrt an ÃŒberbauter VerkehrsstraÃe","Durchfahrt im GebÃ€ude","GebÃ€udeteil - abweichende GeschosshÃ¶he","Geringergeschossiger GebÃ€udeteil","HÃ¶hergeschossiger GebÃ€udeteil (nicht Hochhaus)",Keller,Loggia,"Sonstiger GebÃ€udeteil","Tiefgarage (Bauteil)",Treppenunterkante,"ZurÃŒckspringende Geschosse"}'
 			EXPRESSION "2507"
+			STYLE END
+			STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-		CLASS
-		#	NAME "(2303)"
+				LINECAP SQUARE LINEJOIN ROUND
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+		CLASS
+		#	NAME "{Firstlinie}"
 			EXPRESSION "2303"
+			STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 0.1818
 			END
 			STYLE
 				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
 				PATTERN 1.00 1.00 END
-				SIZE 0.18
-				WIDTH 0.18
-			END
-		END
-	END
+				SIZE 0.18 WIDTH 0.18
+			END
+		END
+	END #*
 
 	LAYER NAME "lp" # Politische Grenzen / Linien
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='Politische Grenzen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1566,72 +1768,420 @@
 		TYPE LINE
 		UNITS METERS
-		# Bemerkung: Die folgenden 3 Classes wurden aus QGIS doppelt generiert
-		CLASS
-		#- 	NAME "Flurgrenze"
+		# Bemerkung: Die folgenden 3 Classes wurden aus QGIS doppelt generiert, mit unterschiedlicher Anzahl blinder STYLE-END-Paare, Nur jeweils 1 Class ÃŒbernommen.
+
+		CLASS
+		 	NAME "Flurgrenze" # Strich - 3 Punkte
 			EXPRESSION "2012"
 			STYLE # Grundierung
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 1.01
 			END
-			STYLE # eckige Enden
+
+		##	LÃ¶sung mit 2 ÃŒberlappenden Styles
+		#	STYLE # eckige Enden
+		#		COLOR 102 102 102
+		#		LINECAP butt LINEJOIN round
+		#		PATTERN 5.00 11.00 END # Summe 16
+		#	#	SIZE 1
+		#		WIDTH 1
+		#	END
+		#	STYLE # LÃ€nge 0 + ROUND macht Punkte
+		#	#	COLOR 102 102 102
+		#		COLOR 202 102 102
+		#		INITIALGAP 7.5
+		#		LINECAP round LINEJOIN round
+		#	#	PATTERN 0.00 3.00 0.00 3.00 0.00 10.00 END # Summe 16 - theoretisch korrekt, lÃ€uft aber auseinander
+		#		PATTERN 0.00 2.80 0.00 2.80 0.00 10.00 END # sieht in groÃen MaÃstÃ€ben besser aus
+		#	#	SIZE 1
+		#		WIDTH 1
+		##	END
+
+		## Alternative in EINEM Style. Striche und Punkte beide rund. Aber wenigstens Synchron.
+			STYLE
 				COLOR 102 102 102
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 5.00 11.00 END
-				SIZE 1
-			END
-			STYLE # 0+ROUND macht Punkte
+				LINECAP round LINEJOIN round
+				PATTERN 5.00 2.5 0.00 3.00 0.00 3.00 0.00 2.5 END
+				WIDTH 1
+			END
+		END
+
+		CLASS
+			NAME "Gemarkungsgrenze" # Strich - Punkt - Punkt
+			EXPRESSION "2014"
+			# Hier wurden 9 blinde STYLE-END-Paare generiert. -> 3 reichen
+			STYLE END STYLE END STYLE END 
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END
+
+			STYLE
+				COLOR 255 255 255
+				WIDTH 1.01
+			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 102 102 102
+		#		LINECAP butt LINEJOIN round
+		#		PATTERN 5.00 8.00 END # Summe 13
+		#	#	SIZE 1
+		#		WIDTH 1
+		#	END
+		#	STYLE
+		#		COLOR 102 102 102
+		#		INITIALGAP 7.5
+		#		LINECAP round LINEJOIN round
+		#		PATTERN 0.00 3.00 0.00 10.00 END # Summe 13 - theoretisch korrekte LÃ¶sung
+		#	#	PATTERN 0.00 2.80 0.00  9.90 END # praktisch funktionierende LÃ¶sung fÃŒr mapserver 7.0.7
+		#	#	SIZE 1
+		#		WIDTH 1
+		##	END
+
+		##	1 Style
+			STYLE
 				COLOR 102 102 102
-				INITIALGAP 7.5
-				LINEJOIN ROUND
-				PATTERN 0.00 3.00 0.00 3.00 0.00 10.00 END
-				SIZE 1
-			END
-		END
-		CLASS
-		#- 	NAME "Gemarkungsgrenze"
-			EXPRESSION "2014"
-			STYLE
+				LINECAP round LINEJOIN round
+				PATTERN 5.00 2.5 0.00 3.00 0.00 2.5 END
+				WIDTH 1
+			END
+		END
+
+		CLASS
+		 	NAME "Gemeindegrenze" # Strich - Punkt
+			EXPRESSION "2022"
+			# Hier wurden 45 blinde STYLE-END-Paare generiert. -> 6 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END 
+		#	STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+
+			STYLE # weisser Grund
 				COLOR 255 255 255
-			#	OPACITY 0
 				WIDTH 1.01
 			END
+
+		##	2 Styles aus QGIS-Generierung
+		#	STYLE # Strichelierung
+		#		COLOR 102 102 102
+		#		LINECAP butt LINEJOIN round
+		#		PATTERN 5.00 5.00 END # Summe 10
+		#	#	SIZE 1
+		#		WIDTH 1
+		#	END
+		#	STYLE # Punkte in den LÃŒcken der Strichelung
+		#		COLOR 102 102 102
+		#		INITIALGAP 7.5
+		#		LINECAP round LINEJOIN round
+		#	#	PATTERN 0.00 10.00 END # Summe 10 - sollte also synchron sein zum vorhergehenden Style, verschiebt sich aber mit jedem Strich
+		#		PATTERN 0.00  9.90 END # theoretisch falsch, funktioniert aber im Mapserver 7.0.7. Rundungs-Problem?
+		#	#	SIZE 1
+		#		WIDTH 1
+		##	END					
+
+		##	1 Style
 			STYLE
 				COLOR 102 102 102
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 5.00 8.00 END
-				SIZE 1
-			END
+				LINECAP round LINEJOIN round
+				PATTERN 5.00 2.5 0.00 2.5 END # Summe 10
+				WIDTH 1
+			END
+		END
+
+		CLASS
+			NAME "Landkreisgrenze"
+			EXPRESSION "2010"
+			# hier wurden 189 blinde STYLE-END-Paare generiert. Muss das? -> 9 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END 
+		#	STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END
+			STYLE
+				COLOR 255 255 255
+				WIDTH 1.515
+			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 102 102 102
+		#		LINECAP butt LINEJOIN round
+		#		PATTERN 7.00 12.00 END # Summe 19
+		#		SIZE 1.5 WIDTH 1.5
+		#	END
+		#	STYLE
+		#		COLOR 102 102 102
+		#		INITIALGAP 10.75
+		#		LINECAP round LINEJOIN round
+		#		PATTERN 0.00 4.50 0.00 14.50 END # Summe 19
+		#		SIZE 1.5 WIDTH 1.5
+		##	END
+
+		##	1 Style
 			STYLE
 				COLOR 102 102 102
-				INITIALGAP 7.5
-				LINEJOIN ROUND
-				PATTERN 0.00 3.00 0.00 10.00 END
-				SIZE 1
-			END
-		END
-		CLASS
-		#- 	NAME "Gemeindegrenze"
-			EXPRESSION "2022"
+				LINECAP round LINEJOIN round
+				PATTERN 7.00 3.75 0.00 4.50 0.00 3.75 END # Summe 19
+				WIDTH 1.5
+			END
+		END
+
+		CLASS
+			NAME "Regierungsbezirksgrenze"
+			EXPRESSION "2020"
+			# hier wurden 765!! blinde STYLE-END-Paare generiert. Ist das wirklich sinnvoll und notwendig fÃŒr eine korrekte Darstellung?? -> 12 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END	STYLE END STYLE END 
+		#	STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
+		#	STYLE END STYLE END STYLE END STYLE END STYLE END
 			STYLE
 				COLOR 255 255 255
-			#	OPACITY 0
-				WIDTH 1.01
-			END
+				WIDTH 1.515
+			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 102 102 102
+		#		LINECAP butt LINEJOIN round
+		#		PATTERN 7.00 3.00 7.00 12.00 END # Summe 29
+		#		SIZE 1.5 WIDTH 1.5
+		#	END
+		#	STYLE
+		#		COLOR 102 102 102
+		#		INITIALGAP 20.75
+		#		LINECAP round LINEJOIN round
+		#		PATTERN 0.00 4.50 0.00 24.50 END # Summe 29
+		#		SIZE 1.5 WIDTH 1.5
+		##	END
+
+		##	1 Style
 			STYLE
 				COLOR 102 102 102
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 5.00 5.00 END
-				SIZE 1
-			END
+				LINECAP round LINEJOIN round
+				#            10   17   20.75     25.25     29.0
+				PATTERN 7.00 3.00 7.00 3.75 0.00 4.50 0.00 3.75 END # Summe 29
+				WIDTH 1.5
+			END
+		END
+
+		CLASS
+			NAME "Landesgrenze"
+			EXPRESSION "2018"
+
+			# Hier wurden 3069!! blinde STYLE-END-Paare generiert. Ist das fÃŒr eine korrekte Darstellung wirklich notwendig? -> 15 reichen
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END
+
+			STYLE
+				COLOR 255 255 255
+				WIDTH 2.02
+			END
+
+		##	2 Styles
+		#	STYLE
+		#		COLOR 102 102 102
+		#		LINECAP butt LINEJOIN round
+		#		PATTERN 8.00 3.50 8.00 9.00 END # Summe 28.5
+		#	#	SIZE 2
+		#		WIDTH 2
+		#	END
+		#	STYLE
+		#		COLOR 102 102 102
+		#		INITIALGAP 24
+		#		LINECAP round LINEJOIN round
+		#		PATTERN 0.00 28.50 END # Summe 28.5
+		#	#	SIZE 2
+		#		WIDTH 2
+		##	END
+
+		##	1 Style
 			STYLE
 				COLOR 102 102 102
-				INITIALGAP 7.5
-				LINEJOIN ROUND
-				PATTERN 0.00 10.00 END
-				SIZE 1
+				LINECAP round LINEJOIN round
+				#            11.5 19.5 24      28.5
+				PATTERN 8.00 3.50 8.00 4.5 0.0 4.5 END # Summe 28.5
+				WIDTH 2
 			END
 		END
@@ -1640,5 +2190,5 @@
 	LAYER NAME "lfn" # FlurstÃŒcke / Nummern / Linien
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='FlurstÃŒcke' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer IN ('ax_flurstueck_nummer','ax_flurstueck_zuordnung','ax_flurstueck_zuordnung_pfeil')) AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1669,13 +2219,13 @@
 			STYLE
 				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				SIZE 0.18
+				LINECAP SQUARE LINEJOIN ROUND
+			#	SIZE 0.18
 				WIDTH 0.18
 			END
 		END
 		CLASS
-		#- 	NAME "Zuordnungspfeil"
-			EXPRESSION "2004"
+		#-	NAME "Zuordnungspfeil, abweichender Rechtszustand"
+			EXPRESSION "2005"
+			STYLE END STYLE END
 			STYLE
 				COLOR 255 255 255
@@ -1684,15 +2234,31 @@
 			END
 			STYLE
+				COLOR 204 204 204
+				LINEJOIN ROUND
+			#	SIZE 0.18
+				WIDTH 0.18
+			END
+		END
+		CLASS
+		#- 	NAME "Zuordnungspfeil"
+			EXPRESSION "2004"
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END
+			STYLE
+				COLOR 255 255 255
+			#	OPACITY 0
+				WIDTH 0.1818
+			END
+			STYLE
 				COLOR 0 0 0
 				LINEJOIN ROUND
-				SIZE 0.18
+			#	SIZE 0.18
 				WIDTH 0.18
 			END
 		END
-	END
+	END #*
 
 	LAYER NAME "lff" # FlurstÃŒcke / FlÃ€chen / Linien
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,line AS geom,signaturnummer FROM po_lines WHERE thema='FlurstÃŒcke' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (NOT layer IN ('ax_flurstueck_nummer','ax_flurstueck_zuordnung','ax_flurstueck_zuordnung_pfeil')) AND NOT line IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1712,6 +2278,6 @@
 		UNITS METERS
 		CLASS
-		#- 	NAME "Strittige Grenze"
-			EXPRESSION "2006"
+		#-	NAME "FlurstÃŒcksgrenze, abw. Rechtszustand"
+			EXPRESSION "2029"
 			STYLE
 				COLOR 255 255 255
@@ -1720,15 +2286,14 @@
 			END
 			STYLE
-				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
-				PATTERN 6.00 1.00 END
-				SIZE 0.35
+				COLOR 204 204 204
+				LINECAP SQUARE LINEJOIN ROUND
+			#	SIZE 0.35
 				WIDTH 0.35
 			END
 		END
 		CLASS
-		#- 	NAME "FlurstÃŒcksgrenze nicht feststellbar"
-			EXPRESSION "2008"
+		#- 	NAME "Strittige Grenze"
+			EXPRESSION "2006"
+			STYLE END STYLE END
 			STYLE
 				COLOR 255 255 255
@@ -1738,18 +2303,36 @@
 			STYLE
 				COLOR 0 0 0
-				LINECAP SQUARE
-				LINEJOIN ROUND
+				LINECAP SQUARE LINEJOIN ROUND
+				PATTERN 6.00 1.00 END
+			#	SIZE 0.35
+				WIDTH 0.35
+			END
+		END
+		CLASS
+		#- 	NAME "FlurstÃŒcksgrenze nicht feststellbar"
+			EXPRESSION "2008"
+			STYLE END STYLE END STYLE END STYLE END STYLE END STYLE END # DarstellungsprioritÃ€t anheben
+			STYLE
+				COLOR 255 255 255
+			#	OPACITY 0
+				WIDTH 0.3535
+			END
+			STYLE
+				COLOR 0 0 0
+				LINECAP SQUARE LINEJOIN ROUND
 				PATTERN 2.00 1.00 END
-				SIZE 0.35
+			#	SIZE 0.35
 				WIDTH 0.35
 			END
 		END
-	END
-
-	## Layer des Typs Punkte
+	END #*
+
+	## ----------------------------------------------
+	## Layer des Typs "Punkte"
+	## ----------------------------------------------
 
 	LAYER NAME "pff" # FlurstÃŒcke / FlÃ€chen / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='FlurstÃŒcke' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (NOT layer IN ('ax_flurstueck_nummer','ax_flurstueck_zuordnung','ax_flurstueck_zuordnung_pfeil')) AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -1792,4 +2375,37 @@
 		END
 		CLASS
+		#-	NAME "Grenzpunkt ohne spezifizierte Abmarkung"
+			EXPRESSION "3024"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.5182
+				SYMBOL "norGIS_alkis3024_2"
+			END
+		END
+		CLASS
+		#-	NAME "Grenzpunkt, Abmarkung zeitweilig ausgesetzt"
+			EXPRESSION "3022"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.6995
+				SYMBOL "norGIS_alkis3022_2"
+			END
+		END
+		CLASS
+		#	NAME "(3011)"
+			EXPRESSION "3011"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+				OFFSET 0 1
+				SIZE 2.2509
+				SYMBOL "norGIS_alkis3011_2"
+			END
+		END
+		CLASS
 		#- 	NAME "FlurstÃŒcksÃŒberhaken"
 			EXPRESSION "3010"
@@ -1802,11 +2418,23 @@
 			END
 		END
-	END
+		CLASS
+		#-	NAME "Abgemarkter Grenzpunkt, abw. Rechtszustand"
+			EXPRESSION "3021"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.6995
+				SYMBOL "norGIS_alkis3021_2"
+			END
+		END
+	END #*
 
 	LAYER NAME "pg" # GebÃ€ude / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer NOT IN ('ax_lagebezeichnungmitpseudonummer','ax_gebaeude_dachform','ax_gebaeude_funktion','ax_gebaeude_geschosse','ax_gebaeude_zustand','ax_bauteil_dachform','ax_bauteil_funktion','ax_bauteil_geschosse','ax_turm_funktion')) AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
 		MAXSCALEDENOM 3500
@@ -1823,13 +2451,179 @@
 		TYPE POINT
 		UNITS METERS
-		CLASS
-		#- 	NAME "Springbrunnen, Zierbrunnen"
-			EXPRESSION "3539"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.056
-				SYMBOL "norGIS_alkis3539_2"
+		# CLASS sortiert nach Nummer in Expression
+		CLASS
+		#- 	NAME "Bank"
+			EXPRESSION "3300"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.189
+				SYMBOL "norGIS_alkis3300_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Hotel"
+			EXPRESSION "3302"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.0077
+				SYMBOL "norGIS_alkis3302_2"
+			END
+		END
+		CLASS
+		#- 	NAME "GaststÃ€tte"
+			EXPRESSION "3305"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.0077
+				SYMBOL "norGIS_alkis3305_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Kino"
+			EXPRESSION "3306"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.0077
+				SYMBOL "norGIS_alkis3306_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Spielcasino"
+			EXPRESSION "3308"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.1437
+				SYMBOL "norGIS_alkis3308_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Toilette"
+			EXPRESSION "3311"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.0077
+				SYMBOL "norGIS_alkis3311_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Post"
+			EXPRESSION "3312"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.0077
+				SYMBOL "norGIS_alkis3312_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Kirche"
+			EXPRESSION "3316"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 10.0381
+				SYMBOL "norGIS_alkis3316_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Kapelle"
+			EXPRESSION "3318"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.0137
+				SYMBOL "norGIS_alkis3318_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Polizei"
+			EXPRESSION "3324"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.0077
+				SYMBOL "norGIS_alkis3324_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Kindergarten"
+			EXPRESSION "3323"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.2313
+				SYMBOL "norGIS_alkis3323_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Feuerwehr"
+			EXPRESSION "3326"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.0077
+				SYMBOL "norGIS_alkis3326_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Hallenbad"
+			EXPRESSION "3334"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.2313
+				SYMBOL "norGIS_alkis3334_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Tiefgarage"
+			EXPRESSION "3336"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.5712
+				SYMBOL "norGIS_alkis3336_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Umformer"
+			EXPRESSION "3521"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0 0 0
+				SIZE 3.6935
+				SYMBOL "norGIS_alkis3521_2"
+			END
+		END
+		CLASS
+		#-	NAME "GroÃsteingrab (Dolmen), HÃŒnenbett"
+			EXPRESSION "3526"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.1043
+				SYMBOL "norGIS_alkis3526_2"
 			END
 		END
@@ -1846,133 +2640,12 @@
 		END
 		CLASS
-		#- 	NAME "Umformer"
-			EXPRESSION "3521"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0 0 0
-				SIZE 3.6935
-				SYMBOL "norGIS_alkis3521_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Spielcasino"
-			EXPRESSION "3308"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.1437
-				SYMBOL "norGIS_alkis3308_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Post"
-			EXPRESSION "3312"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.0077
-				SYMBOL "norGIS_alkis3312_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Hallenbad"
-			EXPRESSION "3334"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 6.2313
-				SYMBOL "norGIS_alkis3334_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Kapelle"
-			EXPRESSION "3318"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 3.0137
-				SYMBOL "norGIS_alkis3318_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Kirche"
-			EXPRESSION "3316"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 10.0381
-				SYMBOL "norGIS_alkis3316_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Feuerwehr"
-			EXPRESSION "3326"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.0077
-				SYMBOL "norGIS_alkis3326_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Kindergarten"
-			EXPRESSION "3323"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 6.2313
-				SYMBOL "norGIS_alkis3323_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Toilette"
-			EXPRESSION "3311"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.0077
-				SYMBOL "norGIS_alkis3311_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Kino"
-			EXPRESSION "3306"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.0077
-				SYMBOL "norGIS_alkis3306_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Tiefgarage"
-			EXPRESSION "3336"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 6.5712
-				SYMBOL "norGIS_alkis3336_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Bank"
-			EXPRESSION "3300"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.189
-				SYMBOL "norGIS_alkis3300_2"
+		#	NAME "(3528)"
+			EXPRESSION "3528"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.1043
+				SYMBOL "norGIS_alkis3528_2"
 			END
 		END
@@ -1989,23 +2662,23 @@
 		END
 		CLASS
-		#- 	NAME "Hotel"
-			EXPRESSION "3302"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.0077
-				SYMBOL "norGIS_alkis3302_2"
-			END
-		END
-		CLASS
-		#- 	NAME "GaststÃ€tte"
-			EXPRESSION "3305"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.0077
-				SYMBOL "norGIS_alkis3305_2"
+		#- 	NAME "Denkmal"
+			EXPRESSION "3532"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+				OFFSET 0 2
+				SIZE 4.866
+				SYMBOL "norGIS_alkis3532_2"
+			END
+		END
+		CLASS
+		#-	NAME "Gipfel-/Wegekreuz"
+			EXPRESSION "3535"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+				OFFSET 0 2
+				SIZE 4.0149
+				SYMBOL "norGIS_alkis3535_2"
 			END
 		END
@@ -2022,30 +2695,30 @@
 		END
 		CLASS
-		#- 	NAME "Polizei"
-			EXPRESSION "3324"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.0077
-				SYMBOL "norGIS_alkis3324_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Denkmal"
-			EXPRESSION "3532"
+		#- 	NAME "Springbrunnen, Zierbrunnen"
+			EXPRESSION "3539"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.056
+				SYMBOL "norGIS_alkis3539_2"
+			END
+		END
+		CLASS
+		#-	NAME "Ziehbrunnen"
+			EXPRESSION "3540"
 			STYLE
 				ANGLE [drehwinkel_grad]
 				MINSIZE 1
 				OFFSET 0 2
-				SIZE 4.866
-				SYMBOL "norGIS_alkis3532_2"
-			END
-		END
-	END
+				SIZE 6.2498
+				SYMBOL "norGIS_alkis3540_2"
+			END
+		END
+	END #*
 
 	LAYER NAME "pv" # Verkehr / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='Verkehr' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -2064,4 +2737,38 @@
 		TYPE POINT
 		UNITS METERS
+		# Sortierung nach Nummer in Expression
+		CLASS
+		#- 	NAME "FuÃweg"
+			EXPRESSION "3424"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.3703
+				SYMBOL "norGIS_alkis3424_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Radweg"
+			EXPRESSION "3426"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.3703
+				SYMBOL "norGIS_alkis3426_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Rad- und FuÃweg"
+			EXPRESSION "3428"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.3703
+				SYMBOL "norGIS_alkis3428_2"
+			END
+		END
 		CLASS
 		#- 	NAME "Reitweg"
@@ -2076,12 +2783,56 @@
 		END
 		CLASS
-		#- 	NAME "FuÃweg"
-			EXPRESSION "3424"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.3703
-				SYMBOL "norGIS_alkis3424_2"
+		#- 	NAME "Parkplatz"
+			EXPRESSION "3432"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.4836
+				SYMBOL "norGIS_alkis3432_2"
+			END
+		END
+		CLASS
+		#-	NAME "Rastplatz"
+			EXPRESSION "3434"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.4836
+				SYMBOL "norGIS_alkis3434_2"
+			END
+		END
+		CLASS
+		#-	NAME "SegelfluggelÃ€nde"
+			EXPRESSION "3439"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 12.5306
+				SYMBOL "norGIS_alkis3439_2"
+			END
+		END
+		CLASS
+		#-	NAME "Kilometerstein"
+			EXPRESSION "3556"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.1043
+				SYMBOL "norGIS_alkis3556_2"
+			END
+		END
+		CLASS
+		#	NAME "(3574)"
+			EXPRESSION "3574"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.8687
+				SYMBOL "norGIS_alkis3574_2"
 			END
 		END
@@ -2098,41 +2849,30 @@
 		END
 		CLASS
-		#- 	NAME "Parkplatz"
-			EXPRESSION "3432"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.4836
-				SYMBOL "norGIS_alkis3432_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Radweg"
-			EXPRESSION "3426"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.3703
-				SYMBOL "norGIS_alkis3426_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Rad- und FuÃweg"
-			EXPRESSION "3428"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.3703
-				SYMBOL "norGIS_alkis3428_2"
-			END
-		END
-	END
+		#	NAME "(3587)"
+			EXPRESSION "3587"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.7751
+				SYMBOL "norGIS_alkis3587_2"
+			END
+		END
+		CLASS
+		#-	NAME "Hubschrauberlandeplatz"
+			EXPRESSION "3588"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.3672
+				SYMBOL "norGIS_alkis3588_2"
+			END
+		END
+	END #*
 
 	LAYER NAME "pe" # VEgetation / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='Vegetation' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -2152,4 +2892,59 @@
 		UNITS METERS
 		CLASS
+		#- 	NAME "Gras"
+			EXPRESSION "3413"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 0.4305
+				SYMBOL "norGIS_alkis3413_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Garten"
+			EXPRESSION "3421"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.8127
+				SYMBOL "norGIS_alkis3421_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Streuobstacker"
+			EXPRESSION "3440"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.192
+				SYMBOL "norGIS_alkis3440_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Streuobstwiese"
+			EXPRESSION "3441"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.192
+				SYMBOL "norGIS_alkis3441_2"
+			END
+		END
+		CLASS
+		#-	NAME "Spargel"
+			EXPRESSION "3444"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 2.34
+				SYMBOL "norGIS_alkis3444_2"
+			END
+		END
+		CLASS
 		#- 	NAME "Baumschule"
 			EXPRESSION "3446"
@@ -2163,4 +2958,103 @@
 		END
 		CLASS
+		#-	NAME "Obstplantage"
+			EXPRESSION "3450"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.192
+				SYMBOL "norGIS_alkis3450_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Obstbaumplantage"
+			EXPRESSION "3452"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.192
+				SYMBOL "norGIS_alkis3452_2"
+			END
+		END
+		CLASS
+		#-	NAME "Obststrauchplantage"
+			EXPRESSION "3454"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.8807
+				SYMBOL "norGIS_alkis3454_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Laubwald"
+			EXPRESSION "3458"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.3763
+				SYMBOL "norGIS_alkis3458_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Nadelwald"
+			EXPRESSION "3460"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.8491
+				SYMBOL "norGIS_alkis3460_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Mischwald"
+			EXPRESSION "3462"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.3703
+				SYMBOL "norGIS_alkis3462_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Mischwald"
+			EXPRESSION "3470"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.8718
+				SYMBOL "norGIS_alkis3470_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Heide"
+			EXPRESSION "3474"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.9261
+				SYMBOL "norGIS_alkis3474_2"
+			END
+		END
+		CLASS
+		#-	NAME "Moor"
+			EXPRESSION "3476"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.6088
+				SYMBOL "norGIS_alkis3476_2"
+			END
+		END
+		CLASS
 		#- 	NAME "Sumpf"
 			EXPRESSION "3478"
@@ -2174,34 +3068,12 @@
 		END
 		CLASS
-		#- 	NAME "Garten"
-			EXPRESSION "3421"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 1.8127
-				SYMBOL "norGIS_alkis3421_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Streuobstacker"
-			EXPRESSION "3440"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.192
-				SYMBOL "norGIS_alkis3440_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Quelle"
-			EXPRESSION "3613"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 1.0197
-				SYMBOL "norGIS_alkis3613_2"
+		#- 	NAME "Unland"
+			EXPRESSION "3480"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.0107
+				SYMBOL "norGIS_alkis3480_2"
 			END
 		END
@@ -2218,92 +3090,4 @@
 		END
 		CLASS
-		#- 	NAME "Obstbaumplantage"
-			EXPRESSION "3452"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.192
-				SYMBOL "norGIS_alkis3452_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Nadelwald"
-			EXPRESSION "3460"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.8491
-				SYMBOL "norGIS_alkis3460_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Unland"
-			EXPRESSION "3480"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.0107
-				SYMBOL "norGIS_alkis3480_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Mischwald"
-			EXPRESSION "3462"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.3703
-				SYMBOL "norGIS_alkis3462_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Gras"
-			EXPRESSION "3413"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 0.4305
-				SYMBOL "norGIS_alkis3413_2"
-			END
-		END
-		CLASS
-		#- 	NAME "ZierflÃ€che"
-			EXPRESSION "3605"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 2.4245
-				SYMBOL "norGIS_alkis3605_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Streuobstwiese"
-			EXPRESSION "3441"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.192
-				SYMBOL "norGIS_alkis3441_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Laubwald"
-			EXPRESSION "3458"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 3.3763
-				SYMBOL "norGIS_alkis3458_2"
-			END
-		END
-		CLASS
 		#- 	NAME "Laubbaum"
 			EXPRESSION "3599"
@@ -2317,26 +3101,4 @@
 		END
 		CLASS
-		#- 	NAME "Heide"
-			EXPRESSION "3474"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 1.9261
-				SYMBOL "norGIS_alkis3474_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Mischwald"
-			EXPRESSION "3470"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.8718
-				SYMBOL "norGIS_alkis3470_2"
-			END
-		END
-		CLASS
 		#- 	NAME "Busch, Hecke, Knick"
 			EXPRESSION "3601"
@@ -2349,9 +3111,43 @@
 			END
 		END
-	END
+		CLASS
+		#-	NAME "RÃ¶hricht, Schilf"
+			EXPRESSION "3603"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.7388
+				SYMBOL "norGIS_alkis3603_2"
+			END
+		END
+
+		CLASS
+		#- 	NAME "ZierflÃ€che"
+			EXPRESSION "3605"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 2.4245
+				SYMBOL "norGIS_alkis3605_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Quelle"
+			EXPRESSION "3613"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.0197
+				SYMBOL "norGIS_alkis3613_2"
+			END
+		END
+	END #*
 
 	LAYER NAME "pw"	# GeWÃ€sser / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -2371,15 +3167,4 @@
 		UNITS METERS
 		CLASS
-		#- 	NAME "Unterirdisches FlieÃgewÃ€sser"
-			EXPRESSION "3619"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 1.2236
-				SYMBOL "norGIS_alkis3619_2"
-			END
-		END
-		CLASS
 		#- 	NAME "FlieÃgewÃ€sser"
 			EXPRESSION "3488"
@@ -2404,12 +3189,34 @@
 		END
 		CLASS
-		#- 	NAME "Quelle"
-			EXPRESSION "3613"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 1.0197
-				SYMBOL "norGIS_alkis3613_2"
+		#-	NAME "Brunnen / Gasquelle, Mofette / Heilquelle"
+			EXPRESSION "3529"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 2.6965
+				SYMBOL "norGIS_alkis3529_2"
+			END
+		END
+		CLASS
+		#	NAME "(3592)"
+			EXPRESSION "3592"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.2009
+				SYMBOL "norGIS_alkis3592_2"
+			END
+		END
+		CLASS
+		#	NAME "(3595)"
+			EXPRESSION "3595"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.2009
+				SYMBOL "norGIS_alkis3595_2"
 			END
 		END
@@ -2426,4 +3233,26 @@
 		END
 		CLASS
+		#- 	NAME "Quelle"
+			EXPRESSION "3613"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.0197
+				SYMBOL "norGIS_alkis3613_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Unterirdisches FlieÃgewÃ€sser"
+			EXPRESSION "3619"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.2236
+				SYMBOL "norGIS_alkis3619_2"
+			END
+		END
+		CLASS
 		#- 	NAME "FlieÃgewÃ€sser, nicht stÃ€ndig Wasser fÃŒhrend"
 			EXPRESSION "3621"
@@ -2436,9 +3265,20 @@
 			END
 		END
-	END
+		CLASS
+		#	NAME "[3653]"
+			EXPRESSION "3653"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.2009
+				SYMBOL "norGIS_alkis3653_2"
+			END
+		END
+	END #*
 
 	LAYER NAME "pi" # Industrie und Gewerbe / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='Industrie und Gewerbe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -2469,12 +3309,67 @@
 		END
 		CLASS
-		#- 	NAME "Umformer"
-			EXPRESSION "3521"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 3.6935
-				SYMBOL "norGIS_alkis3521_2"
+		#	NAME "(3402)"
+			EXPRESSION "3402"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 7.1603
+				SYMBOL "norGIS_alkis3402_2"
+			END
+		END
+		CLASS
+		#-	NAME "Umspannstation"
+			EXPRESSION "3404"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 7.3643
+				SYMBOL "norGIS_alkis3404_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Torf"
+			EXPRESSION "3407"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.5092
+				SYMBOL "norGIS_alkis3407_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Windrad"
+			EXPRESSION "3501"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+				OFFSET 0 3
+				SIZE 6.8565
+				SYMBOL "norGIS_alkis3501_2"
+			END
+		END
+		CLASS
+		#-	NAME "Solarzellen"
+			EXPRESSION "3502"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 4.3733
+				SYMBOL "norGIS_alkis3502_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Mast"
+			EXPRESSION "3504"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 2.1979
+				SYMBOL "norGIS_alkis3504_2"
 			END
 		END
@@ -2491,15 +3386,4 @@
 		END
 		CLASS
-		#- 	NAME "VorratsbehÃ€lter"
-			EXPRESSION "3522"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 3.1949
-				SYMBOL "norGIS_alkis3522_2"
-			END
-		END
-		CLASS
 		#- 	NAME "Schornstein, Schlot, Esse"
 			EXPRESSION "3508"
@@ -2513,23 +3397,45 @@
 		END
 		CLASS
-		#- 	NAME "Mast"
-			EXPRESSION "3504"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 2.1979
-				SYMBOL "norGIS_alkis3504_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Windrad"
-			EXPRESSION "3501"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-				OFFSET 0 3
-				SIZE 6.8565
-				SYMBOL "norGIS_alkis3501_2"
+		#-	NAME "Stollenmundloch"
+			EXPRESSION "3509"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.2856
+				SYMBOL "norGIS_alkis3509_2"
+			END
+		END
+		CLASS
+			NAME "SchachtÃ¶ffnung"
+			EXPRESSION "3510"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+				OFFSET 0 0
+				SIZE 2.6058
+				SYMBOL "norGIS_alkis3510_2"
+			END
+		END
+		CLASS
+		#-	NAME "Drehkran"
+			EXPRESSION "3512"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+				OFFSET 0 1
+				SIZE 5.1886
+				SYMBOL "norGIS_alkis3512_2"
+			END
+		END
+		CLASS
+		#	NAME "Portalkran"
+			EXPRESSION "3513"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.189
+				SYMBOL "norGIS_alkis3513_2"
 			END
 		END
@@ -2546,19 +3452,41 @@
 		END
 		CLASS
-		#- 	NAME "Torf"
-			EXPRESSION "3407"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 4.5092
-				SYMBOL "norGIS_alkis3407_2"
-			END
-		END
-	END
+		#	NAME "Einsteigeschacht"
+			EXPRESSION "3520"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.1949
+				SYMBOL "norGIS_alkis3520_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Umformer"
+			EXPRESSION "3521"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.6935
+				SYMBOL "norGIS_alkis3521_2"
+			END
+		END
+		CLASS
+		#- 	NAME "VorratsbehÃ€lter"
+			EXPRESSION "3522"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.1949
+				SYMBOL "norGIS_alkis3522_2"
+			END
+		END
+	END #*
 
 	LAYER NAME "ps" # Sport und Freizeit / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='Sport und Freizeit' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -2578,4 +3506,92 @@
 		UNITS METERS
 		CLASS
+		#-	NAME "Skating"
+			EXPRESSION "3409"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 7.3643
+				SYMBOL "norGIS_alkis3409_2"
+			END
+		END
+		CLASS
+		#-	NAME "Safaripark, Wildpark"
+			EXPRESSION "3411"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 7.3643
+				SYMBOL "norGIS_alkis3411_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Campingplatz"
+			EXPRESSION "3412"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 7.7268
+				SYMBOL "norGIS_alkis3412_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Rasen"
+			EXPRESSION "3413"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 0.4305
+				SYMBOL "norGIS_alkis3413_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Park"
+			EXPRESSION "3415"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 5.6648
+				SYMBOL "norGIS_alkis3415_2"
+			END
+		END
+		CLASS
+		#-	NAME "Botanischer Garten"
+			EXPRESSION "3417"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 7.3643
+				SYMBOL "norGIS_alkis3417_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Kleingarten"
+			EXPRESSION "3419"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.4126
+				SYMBOL "norGIS_alkis3419_2"
+			END
+		END
+		CLASS
+		#- 	NAME "Garten"
+			EXPRESSION "3421"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.8127
+				SYMBOL "norGIS_alkis3421_2"
+			END
+		END
+		CLASS
 		#- 	NAME "Spielplatz, Bolzplatz"
 			EXPRESSION "3423"
@@ -2589,63 +3605,30 @@
 		END
 		CLASS
-		#- 	NAME "Kleingarten"
-			EXPRESSION "3419"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 6.4126
-				SYMBOL "norGIS_alkis3419_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Garten"
-			EXPRESSION "3421"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 1.8127
-				SYMBOL "norGIS_alkis3421_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Rasen"
-			EXPRESSION "3413"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 0.4305
-				SYMBOL "norGIS_alkis3413_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Park"
-			EXPRESSION "3415"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 5.6648
-				SYMBOL "norGIS_alkis3415_2"
-			END
-		END
-		CLASS
-		#- 	NAME "Campingplatz"
-			EXPRESSION "3412"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 7.7268
-				SYMBOL "norGIS_alkis3412_2"
-			END
-		END
-	END
+		#-	NAME "SchieÃanlage"
+			EXPRESSION "3524"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.3673
+				SYMBOL "norGIS_alkis3524_2"
+			END
+		END
+		CLASS
+		#-	NAME "Gradierwerk"
+			EXPRESSION "3525"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 6.0727
+				SYMBOL "norGIS_alkis3525_2"
+			END
+		END
+	END #*
 
 	LAYER NAME "pt"	# Topographie / Punkte
 		CLASSITEM "signaturnummer"
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
 		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,point AS geom,drehwinkel_grad,signaturnummer FROM po_points WHERE thema='Topographie' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
@@ -2665,4 +3648,15 @@
 		UNITS METERS
 		CLASS
+		#- 	NAME "Busch, Hecke, Knick"
+			EXPRESSION "3601"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 1.4275
+				SYMBOL "norGIS_alkis3601_2"
+			END
+		END
+		CLASS
 		#- 	NAME "Felsen, Felsblock, Felsnadel"
 			EXPRESSION "3627"
@@ -2676,33 +3670,33 @@
 		END
 		CLASS
-		#- 	NAME "Busch, Hecke, Knick"
-			EXPRESSION "3601"
-			STYLE
-				ANGLE [drehwinkel_grad]
-				MINSIZE 1
-			#	OFFSET 0 0
-				SIZE 1.4275
-				SYMBOL "norGIS_alkis3601_2"
-			END
-		END
-	## Diese Class macht Stress !
-	#	CLASS
-	#	#- 	NAME "Busch, Hecke, Knick"
-	#		EXPRESSION "3632"
-	#		STYLE
-	#			ANGLE [drehwinkel_grad]
-	#			MINSIZE 1
-	#			SIZE 2
-	#			SYMBOL "norGIS_alkis3632_2"
-	#		END
-	##	END
-	END
-
-	## Layer des Typs  Beschriftungen
+		#-	NAME "HÃ¶hleneingang"
+			EXPRESSION "3625"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+			#	OFFSET 0 0
+				SIZE 3.9654
+				SYMBOL "norGIS_alkis3625_2"
+			END
+		END
+		CLASS
+		#	NAME "Busch, Hecke, Knick"
+			EXPRESSION "3632"
+			STYLE
+				ANGLE [drehwinkel_grad]
+				MINSIZE 1
+				SIZE 2
+				SYMBOL "norGIS_alkis3632_2"
+			END
+		END
+	END #*
+
+	## ----------------------------------------------
+	## Layer des Typs "Beschriftungen"
+	## ----------------------------------------------
 
 	LAYER NAME "bfn" # FlurstÃŒcke / Nummern / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='FlurstÃŒcke' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer IN ('ax_flurstueck_nummer','ax_flurstueck_zuordnung','ax_flurstueck_zuordnung_pfeil')) AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -2727,24 +3721,22 @@
 				ANGLE [drehwinkel_grad]
 				ANTIALIAS TRUE
-				FONT [font_umn]
+				TYPE TRUETYPE FONT [font_umn]
 				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				BUFFER 2 FORCE TRUE
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
-
-	LAYER NAME "bg" # GebÃ€ude / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
-		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+			END
+		END
+	END #*
+
+#	LAYER NAME "bg"	 # GebÃ€ude / Beschriftungen
+	LAYER NAME "bgh" # GebÃ€ude / Hausnummer (HauptgebÃ€ude)
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+	#	DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer<>'ax_lagebezeichnungmitpseudonummer') AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'L' WHEN 'rechtsbÃŒndig' THEN 'R' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM \"public\".po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer NOT IN ('ax_lagebezeichnungmitpseudonummer','ax_gebaeude_dachform','ax_gebaeude_funktion','ax_gebaeude_geschosse','ax_gebaeude_zustand','ax_bauteil_dachform','ax_bauteil_funktion','ax_bauteil_geschosse','ax_turm_funktion')) AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		# Daten der neuen Layer hier raus: Dachform usw.
 		#EXTENT ...
 		LABELITEM "text"
@@ -2754,5 +3746,6 @@
 			wms_layer_group	"/GebÃ€ude"
 		#	wms_title "Beschriftungen (Punkte)"
-			wms_title "Beschriftungen"
+		#	wms_title "Beschriftungen"
+			wms_title "Hausnummern"
 		END
 		PROCESSING "CLOSE_CONNECTION=DEFER"
@@ -2767,27 +3760,183 @@
 				ANGLE [drehwinkel_grad]
 				ANTIALIAS TRUE
-				FONT [font_umn]
+				TYPE TRUETYPE FONT [font_umn]
 				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
+				BUFFER 2 FORCE TRUE
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
+			#	SHADOWSIZE 0 0
+			END
+		END
+	END #*
+
+	# LAYER bg2 GebÃ€ude / Laufende Hausnummern / Beschriftungen
+	LAYER NAME "bgn" # GebÃ€ude / NebengebÃ€ude lfd. Nr. # NebengebÃ€ude-Nummer in Klammer, normalerweise aus
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') || CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'L' WHEN 'rechtsbÃŒndig' THEN 'R' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM \"public\".po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer='ax_lagebezeichnungmitpseudonummer') AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		#EXTENT  ...
+		LABELITEM "text"
+		MAXSCALEDENOM 3500
+		METADATA
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+			wms_layer_group	"/GebÃ€ude" # "/GebÃ€ude/Laufende Hausnummern"
+			wms_title "NebengebÃ€ude lfd. Nr." # "Beschriftungen (Punkte)"
+		END
+		PROCESSING "CLOSE_CONNECTION=DEFER"
+		PROJECTION "init=epsg:25832" END
+		SIZEUNITS INCHES
+		STATUS OFF
+		SYMBOLSCALEDENOM 1000
+		TYPE POINT
+		UNITS METERS
+		CLASS
+			LABEL
+				ANGLE [drehwinkel_grad]
+				ANTIALIAS TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn]  BUFFER 2
 				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
-			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
-
-	# LAYER bg2 GebÃ€ude / Laufende Hausnummern / Beschriftungen
-	# * NebengebÃ€ude-Nummer in Klammer, normalerweise aus
-	# +++ nur Krs HF
+		#		OFFSET 0 0
+				OUTLINECOLOR 255 255 255 COLOR [color_umn]
+				POSITION [position_umn] PRIORITY 10
+		#		SHADOWSIZE 0 0
+			END
+		END
+	END #*
+
+	LAYER NAME "bgd" # GebÃ€ude / Dachform # Neu 2017-11
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'L' WHEN 'rechtsbÃŒndig' THEN 'R' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM \"public\".po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer IN ('ax_gebaeude_dachform','ax_bauteil_dachform')) AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		#EXTENT  ...
+		LABELITEM "text"
+		MAXSCALEDENOM 3500
+		METADATA
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+			wms_layer_group	"/GebÃ€ude"
+ 			wms_title "Dachform"
+ 		END
+		MINSCALEDENOM 0
+		PROCESSING "CLOSE_CONNECTION=DEFER"
+		PROJECTION "init=epsg:25832" END
+		SIZEUNITS INCHES
+		STATUS OFF
+		SYMBOLSCALEDENOM 1000
+		TYPE POINT
+		UNITS METERS
+		CLASS
+			LABEL
+				ANGLE [drehwinkel_grad]
+				ANTIALIAS TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				FORCE TRUE
+				OUTLINECOLOR 255 255 255 COLOR [color_umn]
+				POSITION [position_umn] PRIORITY 10
+			END
+		END
+	END #*
+
+	LAYER NAME "bgf" # GebÃ€ude / Funktion # Neu 2017-11
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'L' WHEN 'rechtsbÃŒndig' THEN 'R' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM \"public\".po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer IN ('ax_gebaeude_funktion','ax_bauteil_funktion','ax_turm_funktion')) AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		#EXTENT  ...
+		LABELITEM "text"
+		MAXSCALEDENOM 3500
+		METADATA
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+			wms_layer_group	"/GebÃ€ude"
+ 			wms_title "Funktion"
+ 		END
+		PROCESSING "CLOSE_CONNECTION=DEFER"
+		PROJECTION "init=epsg:25832" END
+		SIZEUNITS INCHES
+		STATUS OFF
+		SYMBOLSCALEDENOM 1000
+		TYPE POINT
+		UNITS METERS
+		CLASS
+			LABEL
+				ANGLE [drehwinkel_grad]
+				ANTIALIAS TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+				FORCE TRUE
+				POSITION [position_umn] PRIORITY 10
+			END
+		END
+	END #*
+
+	LAYER NAME "bgg" # GebÃ€ude / Geschosse # Neu 2017-10
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'L' WHEN 'rechtsbÃŒndig' THEN 'R' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM \"public\".po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer IN ('ax_gebaeude_geschosse','ax_bauteil_geschosse')) AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		#EXTENT  ...
+		LABELITEM "text"
+		MAXSCALEDENOM 3500
+		METADATA
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+			wms_layer_group	"/GebÃ€ude"
+ 			wms_title "Geschosse"
+ 		END
+		PROCESSING "CLOSE_CONNECTION=DEFER"
+		PROJECTION "init=epsg:25832" END
+		SIZEUNITS INCHES
+		STATUS OFF
+		SYMBOLSCALEDENOM 1000
+		TYPE POINT
+		UNITS METERS
+		CLASS
+			LABEL
+				ANGLE [drehwinkel_grad]
+				ANTIALIAS TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+				FORCE TRUE
+				POSITION [position_umn] PRIORITY 10
+			END
+		END
+	END #*
+
+	LAYER NAME "bgz" # GebÃ€ude / Zustand # Neu 2017-11
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
+		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'L' WHEN 'rechtsbÃŒndig' THEN 'R' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM \"public\".po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GebÃ€ude' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND (layer='ax_gebaeude_zustand') AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
+		#EXTENT  ...
+		LABELITEM "text"
+		MAXSCALEDENOM 3500
+		METADATA
+			wms_srs "EPSG:25832 EPSG:31467 EPSG:4326 EPSG:54004 EPSG:3034 EPSG:3857"
+			wms_layer_group	"/GebÃ€ude"
+ 			wms_title "Zustand"
+ 		END
+		MINSCALEDENOM 0
+		PROCESSING "CLOSE_CONNECTION=DEFER"
+		PROJECTION "init=epsg:25832" END
+		SIZEUNITS INCHES
+		STATUS OFF
+		SYMBOLSCALEDENOM 1000
+		TYPE POINT
+		UNITS METERS
+		CLASS
+			LABEL
+				ANGLE [drehwinkel_grad]
+				ANTIALIAS TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+				FORCE TRUE
+				POSITION [position_umn] PRIORITY 10
+			END
+		END
+	END #*
 
 	LAYER NAME "bl" # Lagebezeichnungen / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='Lagebezeichnungen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -2810,24 +3959,18 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "br" # Rechtliche Festlegungen / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='Rechtliche Festlegungen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -2850,24 +3993,19 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
 				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
+				BUFFER 2 PRIORITY 10
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
 				POSITION [position_umn]
-				PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "bv" # Verkehr / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='Verkehr' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -2890,24 +4028,18 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "bh" # FriedHÃ¶fe / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# Lins-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='FriedhÃ¶fe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -2930,24 +4062,18 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "be"	# Vegetation / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='Vegetation' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -2970,24 +4096,18 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "bw" # GewÃ€sser / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='GewÃ€sser' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -3010,24 +4130,18 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "bi" # Industrie und Gewerbe / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='Industrie und Gewerbe' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -3050,24 +4164,18 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "bs" # Sport und Freizeit / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='Sport und Freizeit' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -3090,24 +4198,19 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
+			END
+		END
+	END #*
 
 	LAYER NAME "bb" # WohnbauflÃ€chen / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# links-/rechtsbÃŒndig getauscht:
+		# 2017-11: wurde nicht neu generiert (aus 300). Grund: Kommt nur selten vor (z.B. in 150).
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung)  WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='WohnbauflÃ€chen' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND point IS NOT NULL AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -3130,16 +4233,12 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
+				TYPE TRUETYPE ANTIALIAS TRUE
+				FONT [font_umn] SIZE [size_umn]
 				BUFFER 2
-				COLOR [color_umn]
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
 				FORCE TRUE
 			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
 			END
 		END
@@ -3147,7 +4246,6 @@
 
 	LAYER NAME "bt" # Topographie / Beschriftungen
-		CONNECTION "dbname='alkis*gkz*' host=10.0.100.73 port=5432 user='ms6'"
-		CONNECTIONTYPE POSTGIS
-		# Hinweis: rechts-/linksbÃŒndig sind vertauscht wenn von QGIS generiert. Und "Not Null" ist doppelt.
+		CONNECTION "dbname='alkis0*gkz*' host=10.0.100.73 port=5432 user='ms6'"
+		CONNECTIONTYPE POSTGIS
 		DATA "geom FROM (SELECT ogc_fid,gml_id,text,f.umn AS color_umn,lower(art) || coalesce('-'||effekt,'') ||CASE WHEN stil='Kursiv' THEN '-italic' WHEN stil='Fett' THEN '-bold' WHEN stil='Fett, Kursiv' THEN '-bold-italic' ELSE '' END || CASE WHEN coalesce(fontsperrung,0)=0 THEN '' ELSE '-'||(fontsperrung/0.25)::int END AS font_umn,0.25/0.0254*skalierung*grad_pt AS size_umn,CASE coalesce(l.vertikaleausrichtung,s.vertikaleausrichtung) WHEN 'oben' THEN 'L' WHEN 'Basis' THEN 'U' ELSE 'C' END || CASE coalesce(l.horizontaleausrichtung,s.horizontaleausrichtung) WHEN 'linksbÃŒndig' THEN 'R' WHEN 'rechtsbÃŒndig' THEN 'L' ELSE 'C' END AS position_umn,drehwinkel_grad,point AS geom FROM po_labels l JOIN alkis_schriften s ON s.signaturnummer=l.signaturnummer AND s.katalog=2 JOIN alkis_farben f ON s.farbe=f.id WHERE thema='Topographie' AND modell && ARRAY['DLKM','DKKM1000']::varchar[] AND NOT point IS NULL) AS foo USING UNIQUE ogc_fid USING SRID=25832"
 		#EXTENT ...
@@ -3170,48 +4268,13 @@
 			LABEL
 				ANGLE [drehwinkel_grad]
-				ANTIALIAS TRUE
-				FONT [font_umn]
-				SIZE [size_umn]
-				BUFFER 2
-				COLOR [color_umn]
-				FORCE TRUE
-			#	OFFSET 0 0
-				OUTLINECOLOR 255 255 255
-				POSITION [position_umn]
-				PRIORITY 10
+				ANTIALIAS TRUE FORCE TRUE
+				TYPE TRUETYPE FONT [font_umn]
+				SIZE [size_umn] BUFFER 2
+				COLOR [color_umn] OUTLINECOLOR 255 255 255
+			#	OFFSET 0 0
+				POSITION [position_umn] PRIORITY 10
 			#	SHADOWSIZE 0 0
-				TYPE TRUETYPE
-			END
-		END
-	END
-
-	LAYER
-		NAME "copyright"
-		STATUS ON # DEFAULT
-		TYPE POINT
-		TRANSFORM lr
-		METADATA
-			wms_title "Copyright"
-			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 EPSG:3034 EPSG:3857"
-		END
-		FEATURE
-			POINTS 0 0 END
-			# individuelle Vertragsnummer einsetzen
-			TEXT 'Copyright Geobasisdaten Liegenschaftskataster Kreis __'
-		END
-		CLASS
-			LABEL
-				SIZE small
-				POSITION ul
-				COLOR 50 50 50
-				FORCE TRUE
-				STYLE
-					GEOMTRANSFORM 'labelpoly'
-					COLOR 250 250 250
-				END
-			END
-		END
-	END
+			END
+		END
+	END #*
 END
