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: christian@5539: outputFilename: 'flys-${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: wsvmapserv.ilmenau.baw.de aheinecke@5716: port: 80 aheinecke@5716: - !dnsMatch aheinecke@5716: host: www.pegelonline.wsv.de aheinecke@5716: port: 80 aheinecke@5716: - !dnsMatch aheinecke@5716: host: gdz.bkg.bund.de aheinecke@5716: port: 80 aheinecke@5716: - !dnsMatch aheinecke@5716: host: ims3.bkg.bund.de sascha@2496: port: 80 sascha@2496: - !dnsMatch sascha@2496: host: tile.openstreetmap.org sascha@2496: port: 80 sascha@2508: - !dnsMatch aheinecke@5716: host: wsvmapserv.wsv.bund.de sascha@2508: port: 80 christian@4969: - !dnsMatch christian@4969: host: geo4.service24.rlp.de christian@4969: 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 aheinecke@5572: - !dnsMatch aheinecke@5572: host: osm.wheregroup.com aheinecke@5572: port: 80 aheinecke@5581: - !dnsMatch aheinecke@5581: host: geoportal.bafg.de aheinecke@5581: port: 80 aheinecke@5716: - !dnsMatch aheinecke@5716: host: wsvmapserv.wsv.bvbs.bund.de aheinecke@5716: 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}' aheinecke@5572: author: 'Flusshydrologische Software' 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@5572: #Flys and BFG Logo aheinecke@5572: - !columns aheinecke@5678: absoluteX: 750 aheinecke@5678: absoluteY: 110 aheinecke@5572: width: 60 aheinecke@5572: items: aheinecke@5572: - !image aheinecke@5572: maxWidth: 60 aheinecke@5572: maxHeight: 60 aheinecke@5572: url: '${configDir}/../images/FLYS_Logo.png' aheinecke@5572: - !columns aheinecke@5678: absoluteX: 630 aheinecke@5678: absoluteY: 110 aheinecke@5572: width: 90 aheinecke@5572: items: aheinecke@5572: - !image aheinecke@5572: maxWidth: 90 aheinecke@5572: maxHeight: 60 aheinecke@5572: url: '${configDir}/../images/bfg_logo.gif' aheinecke@5572: # Legend header, a bit hackish with the border aheinecke@5572: # but I don't know how to put two rows in a column and I don't want to aheinecke@5572: # use tables aheinecke@5678: # - !columns aheinecke@5678: # absoluteX: 612 aheinecke@5678: # absoluteY: 575 aheinecke@5678: # width: 200 aheinecke@5678: # items: aheinecke@5678: # - !text aheinecke@5678: # text: "Legende:" aheinecke@5678: # align: center aheinecke@5678: # config: aheinecke@5678: # borderWidthLeft: 1 aheinecke@5678: # borderWidthRight: 1 aheinecke@5678: # borderWidthTop: 1 aheinecke@5678: # borderWidthBottom: 0 aheinecke@5678: # Scalebar aheinecke@5678: - !columns aheinecke@5678: absoluteX: 620 aheinecke@5678: absoluteY: 35 aheinecke@5678: width: 200 aheinecke@5678: items: aheinecke@5678: - !scalebar aheinecke@5678: type: bar aheinecke@5678: maxSize: 200 aheinecke@5678: barSize: 5 aheinecke@5678: barBgColor: white aheinecke@5678: fontSize: 8 aheinecke@5678: aheinecke@5678: # The legend aheinecke@5572: - !columns aheinecke@5572: absoluteX: 612 aheinecke@5572: absoluteY: 575 aheinecke@5572: width: 200 aheinecke@5572: items: aheinecke@5572: - !legends aheinecke@5719: maxHeight: 325 aheinecke@5572: maxWidth: 0 aheinecke@5581: maxIconHeight: 0 aheinecke@5581: inline: false aheinecke@5572: classIndentation: 10 aheinecke@5572: layerSpace: 5 aheinecke@5572: classSpace: 2 aheinecke@5572: layerFontSize: 0 aheinecke@5719: classFontSize: 10 aheinecke@5678: fontEncoding: Identity-H aheinecke@5678: classFont: FreeSans aheinecke@5678: layerFont: FreeSans aheinecke@5572: columnMargin: 2 aheinecke@5719: defaultScale: 0.5 aheinecke@5572: config: aheinecke@5572: borderWidthLeft: 1 aheinecke@5572: borderWidthRight: 1 aheinecke@5678: borderWidthTop: 1 aheinecke@5572: borderWidthBottom: 1 aheinecke@5622: # The Stamp aheinecke@5622: - !columns aheinecke@5622: absoluteX: 612 aheinecke@5678: absoluteY: 270 aheinecke@5622: width: 200 aheinecke@5719: # config: aheinecke@5719: # borderWidthLeft: 5 aheinecke@5719: # borderWidthRight: 5 aheinecke@5719: # borderWidthTop: 5 aheinecke@5719: # borderWidthBottom: 5 aheinecke@5719: #padding: 10 aheinecke@5719: #backgroundColor: #FFFFFF aheinecke@5719: #borderColor: #FFFFFF 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: aheinecke@5622: - borderWidth: 1 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: aheinecke@5678: - borderWidth: 1 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 aheinecke@5678: # The scale text aheinecke@5678: - !columns aheinecke@5678: absoluteX: 617 aheinecke@5678: absoluteY: 55 aheinecke@5678: width: 200 aheinecke@5678: items: aheinecke@5678: - !text aheinecke@5678: fontSize: 10 aheinecke@5678: text: 'Maßstab: 1:${scale}' aheinecke@5678: fontEncoding: Identity-H aheinecke@5678: font: FreeSans aheinecke@5678: config: aheinecke@5678: cells: aheinecke@5678: - padding: 5