Kvwmap-Nutzer.map

Aus kvwmap
Version vom 1. Dezember 2010, 14:16 Uhr von Rahn (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
MAP
  NAME "kvwmap in M-V"
  STATUS ON
  EXTENT 4400000 5880000 4670000 6120000
  
  PROJECTION
      "init=epsg:2398"
  END
  
  MAXSIZE 8196
  
  FONTSET "/www/kvwmap/kvwmap_wiki/Referenzenkarte/fonts/fonts.txt"
  SYMBOLSET "/www/kvwmap/kvwmap_wiki/Referenzenkarte/symbole.sym"
  SHAPEPATH "/www/kvwmap/var/data/"
  
  IMAGECOLOR 255 255 250
  UNITS meters
  RESOLUTION 72
  
  OUTPUTFORMAT
	NAME png
	MIMETYPE image/png
	DRIVER GD/PNG
	EXTENSION png
	IMAGEMODE PC256
	TRANSPARENT ON
  END
 
  IMAGETYPE png

  WEB
    IMAGEPATH "/www/kvwmap/tmp/"
    IMAGEURL "/tmp/"
      METADATA
        "wms_feature_info_mime_type" "text/html"
        "wms_onlineresource"	"http://kvwmap.geoinformatik.uni-rostock.de/cgi-bin/mapserv?map=/www/kvwmap/kvwmap_wiki/Referenzenkarte/kvwmap-ref.map&"
        "wms_extent"	"4400000 5880000 4800000 6200000"
        "ows_srs"	"EPSG:4326 EPSG:25832 EPSG:25833 EPSG:2398 EPSG:2399 EPSG:31468 EPSG:31469 EPSG:900913"
        "ows_title"	"kvwmap in M-V"
        "ows_abstract"	"kvwmap in M-V"        
        "ows_contactperson"	"Stefan Rahn"
        "ows_contactposition"	"GIS Developer"
        "ows_contactorganization"	"STZ Geoinformatik"        
        "ows_contactelectronicmailaddress"	"stefan.rahn@uni-rostock.de"        
        "ows_fees"	"frei nutzbar"
        "wms_accessconstraints"	"none"
      END
    QUERYFORMAT text/html
    LEGENDFORMAT text/html
    BROWSEFORMAT text/html
  END

#################### kvwmap - Standorte #########################################


    LAYER
    	NAME "standorte_extern"
	    CLASSITEM "oid"
	    CONNECTION "user=geheim password=auch dbname=ebenso"
	    CONNECTIONTYPE POSTGIS
	    DATA "the_geom from (select oid, * from kvwmap_user where typ = 'f') as foo using unique oid using srid=2398"
	    DEBUG 1
	    GROUP "kvwmap"
	    LABELITEM "label"
	    LABELMAXSCALEDENOM 500000
	    LABELMINSCALEDENOM 0
	    METADATA
	      "wms_auth_type"	"any"
	      "layer_hidden"	"0"
	      "layer_has_classes"	"1"
	      "ows_version"	""
	      "wfs_request_method"	"GET"
	      "wms_extent"	"4400000 5880000 4800000 6200000"
	      "wms_name"	""
	      "drawingorder"	"233333"
	      "ows_srs"	"EPSG:900913"
	      "wms_format"	""
	      "ows_title"	"standorte_extern"
	      "wfs_typename"	""
	      "wms_connectiontimeout"	"60"
	      "wms_queryable"	"0"
	      "Layer_ID"	"476"
	      "wms_group_title"	"kvwmap"
	    END
	    PROJECTION
	      "init=epsg:2398"
	    END
	    STATUS ON
	    TEMPLATE "/www/kvwmap/kvwmap_wiki/Referenzenkarte/kvwmaprefinfo.htm"
	    TOLERANCE 10
	    TYPE POINT
	    TOLERANCEUNITS PIXELS
	    UNITS METERS
	    CLASS
	      NAME "extern"
	      EXPRESSION ('[typ]' != 't')
	      LABEL
	        ANGLE 0.000000
	        ANTIALIAS TRUE
	        FONT "verdana"
	        MAXSIZE 8
	        MINSIZE 8
	        SIZE 8
	        TYPE TRUETYPE
	        BACKGROUNDCOLOR 250 250 250
	        BACKGROUNDSHADOWCOLOR 128 128 128
	        BUFFER 1
	        COLOR 36 70 169
	        FORCE FALSE
	        MINDISTANCE -1
	        MINFEATURESIZE -1
	        OFFSET 0 0
	        OUTLINECOLOR 250 250 250
	        PARTIALS TRUE
	        POSITION AUTO
	        WRAP ';'
	      END
	      STYLE
	        ANGLE 360
	        OPACITY 100
	        SIZE 13
	        SYMBOL "marker-blue2"
	      END
	    END
	  END
	
	  LAYER
  	    NAME "standorte"
	    CLASSITEM "oid"
	    CONNECTION "user=geheim password=auch dbname=ebenso"
	    CONNECTIONTYPE POSTGIS
	    DATA "the_geom from (select oid, * from kvwmap_user where typ = 't') as foo using unique oid using srid=2398"
	    DEBUG 1
	    GROUP "kvwmap"
	    LABELITEM "label"
	    LABELMAXSCALEDENOM 5000000
	    LABELMINSCALEDENOM 0
	    METADATA
	      "showclasses"	"1"
	      "group_id"	"47"
	      "wms_auth_type"	"any"
	      "layer_hidden"	"0"
	      "layer_has_classes"	"1"
	      "ows_version"	""
	      "wfs_request_method"	"GET"
	      "selectiontype"	""
	      "off_requires"	"0"
	      "wms_extent"	"4400000 5880000 4800000 6200000"
	      "wms_name"	""
	      "drawingorder"	"333333"
	      "real_layer_status"	"1"
	      "queryStatus"	"0"
	      "ows_srs"	"EPSG:900913"
	      "wms_auth_username"	""
	      "wms_format"	""
	      "ows_title"	"standorte"
	      "wfs_typename"	""
	      "wms_connectiontimeout"	"60"
	      "wms_queryable"	"0"
	      "wms_auth_password"	"{}"
	      "Layer_ID"	"474"
	      "wms_group_title"	"kvwmap"
	    END
	    PROJECTION
	      "init=epsg:2398"
	    END
	    STATUS ON
	    TEMPLATE "/www/kvwmap/kvwmap_wiki/Referenzenkarte/kvwmaprefinfo_primaer.htm"
	    TOLERANCE 10
	    TYPE POINT
	    UNITS METERS
	    CLASS
	      LABEL
	        ANGLE 0
	        ANTIALIAS TRUE
	        FONT "verdana"
	        MAXSIZE 9
	        MINSIZE 7
	        SIZE 8
	        TYPE TRUETYPE
	        BACKGROUNDCOLOR 255 232 97
	        BACKGROUNDSHADOWCOLOR 153 152 142
	        BACKGROUNDSHADOWSIZE 2 2
	        BUFFER 1
	        COLOR 0 0 0
	        FORCE FALSE
	        MINDISTANCE -1
	        MINFEATURESIZE -1
	        OFFSET 0 0
	        PARTIALS FALSE
	        POSITION lc
	        WRAP ';'
	      END
	      STYLE
	        ANGLE 360
	        MAXSIZE 20
	        MINSIZE 20
	        OPACITY 100
	        SIZE 20
	        SYMBOL "marker-blue"
	      END
	    END
	  END
		

#################### kvwmap - Kreise #########################################

  	LAYER
		NAME "kreise_umring"
		CLASSITEM "kennung"
       	        CONNECTION "user=geheim password=auch dbname=ebenso"
		CONNECTIONTYPE POSTGIS
		DATA "the_geom from (select oid, kennung, linefrompoly(the_geom)as the_geom from landkreise ) as foo using unique oid using srid=2398"
		DEBUG 1
		GROUP "kvwmap"
		LABELMAXSCALEDENOM 250000
		LABELMINSCALEDENOM 0
		METADATA
			"showclasses"	"1"
			"group_id"	"47"
			"wms_auth_type"	"any"
			"layer_hidden"	"0"
			"layer_has_classes"	"1"
			"ows_version"	"1.0.0"
			"wfs_request_method"	"GET"
			"selectiontype"	""
			"off_requires"	"0"
			"wms_extent"	"4400000 5880000 4800000 6200000"
			"wms_name"	""
			"drawingorder"	"222222"
			"real_layer_status"	"1"
			"queryStatus"	"0"
			"ows_srs"	"EPSG:900913"
			"wms_auth_username"	""
			"wms_format"	"image/png"
			"ows_title"	"kreise"
			"wfs_typename"	""
			"wms_connectiontimeout"	"60"
			"wms_queryable"	"0"
			"wms_auth_password"	"{}"
			"Layer_ID"	"472"
			"wms_group_title"	"kvwmap"
		END
		PROJECTION
			"init=epsg:2398"
		END
		STATUS ON
		TEMPLATE "/www/kvwmap/kvwmap_wiki/Referenzenkarte/landkreisinfo.htm"
		TOLERANCE 10
		TOLERANCEUNITS INCHES
		OPACITY 70
		TYPE LINE
		UNITS METERS
		CLASS
			NAME "alle"
			STYLE
				ANGLE 360
				COLOR 36 70 169
				SYMBOL 'Linie'
				SIZE 3
				OPACITY 100
				SYMBOL 0
			END
	    END
	  END
  
    LAYER
    	NAME "kreise"
	    CLASSITEM "kennung"
	    CONNECTION "user=geheim password=auch dbname=ebenso"
	    CONNECTIONTYPE POSTGIS
	    DATA "the_geom from (select oid, * from landkreise where webgis='kvwmap') as foo using unique oid using srid=2398"
	    DEBUG 1
	    GROUP "kvwmap"
	    LABELMAXSCALEDENOM 250000
	    LABELMINSCALEDENOM 0
	    METADATA
	      "showclasses"	"1"
	      "group_id"	"47"
	      "wms_auth_type"	"any"
	      "layer_hidden"	"0"
	      "layer_has_classes"	"1"
	      "ows_version"	"1.0.0"
	      "wfs_request_method"	"GET"
	      "selectiontype"	""
	      "off_requires"	"0"
	      "wms_extent"	"4400000 5880000 4800000 6200000"
	      "wms_name"	""
	      "drawingorder"	"222222"
	      "real_layer_status"	"1"
	      "queryStatus"	"0"
	      "ows_srs"	"EPSG:900913"
	      "wms_auth_username"	""
	      "wms_format"	"image/png"
	      "ows_title"	"kreise"
	      "wfs_typename"	""
	      "wms_connectiontimeout"	"60"
	      "wms_queryable"	"0"
	      "wms_auth_password"	"{}"
	      "Layer_ID"	"472"
	      "wms_group_title"	"kvwmap"
	    END
	    PROJECTION
	      "init=epsg:2398"
	    END
	    STATUS ON
	    TEMPLATE "/www/kvwmap/kvwmap_wiki/Referenzenkarte/landkreisinfo.htm"
	    TOLERANCE 10
	    TOLERANCEUNITS INCHES
	    OPACITY 70
	    TYPE POLYGON
	    UNITS METERS
	    CLASS
		NAME "alle"
		LABEL
		SIZE MEDIUM
			TYPE BITMAP
			BUFFER 0
			COLOR 0 0 0
			FORCE FALSE
			MINDISTANCE -1
			MINFEATURESIZE -1
			OFFSET 0 0
			PARTIALS TRUE
			POSITION CC
		END
		STYLE
			ANGLE 360
			COLOR 198 120 29
			OPACITY 100
			OUTLINECOLOR 165 15 21
			SYMBOL 0
		END
           END

  END
###############################################################################
  
END