diff gnv-artifacts/doc/conf/maptemplates/mapfile.vm @ 840:47578d91c4f0

Added a metadata section into the mapfile and feed it with the MapServer URL (issue235). gnv-artifacts/trunk@952 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 20 Apr 2010 07:19:05 +0000
parents 89aca25642d6
children 7fd005b80c21
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/maptemplates/mapfile.vm	Mon Apr 19 14:19:19 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/mapfile.vm	Tue Apr 20 07:19:05 2010 +0000
@@ -11,6 +11,27 @@
         "init=epsg:4326"
     END
 
+    WEB
+      METADATA
+        "wms_title"             "GNV Web Map Service"
+        "wms_onlineresource"    "$MAPSERVERURL"
+        "wms_accessconstraints" "none"
+        "wms_fees"              "none"
+        "wms_addresstype"       "postal"
+        "wms_address"           "Any Street"
+        "wms_city"              "Any City"
+        "wms_stateorprovince"   "Any state"
+        "wms_postcode"          "My Postalcode"
+        "wms_country"           "Any Country"
+        "wms_contactperson"     "Any Person"
+        "wms_contactorganization" "Any Orga"
+        "wms_contactelectronicmailaddress" "any-email@example.com"
+        "wms_contactvoicetelephone" "Any's telephone number"
+        "wms_srs" "EPSG:4326 EPSG:32631 EPSG:32632 EPSG:32633"
+        "wms_feature_info_mime_type" "text/html"
+      END
+    END
+
     ## Don't change the following lines.
     $LAYERS
 

http://dive4elements.wald.intevation.org