sascha@2496: #=========================================================================== sascha@2496: # allowed DPIs sascha@2496: #=========================================================================== sascha@2496: dpis: [254, 190, 127, 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: sascha@2515: - 2500 sascha@2515: - 5000 sascha@2515: - 10000 sascha@2515: - 15000 sascha@2496: - 25000 sascha@2496: - 50000 sascha@2496: - 100000 sascha@2496: - 200000 sascha@2496: - 500000 sascha@2496: - 1000000 sascha@2496: - 2000000 sascha@2496: - 4000000 sascha@2496: sascha@2504: 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 sascha@2504: host: wsvmapserv.wsv.bund.de sascha@2496: port: 80 sascha@2496: - !dnsMatch sascha@2496: host: tile.openstreetmap.org sascha@2496: port: 80 sascha@2508: - !dnsMatch sascha@2508: host: www.pegelonline.wsv.de sascha@2508: port: 80 christian@4472: - !dnsMatch christian@4472: host: osm.wheregroup.com christian@4472: port: 80 sascha@2496: sascha@2496: layouts: sascha@2496: #=========================================================================== sascha@2496: A4 portrait: sascha@2496: #=========================================================================== sascha@2496: metaData: sascha@2496: title: '${title}' sascha@2496: author: 'MapFish print module' sascha@2496: subject: 'Simple layout' sascha@2496: keywords: 'map,print' sascha@2496: creator: 'MapFish' sascha@2496: sascha@2504: # titlePage: sascha@2504: # pageSize: A4 sascha@2504: # items: sascha@2504: # - !text sascha@2504: # spacingAfter: 150 sascha@2504: # - !text sascha@2504: # font: Helvetica sascha@2504: # fontSize: 40 sascha@2504: # spacingAfter: 100 sascha@2504: # align: center sascha@2504: # text: '${title}' sascha@2504: # - !image sascha@2504: # maxWidth: 160 sascha@2504: # maxHeight: 160 sascha@2504: # spacingAfter: 100 sascha@2504: # align: center sascha@2504: # url: http://trac.mapfish.org/trac/mapfish/attachment/ticket/3/logo_v8_sphere.svg?format=raw sascha@2504: # - !image sascha@2504: # maxWidth: 160 sascha@2504: # maxHeight: 160 sascha@2504: # spacingAfter: 100 sascha@2504: # align: center sascha@2504: # url: 'file://${configDir}/../images/flys_logo.gif' sascha@2504: # - !text sascha@2504: # font: Helvetica sascha@2504: # fontSize: 14 sascha@2504: # align: left sascha@2504: # text: | sascha@2504: # Two layers are asked by the client: sascha@2504: # - a base layer from Metacarta sascha@2504: # - a transparent layer from Camptocamp.org (routes) sascha@2504: # . sascha@2504: # Some text is added over the map, just to demonstrate the absolute positionning. sascha@2504: # footer: &commonFooter sascha@2504: # height: 30 sascha@2504: # items: sascha@2504: # - !columns sascha@2504: # config: sascha@2504: # cells: christian@4481: # - paddingBottom: 5 sascha@2504: # items: sascha@2504: # - !image sascha@2504: # maxWidth: 40 sascha@2504: # backgroundColor: #FF0000 sascha@2504: # align: left sascha@2504: # url: '${configDir}/../images/properties.gif' sascha@2504: # - !text sascha@2504: # backgroundColor: #FF0000 sascha@2504: # text: ©Camptocamp SA sascha@2504: # - !text sascha@2504: # align: right sascha@2504: # text: 'Page ${pageNum}' sascha@2496: sascha@2496: #------------------------------------------------------------------------- sascha@2496: mainPage: sascha@2496: pageSize: A4 sascha@2496: rotation: true sascha@2496: header: sascha@2496: height: 50 sascha@2496: items: christian@4481: - !image christian@4481: align: left christian@4525: maxWidth: 60 christian@4525: maxHeight: 60 christian@4481: # Fixme: Replace with local file or self-hosted link... christian@4481: url: http://ubuntuone.com/7hTz3YznHfMciAUj6FSle4 christian@4525: items: christian@4525: - !text sascha@2496: font: Helvetica sascha@2496: fontSize: 30 sascha@2496: align: right sascha@2496: text: '${mapTitle}' christian@4525: spacingAfter: 30 sascha@2496: - !map sascha@2496: spacingAfter: 30 sascha@2496: width: 440 sascha@2496: height: 483 sascha@2511: - !scalebar sascha@2511: type: bar sascha@2511: maxSize: 100 sascha@2511: barBgColor: white sascha@2511: fontSize: 8 sascha@2511: align: right sascha@2496: - !text sascha@2496: text: '${comment}' sascha@2496: spacingAfter: 30 sascha@2496: - !text sascha@2496: font: Helvetica sascha@2496: fontSize: 9 sascha@2496: align: right sascha@2496: text: '1:${scale} ${now MM.dd.yyyy}' sascha@2510: - !legends sascha@2510: align: left sascha@2510: maxIconWidth: 32 sascha@2510: maxIconHeight: 32 sascha@2496: footer: *commonFooter christian@4481: christian@4474: #=========================================================================== christian@4474: A0 portrait: christian@4474: #=========================================================================== christian@4474: metaData: christian@4474: title: '${title}' christian@4474: author: 'MapFish print module' christian@4474: subject: 'Simple layout' christian@4474: keywords: 'map,print' christian@4474: creator: 'MapFish' christian@4474: christian@4474: #------------------------------------------------------------------------- christian@4474: mainPage: christian@4474: pageSize: A0 christian@4474: rotation: true christian@4474: header: christian@4474: height: 50 christian@4474: items: christian@4474: - !text christian@4474: font: Helvetica christian@4474: fontSize: 30 christian@4474: align: right christian@4474: text: '${mapTitle}' christian@4474: items: christian@4474: - !map christian@4474: spacingAfter: 30 christian@4474: width: 1760 christian@4474: height: 1932 christian@4474: - !scalebar christian@4474: type: bar christian@4474: maxSize: 100 christian@4474: barBgColor: white christian@4474: fontSize: 8 christian@4474: align: right christian@4474: - !text christian@4474: text: '${comment}' christian@4474: spacingAfter: 30 christian@4474: - !text christian@4474: font: Helvetica christian@4474: fontSize: 9 christian@4474: align: right christian@4474: text: '1:${scale} ${now MM.dd.yyyy}' christian@4474: - !legends christian@4474: align: left christian@4474: maxIconWidth: 32 christian@4474: maxIconHeight: 32 christian@4474: footer: *commonFooter