#===========================================================================
# 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
