diff --git a/data/printing/config.yaml b/data/printing/config.yaml index 370d760..64390f7 100644 --- a/data/printing/config.yaml +++ b/data/printing/config.yaml @@ -41,6 +41,9 @@ scales: - 140000000.0 - 280000000.0 +formats: + - '*' + outputFilename: 'GeoNode-Map-${date}.pdf' #== ms2 ===== disableScaleLocking: true @@ -140,7 +143,7 @@ hosts: layouts: #goenode standard layout - #=========================================================================== + #=========A4 potrait with legend============================================ A4 : #=========================================================================== metaData: @@ -215,6 +218,36 @@ layouts: maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' rotation: '${rotation}' + - !columns + absoluteX: 305 + absoluteY: 115 + width: 235 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 30 + absoluteY: 115 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 80 + absoluteY: 115 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns config: borderWidth: 0 @@ -239,7 +272,6 @@ layouts: nbColumns: 1 items: - !text - #width: 420 text: '(c) example.com' fontEncoding: Cp1252 fontSize: 7 @@ -247,25 +279,38 @@ layouts: vertAlign: top spacingAfter: 2 - !text - #width: 420 - text: '${now MM.dd.yyyy}' + text: '${author}' fontEncoding: Cp1252 fontSize: 5 align: left vertAlign: bottom - - !text - align: justified - vertAlign: top - fontSize: 8 - text: '${comment}' - #maxLength: 1200 + - !text + text: '${now MM/dd/yyyy, hh:mm:ss}' + fontEncoding: Cp1252 + fontSize: 5 + align: left + vertAlign: bottom + - !columns + nbColumns: 1 + items: + - !text + align: justified + vertAlign: top + fontSize: 8 + text: '${comment}' + maxLength: 1200 + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: bottom - !scalebar align: right vertAlign: middle maxSize: 108 type: 'bar sub' intervals: 5 - #mapstore2 layout #=======A4 landscape with legend============================================ A4_landscape : @@ -324,7 +369,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 420 + absoluteY: 73 + width: 222 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 30 + absoluteY: 73 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 80 + absoluteY: 73 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 30 absoluteY: 55 @@ -335,24 +410,31 @@ layouts: nbColumns: 1 items: - !text - #width: 300 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle - !text - #width: 300 - text: '${now MM.dd.yyyy}' + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle - - !text - align: center - vertAlign: middle - fontSize: 14 - text: '${mapTitle}' + - !columns + nbColumns: 1 + items: + - !text + align: center + vertAlign: middle + fontSize: 14 + text: '${mapTitle}' + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle @@ -389,7 +471,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 340 + absoluteY: 70 + width: 230 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 30 + absoluteY: 70 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 80 + absoluteY: 70 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 30 absoluteY: 740 @@ -408,7 +520,6 @@ layouts: widths: [395] items: - !text - #width: 300 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 @@ -418,18 +529,29 @@ layouts: absoluteX: 30 absoluteY: 55 width: 535 - widths: [240, 240] + widths: [240, 240, 240] items: - !columns nbColumns: 1 - items: + items: - !text - #width: 300 - text: '${now MM.dd.yyyy}' + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: bottom + - !text + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: bottom - !scalebar align: right vertAlign: middle @@ -466,7 +588,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 580 + absoluteY: 74 + width: 230 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 30 + absoluteY: 74 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 80 + absoluteY: 74 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 30 absoluteY: 55 @@ -477,24 +629,37 @@ layouts: nbColumns: 1 items: - !text - #width: 300 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 align: left - vertAlign: middle + vertAlign: middle - !text - #width: 300 - text: '${now MM.dd.yyyy}' + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle + - !text + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle - - !text - align: center - vertAlign: middle - fontSize: 14 - text: '${mapTitle}' + - !columns + nbColumns: 1 + items: + - !text + align: center + vertAlign: middle + fontSize: 14 + text: '${mapTitle}' + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle @@ -531,7 +696,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 340 + absoluteY: 70 + width: 230 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 30 + absoluteY: 70 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 80 + absoluteY: 70 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' - !columns absoluteX: 30 absoluteY: 740 @@ -550,7 +745,6 @@ layouts: widths: [395] items: - !text - #width: 300 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 @@ -560,18 +754,29 @@ layouts: absoluteX: 30 absoluteY: 55 width: 535 - widths: [240, 240] + widths: [240, 240, 240] items: - !columns nbColumns: 1 - items: + items: + - !text + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle - !text - #width: 300 - text: '${now MM.dd.yyyy}' + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: bottom - !scalebar align: right vertAlign: middle @@ -579,7 +784,6 @@ layouts: type: 'bar sub' intervals: 5 lastPage: - #rotation: true pageSize: 595 842 landscape: false items: @@ -646,7 +850,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 580 + absoluteY: 74 + width: 230 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 30 + absoluteY: 74 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 80 + absoluteY: 74 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 30 absoluteY: 55 @@ -657,24 +891,37 @@ layouts: nbColumns: 1 items: - !text - #width: 300 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 align: left - vertAlign: middle + vertAlign: middle + - !text + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle - !text - #width: 300 - text: '${now MM.dd.yyyy}' + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle - - !text - align: center - vertAlign: middle - fontSize: 14 - text: '${mapTitle}' + - !columns + nbColumns: 1 + items: + - !text + align: center + vertAlign: middle + fontSize: 14 + text: '${mapTitle}' + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle @@ -682,7 +929,6 @@ layouts: type: 'bar sub' intervals: 5 lastPage: - #rotation: true pageSize: 842 595 landscape: false items: @@ -777,6 +1023,36 @@ layouts: maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' rotation: '${rotation}' + - !columns + absoluteX: 368 + absoluteY: 100 + width: 225 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 42 + absoluteY: 100 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 100 + absoluteY: 100 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 42 absoluteY: 1050 @@ -795,7 +1071,6 @@ layouts: widths: [424] items: - !text - #width: 424 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 @@ -805,24 +1080,35 @@ layouts: absoluteX: 42 absoluteY: 50 width: 550 - widths: [340, 424] + widths: [340, 340, 424] items: - !columns nbColumns: 1 - items: + items: - !text - #width: 424 - text: '${now MM.dd.yyyy}' + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle + - !text + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle - !scalebar align: right vertAlign: middle maxSize: 200 type: 'bar sub' - intervals: 5 + intervals: 5 #=======A3 landscape with legend============================================ A3_landscape : #=========================================================================== @@ -880,7 +1166,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 630 + absoluteY: 105 + width: 250 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 42 + absoluteY: 105 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 100 + absoluteY: 105 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 42 absoluteY: 78 @@ -891,30 +1207,43 @@ layouts: nbColumns: 1 items: - !text - #width: 424 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 align: left - vertAlign: middle + vertAlign: middle + - !text + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle - !text - #width: 424 - text: '${now MM.dd.yyyy}' + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle - - !text - align: center - vertAlign: middle - fontSize: 14 - text: '${mapTitle}' + - !columns + nbColumns: 1 + items: + - !text + align: center + vertAlign: middle + fontSize: 14 + text: '${mapTitle}' + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle maxSize: 200 type: 'bar sub' - intervals: 5 + intervals: 5 #=======A3 portrait no legend============================================ A3_no_legend : #======================================================================== @@ -946,6 +1275,36 @@ layouts: maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' rotation: '${rotation}' + - !columns + absoluteX: 560 + absoluteY: 98 + width: 250 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 42 + absoluteY: 98 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 100 + absoluteY: 98 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 42 absoluteY: 1050 @@ -964,7 +1323,6 @@ layouts: widths: [424] items: - !text - #width: 424 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 @@ -974,24 +1332,35 @@ layouts: absoluteX: 42 absoluteY: 50 width: 760 - widths: [340, 424] + widths: [340, 340, 424] items: - !columns nbColumns: 1 - items: + items: + - !text + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle - !text - #width: 424 - text: '${now MM.dd.yyyy}' + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle maxSize: 200 type: 'bar sub' - intervals: 5 + intervals: 5 #=======A3 landscape no legend============================================ A3_no_legend_landscape : #========================================================================= @@ -1022,7 +1391,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 900 + absoluteY: 105 + width: 240 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 42 + absoluteY: 105 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 100 + absoluteY: 105 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 42 absoluteY: 78 @@ -1033,24 +1432,37 @@ layouts: nbColumns: 1 items: - !text - #width: 424 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 align: left - vertAlign: middle + vertAlign: middle + - !text + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle - !text - #width: 424 - text: '${now MM.dd.yyyy}' + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle - - !text - align: center - vertAlign: middle - fontSize: 14 - text: '${mapTitle}' + - !columns + nbColumns: 1 + items: + - !text + align: center + vertAlign: middle + fontSize: 14 + text: '${mapTitle}' + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle @@ -1088,6 +1500,36 @@ layouts: maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' rotation: '${rotation}' + - !columns + absoluteX: 560 + absoluteY: 98 + width: 250 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 42 + absoluteY: 98 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 100 + absoluteY: 98 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 42 absoluteY: 1050 @@ -1106,7 +1548,6 @@ layouts: widths: [424] items: - !text - #width: 424 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 @@ -1116,26 +1557,36 @@ layouts: absoluteX: 42 absoluteY: 50 width: 760 - widths: [340, 424] + widths: [340, 340, 424] items: - !columns nbColumns: 1 - items: + items: - !text - #width: 424 - text: '${now MM.dd.yyyy}' + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle + - !text + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle maxSize: 200 type: 'bar sub' - intervals: 5 + intervals: 5 lastPage: - #rotation: true pageSize: 842 1190 landscape: false items: @@ -1202,7 +1653,37 @@ layouts: maxWidth: 40 maxHeight: 40 url: 'file://${configDir}/Arrow_North_CFCF.svg' - rotation: '${rotation}' + rotation: '${rotation}' + - !columns + absoluteX: 900 + absoluteY: 105 + width: 235 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${credits}' + - !columns + absoluteX: 42 + absoluteY: 105 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${projection}' + - !columns + absoluteX: 100 + absoluteY: 105 + width: 50 + items: + - !text + align: left + vertAlign: middle + fontSize: 6 + text: '${mapScale}' - !columns absoluteX: 42 absoluteY: 78 @@ -1213,24 +1694,37 @@ layouts: nbColumns: 1 items: - !text - #width: 424 text: '${comment}' fontEncoding: Cp1252 fontSize: 9 align: left - vertAlign: middle + vertAlign: middle - !text - #width: 424 - text: '${now MM.dd.yyyy}' + text: '${author}' + fontEncoding: Cp1252 + fontSize: 9 + align: left + vertAlign: middle + - !text + text: '${now MM/dd/yyyy, hh:mm:ss}' fontEncoding: Cp1252 fontSize: 9 align: left vertAlign: middle - - !text - align: center - vertAlign: middle - fontSize: 14 - text: '${mapTitle}' + - !columns + nbColumns: 1 + items: + - !text + align: center + vertAlign: middle + fontSize: 14 + text: '${mapTitle}' + - !text + text: '${copyright}' + fontEncoding: Cp1252 + fontSize: 9 + align: center + vertAlign: middle - !scalebar align: right vertAlign: middle @@ -1238,7 +1732,6 @@ layouts: type: 'bar sub' intervals: 5 lastPage: - #rotation: true pageSize: 1190 842 landscape: false items: @@ -1274,4 +1767,4 @@ layouts: backgroundColor: #ffffff reorderColumns: true dontBreakItems: true - overflow: true \ No newline at end of file + overflow: true