[Mapbender-commits] r1463 - trunk/mapbender/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 25 08:29:59 EDT 2007


Author: astrid_emde
Date: 2007-06-25 08:29:59 -0400 (Mon, 25 Jun 2007)
New Revision: 1463

Modified:
   trunk/mapbender/http/print/printPDF_b.conf
Log:
mapbender print with A1 and A0


Modified: trunk/mapbender/http/print/printPDF_b.conf
===================================================================
--- trunk/mapbender/http/print/printPDF_b.conf	2007-06-25 12:28:51 UTC (rev 1462)
+++ trunk/mapbender/http/print/printPDF_b.conf	2007-06-25 12:29:59 UTC (rev 1463)
@@ -7,7 +7,7 @@
 /*
 * DOWNLOAD
 */
-$download = false;
+$download = true;
 $downloadFile = TMPDIR."/map_".substr(md5(uniqid(rand())),0,7).".pdf";
 $downloadText = "Download: Karte als PDF...";
 
@@ -33,10 +33,10 @@
 
 
 # log requests, class 'class_log.php' required
-$log = false;
+$log = true;
 
 # delete images:
-$unlink = true;
+$unlink = false;
 
 # labeling
 if(CHARSET=="UTF-8"){ 
@@ -78,6 +78,8 @@
 $label_format_a4 = "A4";
 $label_format_a3 = "A3";
 $label_format_a2 = "A2";
+$label_format_a1 = "A1";
+$label_format_a0 = "A0";
 
 $label_orientation = "Orientation: ";
 $label_portrait = "portrait";
@@ -89,7 +91,7 @@
 $label_comment = "Comment (max. 30)";
 $comment_length = 30;
 
-$label_button = 'drucken';
+$label_button = 'print';
 
 /*
 * default
@@ -120,8 +122,9 @@
 $a4 = true;
 $a3 = true;
 $a2 = true;
+$a1 = false;
+$a0 = false;
 
-
 # dimensions of the map:
 
 # A4 portrait
@@ -184,7 +187,46 @@
 $a2l_header_width =  8.5 * $DPC;
 $a2l_header_height = 6 * $DPC;
 
+# a1 portrait
+$a1p_mapOffset_left = 3.2 * $DPC;
+$a1p_mapOffset_bottom = 2.3 * $DPC;
+$a1p_map_width = 54.5 * $DPC;
+$a1p_map_height = 79.5 * $DPC;
+$a1p_page_width = 59.4 * $DPC;
+$a1p_page_height = 84 * $DPC;
+$a1p_header_width =  8.5 * $DPC;
+$a1p_header_height = 6 * $DPC;
 
+# a1 landscape        
+$a1l_mapOffset_left = 3.2 * $DPC;
+$a1l_mapOffset_bottom = 2.3 * $DPC;
+$a1l_map_width = 79.5 * $DPC;
+$a1l_map_height = 55.5 * $DPC; 
+$a1l_page_width = 84 * $DPC;
+$a1l_page_height = 59.4 * $DPC;
+$a1l_header_width =  8.5 * $DPC;
+$a1l_header_height = 6 * $DPC;
+
+# a0 portrait
+$a0p_mapOffset_left = 3.2 * $DPC;
+$a0p_mapOffset_bottom = 2.3 * $DPC;
+$a0p_map_width = 79 * $DPC;
+$a0p_map_height = 115 * $DPC;
+$a0p_page_width = 84 * $DPC;
+$a0p_page_height = 118.8 * $DPC;
+$a0p_header_width =  8.5 * $DPC;
+$a0p_header_height = 6 * $DPC;
+
+# a0 landscape        
+$a0l_mapOffset_left = 3.2 * $DPC;
+$a0l_mapOffset_bottom = 2.3 * $DPC;
+$a0l_map_width = 113 * $DPC;
+$a0l_map_height = 80.5 * $DPC; 
+$a0l_page_width = 118.8 * $DPC;
+$a0l_page_height = 84 * $DPC;
+$a0l_header_width =  8.5 * $DPC;
+$a0l_header_height = 6 * $DPC;
+
 /*
 * Overview
 */
@@ -207,8 +249,20 @@
 $a2l_overviewOffset_left = $a2l_mapOffset_left;
 $a2l_overviewOffset_bottom = $a2l_mapOffset_bottom;
 
+$a1p_overviewOffset_left = $a1p_mapOffset_left;
+$a1p_overviewOffset_bottom = $a1p_mapOffset_bottom;
 
+$a1l_overviewOffset_left = $a1l_mapOffset_left;
+$a1l_overviewOffset_bottom = $a1l_mapOffset_bottom;
 
+$a0p_overviewOffset_left = $a0p_mapOffset_left;
+$a0p_overviewOffset_bottom = $a0p_mapOffset_bottom;
+
+$a0l_overviewOffset_left = $a0l_mapOffset_left;
+$a0l_overviewOffset_bottom = $a0l_mapOffset_bottom;
+
+
+
 /*
 * Northarrow
 */
@@ -233,6 +287,18 @@
 $a2l_northarrow_left = $a2l_mapOffset_left + 5;
 $a2l_northarrow_bottom = $a2l_mapOffset_bottom + $a2l_map_height - 80;
 
+$a1p_northarrow_left = $a1p_mapOffset_left +5;
+$a1p_northarrow_bottom = $a1p_mapOffset_bottom + $a1p_map_height - 80;
+
+$a1l_northarrow_left = $a1l_mapOffset_left + 5;
+$a1l_northarrow_bottom = $a1l_mapOffset_bottom + $a1l_map_height - 160;
+
+$a0p_northarrow_left = $a0p_mapOffset_left +5;
+$a0p_northarrow_bottom = $a0p_mapOffset_bottom + $a0p_map_height - 80;
+
+$a0l_northarrow_left = $a0l_mapOffset_left + 5;
+$a0l_northarrow_bottom = $a0l_mapOffset_bottom + $a0l_map_height - 160;
+
 $northarrowImage_width = 15; 
 $northarrowImage_height = 35; 
 
@@ -260,7 +326,18 @@
 $a2l_special_left = $a2l_mapOffset_left + $a2l_map_width - $a2l_header_width + 0.2 * $DPC ;
 $a2l_special_bottom = $a2l_mapOffset_bottom + 110; 
 
+$a1p_special_left = $a1p_mapOffset_left + $a1p_map_width - $a1p_header_width + 0.1 *$DPC ;
+$a1p_special_bottom = $a1p_mapOffset_bottom + 110; 
 
+$a1l_special_left = $a1l_mapOffset_left + $a1l_map_width - $a1l_header_width + 0.2 * $DPC ;
+$a1l_special_bottom = $a1l_mapOffset_bottom + 110; 
+
+$a0p_special_left = $a0p_mapOffset_left + $a0p_map_width - $a0p_header_width + 0.1 *$DPC ;
+$a0p_special_bottom = $a0p_mapOffset_bottom + 110; 
+
+$a0l_special_left = $a0l_mapOffset_left + $a0l_map_width - $a0l_header_width + 0.2 * $DPC ;
+$a0l_special_bottom = $a0l_mapOffset_bottom + 110; 
+
 $specialImage_width = 65; 
 $specialImage_height = 15;  
 
@@ -289,6 +366,18 @@
 $a2l_scalebar_left = $a2l_mapOffset_left  + $a2l_map_width/4 ;
 $a2l_scalebar_bottom = $a2l_mapOffset_bottom +  + 0.5 * $DPC;
 
+$a1p_scalebar_left = $a1p_mapOffset_left  + $a1p_map_width/4 ;
+$a1p_scalebar_bottom = $a1p_mapOffset_bottom + 0.5 * $DPC;
+
+$a1l_scalebar_left = $a1l_mapOffset_left  + $a1l_map_width/4 ;
+$a1l_scalebar_bottom = $a1l_mapOffset_bottom +  + 0.5 * $DPC;
+
+$a0p_scalebar_left = $a0p_mapOffset_left  + $a0p_map_width/4 ;
+$a0p_scalebar_bottom = $a0p_mapOffset_bottom + 0.5 * $DPC;
+
+$a0l_scalebar_left = $a0l_mapOffset_left  + $a0l_map_width/4 ;
+$a0l_scalebar_bottom = $a0l_mapOffset_bottom +  + 0.5 * $DPC;
+
 $scalebar_width = 3 * $DPC;
 $scalebar_height = 0.18 * $DPC;
  



More information about the Mapbender_commits mailing list