sascha@2496: #===========================================================================
sascha@2496: # allowed DPIs
sascha@2496: #===========================================================================
christian@4969: dpis: [254, 190, 127, 72, 56]
sascha@2496: 
sascha@2496: #===========================================================================
sascha@2496: # allowed Formats
sascha@2496: #===========================================================================
sascha@2496: formats: ['*']
sascha@2496: 
sascha@2496: #===========================================================================
sascha@2496: # the allowed scales
sascha@2496: #===========================================================================
sascha@2496: scales:
aheinecke@5621:   - 500
aheinecke@5621:   - 750
aheinecke@5621:   - 1000
aheinecke@5621:   - 1250
aheinecke@5621:   - 1500
aheinecke@5621:   - 1750
aheinecke@5621:   - 2000
aheinecke@5621:   - 2250
sascha@2515:   - 2500
aheinecke@5621:   - 2750
aheinecke@5621:   - 3000
aheinecke@5621:   - 3250
aheinecke@5621:   - 3500
aheinecke@5621:   - 3750
aheinecke@5621:   - 4000
aheinecke@5621:   - 4250
aheinecke@5621:   - 4500
aheinecke@5621:   - 4750
sascha@2515:   - 5000
aheinecke@5621:   - 5500
aheinecke@5621:   - 6000
aheinecke@5621:   - 6500
aheinecke@5621:   - 7000
aheinecke@5621:   - 7500
aheinecke@5621:   - 8000
aheinecke@5621:   - 8500
aheinecke@5621:   - 9000
aheinecke@5621:   - 9500
sascha@2515:   - 10000
aheinecke@5621:   - 12500
sascha@2515:   - 15000
aheinecke@5621:   - 17500
aheinecke@5621:   - 20000
aheinecke@5621:   - 22500
sascha@2496:   - 25000
aheinecke@5621:   - 30000
aheinecke@5621:   - 35000
aheinecke@5621:   - 40000
aheinecke@5621:   - 45000
sascha@2496:   - 50000
aheinecke@5621:   - 75000
sascha@2496:   - 100000
sascha@2496:   - 200000
sascha@2496:   - 500000
sascha@2496:   - 1000000
sascha@2496:   - 2000000
sascha@2496:   - 4000000
sascha@2496: 
tom@7778: outputFilename: 'd4e-${date}.pdf'
sascha@2496: 
sascha@2496: #===========================================================================
sascha@2496: # the list of allowed hosts
sascha@2496: #===========================================================================
sascha@2496: hosts:
sascha@2496:   - !localMatch
sascha@2496:     dummy: true
sascha@2496:   - !dnsMatch
aheinecke@5716:     host: www.pegelonline.wsv.de
aheinecke@5716:     port: 80
aheinecke@5716:   - !dnsMatch
sascha@2496:     host: tile.openstreetmap.org
sascha@2496:     port: 80
christian@4965:   # Catch all
christian@4965:   #- !dnsMatch
christian@4965:   #  host: #regex that catches host plus path
christian@4965:   #  port: 80
christian@4472:   - !dnsMatch
christian@4965:     host: osm.intevation.de
christian@4472:     port: 80
sascha@2496: 
aheinecke@5678: # We need a font with unicode support the defaults only
aheinecke@5678: # have latin1
aheinecke@5678: fonts:
aheinecke@5678:   - /usr/share/fonts/truetype/freefont/FreeSans.ttf
aheinecke@5678: 
sascha@2496: layouts:
christian@5539:   #===========================================================================
christian@4965:   A4 landscape:
christian@4965:   #===========================================================================
christian@4965:     metaData:
aheinecke@5622:       title: '${mapTitle}'
tom@7778:       author: 'Dive4Elements River'
aheinecke@5622:       subject: 'Kartendruck'
christian@4965:       keywords: 'map,print'
christian@4965:       creator: 'd4e-river'
christian@4965: 
christian@4965:     #-------------------------------------------------------------------------
christian@4965:     mainPage:
aheinecke@5572:        # 842 * 595
christian@4965:       pageSize: A4
christian@4969:       landscape: true
aheinecke@5572:       marginLeft: 20
aheinecke@5572:       marginRight: 20
aheinecke@5572:       marginTop: 20
aheinecke@5572:       marginBottom: 20
christian@5539:       items:
christian@5539:         - !map
aheinecke@5572:           absoluteX: 20
christian@5539:           align: left
aheinecke@5572:           absoluteY: 575
aheinecke@5719:           width: 587
aheinecke@5572:           height: 555
aheinecke@5572:           spacingAfter: 0
aheinecke@5753:         # The north arrow
aheinecke@5572:         - !columns
aheinecke@5753:           absoluteX: 627
aheinecke@5753:           absoluteY: 65
aheinecke@5753:           width: 32
aheinecke@5572:           items:
aheinecke@5572:             - !image
aheinecke@5753:               maxWidth: 20
aheinecke@5753:               maxHeight: 40
aheinecke@5753:               url: '${configDir}/../images/north.png'
aheinecke@5756:         # The scale text
aheinecke@5756:         - !columns
aheinecke@5756:           absoluteX: 615
aheinecke@5756:           absoluteY: 30
aheinecke@5756:           width: 45
aheinecke@5756:           items:
aheinecke@5756:             - !text
aheinecke@5756:               fontSize: 8
aheinecke@5756:               text: '1:${scale}'
aheinecke@5756:               align: center
aheinecke@5756:               fontEncoding: Identity-H
aheinecke@5756:               font: FreeSans
aheinecke@5756:               backgroundColor: #FFFFFF
aheinecke@5753:         #Flys and BFG Logo
aheinecke@5753:         - !columns
aheinecke@5753:           absoluteX: 760
aheinecke@5753:           absoluteY: 70
aheinecke@5753:           width: 50
aheinecke@5753:           items:
aheinecke@5753:             - !image
aheinecke@5753:               maxWidth: 50
aheinecke@5753:               maxHeight: 50
aheinecke@5753:               url: '${configDir}/../images/FLYS_Logo.png'
aheinecke@5753:         - !columns
aheinecke@5753:           absoluteX: 665
aheinecke@5753:           absoluteY: 70
aheinecke@5753:           width: 75
aheinecke@5753:           items:
aheinecke@5753:             - !image
aheinecke@5753:               maxWidth: 75
aheinecke@5753:               maxHeight: 50
aheinecke@5753:               url: '${configDir}/../${logo}'
aheinecke@5678:         # Scalebar
aheinecke@5678:         - !columns
aheinecke@6247:           absoluteX: 455
aheinecke@5753:           absoluteY: 40
aheinecke@5753:           width: 150
aheinecke@5678:           items:
aheinecke@5678:             - !scalebar
aheinecke@5678:               type: bar
aheinecke@5753:               maxSize: 150
aheinecke@5678:               barSize: 5
aheinecke@5678:               barBgColor: white
aheinecke@5678:               fontSize: 8
aheinecke@5753:               backgroundColor: #FFFFFF
aheinecke@5678:         # The legend
aheinecke@5572:         - !columns
christian@6246:           absoluteX: 612
christian@6154:           absoluteY: 385
christian@6246:           width: 200
aheinecke@5572:           items:
aheinecke@5572:             - !legends
christian@6155:               maxHeight: 350
aheinecke@5572:               maxWidth: 0
aheinecke@5581:               maxIconHeight: 0
aheinecke@5753:               inline: true
aheinecke@5572:               classIndentation: 10
aheinecke@5753:               layerSpace: 0
aheinecke@5753:               classSpace: 5
aheinecke@5572:               layerFontSize: 0
aheinecke@5719:               classFontSize: 10
aheinecke@5678:               fontEncoding: Identity-H
aheinecke@5678:               classFont: FreeSans
aheinecke@5678:               layerFont: FreeSans
christian@6157:               defaultScale: 0.7
aheinecke@5572:           config:
aheinecke@5572:             borderWidthLeft: 1
aheinecke@5572:             borderWidthRight: 1
aheinecke@5678:             borderWidthTop: 1
aheinecke@5572:             borderWidthBottom: 1
aheinecke@5756:         # The stamp background
aheinecke@5756:         - !columns
aheinecke@5756:           absoluteX: 557
aheinecke@5756:           absoluteY: 575
aheinecke@5756:           width: 260
aheinecke@5756:           items:
aheinecke@5756:             - !image
aheinecke@5756:               maxWidth: 260
aheinecke@6247:               maxHeight: 190
aheinecke@5756:               url: '${configDir}/../images/white.png'
aheinecke@5756: 
aheinecke@5753:         # Title of the map
aheinecke@5753:         - !columns
aheinecke@5756:           absoluteX: 562
aheinecke@5753:           absoluteY: 575
aheinecke@5756:           width: 250
aheinecke@5753:           condition: mapTitle
aheinecke@5753:           items:
aheinecke@5753:             - !text
christian@6154:               fontSize: 18
aheinecke@5753:               text: '${mapTitle}'
aheinecke@5756: 
aheinecke@5622:         # The Stamp
aheinecke@5622:         - !columns
aheinecke@5756:           absoluteX: 562
christian@6154:           absoluteY: 550
aheinecke@5756:           width: 250
christian@6160:           config:
christian@6160:             borderWidth: 1
aheinecke@5622:           items:
aheinecke@5622:             - !attributes
aheinecke@5622:               source: data
aheinecke@5678:               spacingAfter: 0
aheinecke@5622:               columnDefs:
aheinecke@5622:                 info:
aheinecke@5678:                   columnWeight: 7
aheinecke@5622:                   header: !text
aheinecke@5678:                     text: info
aheinecke@5678:                     fontSize: 0
aheinecke@5622:                   cell: !columns
aheinecke@5622:                     config:
aheinecke@5622:                       cells:
christian@6160:                         - borderWidth: 0.5
aheinecke@5678:                           padding: 5
aheinecke@5678:                     items:
aheinecke@5678:                       - !text
aheinecke@5678:                         text: '${info}'
aheinecke@5678:                         fontSize: 10
aheinecke@5715:                         fontEncoding: Identity-H
aheinecke@5715:                         font: FreeSans
aheinecke@5715:                         fontSize: 10
aheinecke@5678:                     backgroundColor: #FFFFFF
aheinecke@5678:                 value:
aheinecke@5678:                   columnWeight: 15
aheinecke@5678:                   header: !text
aheinecke@5678:                     text: value
aheinecke@5678:                     fontSize: 0
aheinecke@5678:                   cell: !columns
aheinecke@5678:                     config:
aheinecke@5678:                       cells:
christian@6160:                         - borderWidth: 0.5
aheinecke@5678:                           padding: 5
aheinecke@5622:                     items:
aheinecke@5622:                       - !text
aheinecke@5622:                         text: '${value}'
aheinecke@5678:                         fontEncoding: Identity-H
aheinecke@5678:                         font: FreeSans
aheinecke@5678:                         fontSize: 10
aheinecke@5678:                     backgroundColor: #FFFFFF