view artifacts/doc/conf/mapserver/mapfile.vm @ 8730:cb33de3434a8

(issue1754) Proper subtitle handling for Radius This deduplicates the subtitle and zoom / radius calculation code by moving it out of the processors. Doing this fixes cases where the subtitle would be removed when a the according filtered facet was removed although it should still have shown the Range for example. Range is now also added as a subtitle for the difference diagrams. This adds some tasty hack (with cheese) to determine wether or not the user has set the subtitle. See the comment in getChartSubtitlePure in LongitudinalSectionGenerator2 for details.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 30 Apr 2015 13:06:51 +0200
parents 069acf3cf45e
children 1fa03f3c9d3d
line wrap: on
line source
MAP
    NAME "FLYS-Map"
    STATUS ON
    SIZE 600 400
    MAXSIZE 4000
    EXTENT 3233232.55407617 5303455.37850183 3421524.44644752 5585825.50888523
    UNITS DD
    SHAPEPATH "$SHAPEFILEPATH"
    FONTSET "$CONFIGDIR/mapserver/fontset.txt"
    SYMBOLSET "$CONFIGDIR/mapserver/symbols.sym"
    IMAGECOLOR 255 255 255
    PROJECTION
        "init=epsg:31467"
    END

    DEBUG 5
    CONFIG "MS_ERRORFILE" "/tmp/flys-user-wms.log"

    WEB
      METADATA
        "wms_title"             "FLYS Web Map Service"
        "wms_onlineresource"    "${MAPSERVERURL}user-wms"
        "wms_encoding"          "UTF-8"
        "wms_accessconstraints" "none"
        "wms_fees"              "none"
        "wms_addresstype"       "postal"
        "wms_address"           ""
        "wms_city"              ""
        "wms_stateorprovince"   ""
        "wms_postcode"          ""
        "wms_country"           ""
        "wms_contactperson"     ""
        "wms_contactorganization" ""
        "wms_contactelectronicmailaddress" ""
        "wms_contactvoicetelephone" ""
        "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467"
        "wms_getmap_formatlist" "image/png,image/png; mode=24bit,image/jpeg"
        "ows_enable_request"   "*"
        "ows_sld_enabled"  "false"
        "ows_title"             "FLYS Web Map Service"
        "ows_extent"            "3233232 5303455 3421524 5585825"
      END
    END

    LEGEND
        KEYSIZE 20 20
        STATUS ON
        TRANSPARENT ON

        LABEL
            COLOR 150 150 150
            OUTLINECOLOR 255 255 255
            TYPE truetype
            FONT "FreeSans"
            SIZE 12
            POSITION AUTO
        END
    END

    ## Don't change the following lines.
    #foreach ($LAYER in $LAYERS)
        include "$LAYER"
    #end
END

http://dive4elements.wald.intevation.org