view flys-client/src/main/webapp/WEB-INF/config.yaml @ 5221:aa043641d9c8

Fix syntax error when river id is not found (pylint could have told me this)
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 11 Mar 2013 16:47:05 +0100
parents 04ccec566689
children 8d0af912351c
line wrap: on
line source
#===========================================================================
# allowed DPIs
#===========================================================================
dpis: [254, 190, 127, 72, 56]

#===========================================================================
# allowed Formats
#===========================================================================
formats: ['*']

#===========================================================================
# the allowed scales
#===========================================================================
scales:
  - 2500
  - 5000
  - 10000
  - 15000
  - 25000
  - 50000
  - 100000
  - 200000
  - 500000
  - 1000000
  - 2000000
  - 4000000

outputFilename: "flys-${date}.pdf"

#===========================================================================
# the list of allowed hosts
#===========================================================================
hosts:
  - !localMatch
    dummy: true
  - !dnsMatch
    host: wsvmapserv.wsv.bund.de
    port: 80
  - !dnsMatch
    host: tile.openstreetmap.org
    port: 80
  - !dnsMatch
    host: www.pegelonline.wsv.de
    port: 80
  - !dnsMatch
    host: geo4.service24.rlp.de
    port: 80
  # Catch all
  #- !dnsMatch
  #  host: #regex that catches host plus path
  #  port: 80
  - !dnsMatch
    host: osm.intevation.de
    port: 80

layouts:

  #===========================================================================
  A4 landscape:
  #===========================================================================
    metaData:
      title: "${title}"
      author: 'Flys'
      subject: 'Kartendruck A4 Quer'
      keywords: 'map,print'
      creator: 'd4e-river'

    #-------------------------------------------------------------------------
    mainPage:
      pageSize: A4
      landscape: true
      header:
        height: 50
        items:
          - !columns
            config:
              cells:
                - paddingBottom: 5
            items:
            - !image
              align: left
              maxWidth: 50
              maxHeight: 50
              url: "${configDir}/../images/FLYS_Logo.png"
            - !text
              font: Helvetica
              fontSize: 30
              align: right
              text: "${mapTitle}"
              
      items:
      - !map
        absoluteX: 45
        absoluteY: 510
        spacingAfter: 200
        width: 540
        height: 480
        align: left

http://dive4elements.wald.intevation.org