view flys-client/src/main/webapp/WEB-INF/config.yaml @ 5568:f12837bc510f

configured secondary channels for user flys_bfg
author Tom Gottfried <tom@intevation.de>
date Fri, 05 Apr 2013 09:55:33 +0200
parents 8d0af912351c
children a264244b3d63
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 portrait:
  #===========================================================================
    metaData:
      title: '${title}'
      author: 'Flys'
      subject: 'Kartendruck A4 Portrait'
      keywords: 'map,print'
      creator: 'd4e-river'

    #-------------------------------------------------------------------------
    mainPage:
      pageSize: A4
      landscape: false
      header:
        height: 50
        items:
          - !image
            align: left
            maxWidth: 60
            maxHeight: 60
            url: '${configDir}/../images/FLYS_Logo.png'
      items:
        - !text
            font: Helvetica
            fontSize: 30
            align: right
            text: '${mapTitle}'
            spacingAfter: 30
        - !map
          spacingAfter: 30
          width: 440
          height: 483
        - !scalebar
          type: bar
          maxSize: 100
          barBgColor: white
          fontSize: 8
          align: right
        - !text
          text: '${comment}'
          spacingAfter: 30
        - !text
          font: Helvetica
          fontSize: 9
          align: right
          text: '1:${scale} ${now MM.dd.yyyy}'
        - !legends
          align: left
          maxIconWidth: 32
          maxIconHeight: 32
      footer: *commonFooter
      

  #===========================================================================
  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:
          - !image
            align: left
            maxWidth: 60
            maxHeight: 60
            url: '${configDir}/../images/FLYS_Logo.png'
      items:
        - !text
            font: Helvetica
            fontSize: 30
            align: right
            text: '${mapTitle}'
            spacingAfter: 30
        - !map
          absoluteX: 45
          absoluteY: 510
          #spacingAfter: 30
          width: 540
          height: 480
          align: left
        - !scalebar
          type: bar
          maxSize: 100
          barBgColor: white
          fontSize: 8
          align: right
        - !text
          text: '${comment}'
          spacingAfter: 30
        - !text
          font: Helvetica
          fontSize: 9
          align: right
          text: '1:${scale} ${now MM.dd.yyyy}'
        - !legends
          align: right
          maxIconWidth: 32
          maxIconHeight: 32
#         - !columns
#           widths: [500, 200]
#           items:
#             - !map
#               width: 500
#               height: 500
#             - !legends
      footer: *commonFooter


  #===========================================================================
  A0 portrait:
  #===========================================================================
    metaData:
      title: '${title}'
      author: 'MapFish print module'
      subject: 'Simple layout'
      keywords: 'map,print'
      creator: 'MapFish'

    #-------------------------------------------------------------------------
    mainPage:
      pageSize: A0
      rotation: true
      header:
        height: 50
        items:
          - !text
            font: Helvetica
            fontSize: 30
            align: right
            text: '${mapTitle}'
      items:
        - !map
          spacingAfter: 30
          width: 1760
          height: 1932
        - !scalebar
          type: bar
          maxSize: 100
          barBgColor: white
          fontSize: 8
          align: right
        - !text
          text: '${comment}'
          spacingAfter: 30
        - !text
          font: Helvetica
          fontSize: 9
          align: right
          text: '1:${scale} ${now MM.dd.yyyy}'
        - !legends
          align: left
          maxIconWidth: 32
          maxIconHeight: 32
      footer: *commonFooter

http://dive4elements.wald.intevation.org