view 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 source
MAP
    NAME "GNV-Map"
    STATUS ON
    SIZE 600 400
    EXTENT -1 53 11 58
    UNITS DD
    SHAPEPATH "../shapefiles"
    FONTSET "fontset.txt"
    IMAGECOLOR 255 255 255
    PROJECTION
        "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

END

http://dive4elements.wald.intevation.org