[Mapbender-commits] r9496 - trunk/mapbender/tools/wms_extent

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri May 27 00:49:21 PDT 2016


Author: armin11
Date: 2016-05-27 00:49:21 -0700 (Fri, 27 May 2016)
New Revision: 9496

Removed:
   trunk/mapbender/tools/wms_extent/extents.map
Log:
fix

Deleted: trunk/mapbender/tools/wms_extent/extents.map
===================================================================
--- trunk/mapbender/tools/wms_extent/extents.map	2016-05-27 07:34:26 UTC (rev 9495)
+++ trunk/mapbender/tools/wms_extent/extents.map	2016-05-27 07:49:21 UTC (rev 9496)
@@ -1,214 +0,0 @@
-MAP
-NAME "extents"
-STATUS ON
-SIZE 600 600
-MAXSIZE 5000
-UNITS METERS
-SYMBOLSET  "symbolset_mapbender.sym"
-PROJECTION
-	"init=epsg:4326"
-END
-EXTENT 734 5016 961 5141
-WEB	
-	IMAGEPATH "/tmp/"
-	METADATA
-		WMS_TITLE "Layer Extent"
-		WMS_ABSTRACT "Geoportal Hessen, Layer Extent"
-		WMS_ONLINERESOURCE "http://localhost/cgi-bin/mapserv?map=/data/mapbender/tools/extents.map"
-		WMS_FEATURE_INFO_MIME_TYPE    "text/html"	
-		WMS_SRS "epsg:4326 epsg:25832 epsg:31467 epsg:31466 epsg:31468 epsg:31469 epsg:31462 epsg:31463 epsg:31492 epsg:31493"
-		wms_extent "403960 5468250 595890 5733150"
-		"ows_keywordlist" "Geoportal Hessen, Service Layer, WMS, WFS"
-		"ows_fees" "none"
-		"ows_accessconstraints" "none"
-		"ows_addresstype" "postal"
-		"ows_address" ""
-		"ows_city" ""
-		"ows_stateorprovince" "Hessen"
-		"ows_postcode" ""
-		"ows_country" "Germany"
-		"ows_contactperson" "Karl Owesny" 
-		"ows_contactinformation" "Infos Geoportal-HE"
-		"ows_contactorganization" ""
-		"ows_contactposition" ""
-		"ows_contactelectronicmailaddress" ""
-		"wms_contactfacsimiletelephone" ""
-		"wms_contactvoicetelephone" ""
-		"wms_enable_request" "*"
-		"wms_proxy_host" "10.176.179.65"
-		"wms_proxy_port" "3128"
-		"wms_proxy_type" "HTTP"
-	END
-	VALIDATION
-		'minx' '^[0-9]*\.?[0-9]*$'
-		'miny' '^[0-9]*\.?[0-9]*$'
-		'maxx'  '^[0-9]*\.?[0-9]*$'
-		'maxy' '^[0-9]*\.?[0-9]*$'
-		'metadata_uuid' '^\{?[0-9a-f]{8}\-?[0-9a-f]{4}\-?[0-9a-f]{4}\-?[0-9a-f]{4}\-?[0-9a-f]{12}\}?$'
-	END
-END
-SYMBOL
-	NAME 'my_hatch'
-	TYPE hatch
-END
-OUTPUTFORMAT
-  NAME 'png'
-  DRIVER 'AGG/PNG'
-  MIMETYPE 'image/png'
-  EXTENSION PNG
-  IMAGEMODE PC256
-  TRANSPARENT ON
-END
-LEGEND
-  STATUS ON
-  KEYSIZE 10 8
-  KEYSPACING 10 10
-  IMAGECOLOR 255 255 255
-  LABEL
-    COLOR 128 128 128
-    TYPE TRUETYPE
-    FONT "arial"
-    SIZE 8
-  END
-END
-
-#--------------------------------------------------- use this to have a global map background
-#please set the right tmp path above
-LAYER
-  NAME "demis"
-  TYPE RASTER
- 
-  CONNECTION "http://www2.demis.nl/wms/wms.asp?wms=WorldMap&"
-  CONNECTIONTYPE WMS
-  METADATA
-    "wms_srs"             "EPSG:4326"
-    "wms_name"            "Bathymetry,Countries,Topography,Hillshading,Coastlines,Waterbodies,Rivers,Streams,Railroads,Highways,Roads,Borders,Cities,Settlements,Airports"
-    "wms_connectiontimeout" "2"
-    "wms_server_version"  "1.1.1"
-    "wms_format"          "image/png"
-    "wms_proxy_host" "10.176.179.65"
-    "wms_proxy_port" "3128"
-    "wms_proxy_type" "HTTP"
-  END
-END
-
-#---------------------------------------------------
-
-LAYER
-  NAME "background"
-  TYPE RASTER
-  STATUS ON
-  CONNECTION "http://basisdienste.geoportal.hessen.de/cgi-bin/mapserv?map=/data/mapserver/mapserv_hessen/hessenumring.map&"
-  CONNECTIONTYPE WMS
-  METADATA
-    "wms_srs"             "EPSG:4326"
-    "wms_name"            "Umring_Hessen"
-    "wms_connectiontimeout" "2"
-    "wms_server_version"  "1.1.1"
-    "wms_format"          "image/png"
-    "wms_proxy_host" "10.176.179.65"
-    "wms_proxy_port" "3128"
-    "wms_proxy_type" "HTTP"
-  
-  END
-  
-END
-
-#---------------------------------------------------
-LAYER
-	NAME "extent"
-	STATUS ON
-	TYPE POLYGON
-	CONNECTIONTYPE postgis 
-	CONNECTION   "dbname=geoportal user=postgres port=5433 host=localhost"
-	DATA "the_geom from (select GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326) as the_geom,area2d(transform(GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326),31466)) as area, 1 as oid ) as foo USING UNIQUE oid USING SRID=4326"
-	METADATA
-		WMS_TITLE "Hessen Geo-Services"
-		WMS_SRS "epsg:4326"
-		WMS_ABSTRACT "Bounding Box Rectangles of OWS Services registered with thte Geoportal Rhineland Palatinate"
-		wms_dataurl_format "text/html"
-		wms_dataurl_href "http://10.176.178.10"
-		wms_keywordlist "Geoportal, HE, Hessen, Umgebungsrechteck, Kartensuche, Dienst, OGC WMS, Open Source Geospatial Foundation. OSGeo"
-		wms_metadataurl_format "text/html"
-		wms_metadataurl_href "http://10.176.178.10"
-		wms_metadataurl_type "TC211"
-		wms_extent "2508083.25 5427840 2681976 5646759.5"
-	END
-	PROJECTION
-		"init=epsg:4326"
-	END
- 	CLASS
-		EXPRESSION ([area] > 300000)
-		NAME "bbox2"
-		STYLE
-        		OUTLINECOLOR 135 30 50 
-        		WIDTH 2 
-      		END 
-	END
-END
-#-------------------------------------
-LAYER
-	NAME "ows_layer_target"
-	
-	TYPE POINT 
-	LABELMAXSCALE 5000000000
-	LABELMINSCALE 0
-	CONNECTIONTYPE postgis
-	CONNECTION   "dbname=geoportal user=postgres port=5433 host=localhost"
-	DATA "the_geom from (select centroid(GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326)) as the_geom,area2d(transform(GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326),31466)) as area, 1 as oid ) as foo USING UNIQUE oid USING SRID=4326"
-	LABELCACHE ON
-	METADATA
-		WMS_TITLE "RLP Geo-Services Annotations"
-		WMS_SRS "epsg:4326"
-		WMS_ABSTRACT "Bounding Box Rectangles of OWS Services registered with thte Geoportal Rhineland Palatinate"
-		wms_dataurl_format "text/html"
-		wms_dataurl_href "http://www.mapbender.org/"
-		wms_keywordlist "Geoportal, HE, Hessen, Umgebungsrechteck, Kartensuche, Dienst,OGC WMS, Open Source Geospatial Foundation. OSGeo"
-		wms_metadataurl_format "text/html"
-		wms_metadataurl_href "http://wiki.osgeo.org/"
-		wms_metadataurl_type "TC211"
-		wms_extent "2508083.25 5427840 2681976 5646759.5"
-	END
-	PROJECTION
-		"init=epsg:4326"
-	END
-	CLASS
-		EXPRESSION ([area] <= 300000)
-		NAME "bbox"
-		STYLE
-			SYMBOL 'target'
-		END
-	END
-END
-#-------------------------------------
-LAYER
-	NAME "metadata_polygon"
-	STATUS ON
-	TYPE POLYGON
-	CONNECTIONTYPE postgis 
-	CONNECTION   "dbname=geoportal user=postgres port=5433 host=localhost"
-	DATA "geom FROM (SELECT (st_dumprings((ST_Dump(bounding_geom)).geom)).path[1],(st_dumprings((ST_Dump(bounding_geom)).geom)).geom
-FROM mb_metadata WHERE uuid = \'%metadata_uuid%\') AS rings USING UNIQUE path USING SRID=4326"
-	METADATA
-		WMS_TITLE "Metadata polygon"
-		WMS_SRS "EPSG:4326"
-		WMS_ABSTRACT "Polygon of a special metadataset from the mapbender registry"
-		include "include_metadata_layer.map"
-	END
-
-	PROJECTION
-		"init=epsg:4326"
-	END
-
-	CLASS
-		NAME "Metadata polygon"
-		STYLE
-			OUTLINECOLOR 255 255 0 
-			WIDTH 2 
-		END 
-	END
-END
-
-#-------------------------------------
-
-END



More information about the Mapbender_commits mailing list