view flys-client/src/main/webapp/WEB-INF/config.yaml @ 5200:42bb6ff78d1b 2.9.11

Directly set the connectionInitSqls on the datasource Somehow the factory fails to set the connectionInitSqls if we add it to the dbcpProperties. So we now set it directly
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 08 Mar 2013 11:48:33 +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