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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Aug 22 23:15:55 PDT 2013


Author: armin11
Date: 2013-08-22 23:15:55 -0700 (Thu, 22 Aug 2013)
New Revision: 8694

Added:
   trunk/mapbender/http/print/Hochformat_A3.json
   trunk/mapbender/http/print/Hochformat_A3.odg
   trunk/mapbender/http/print/Hochformat_A3.pdf
   trunk/mapbender/http/print/Hochformat_A4.json
   trunk/mapbender/http/print/Hochformat_A4.odg
   trunk/mapbender/http/print/Hochformat_A4.pdf
   trunk/mapbender/http/print/Hochformat_A4_Legende.json
   trunk/mapbender/http/print/Querformat_A3.json
   trunk/mapbender/http/print/Querformat_A3.odg
   trunk/mapbender/http/print/Querformat_A3.pdf
   trunk/mapbender/http/print/Querformat_A4.json
   trunk/mapbender/http/print/Querformat_A4.odg
   trunk/mapbender/http/print/Querformat_A4.pdf
   trunk/mapbender/http/print/Querformat_A4_Legende.json
Log:
Some more print templates for geoportals

Added: trunk/mapbender/http/print/Hochformat_A3.json
===================================================================
--- trunk/mapbender/http/print/Hochformat_A3.json	                        (rev 0)
+++ trunk/mapbender/http/print/Hochformat_A3.json	2013-08-23 06:15:55 UTC (rev 8694)
@@ -0,0 +1,167 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "P",
+    "units" : "mm",
+    "format" : "a3",
+    "controls" : [
+	{
+            "id" : "title",
+            "label" : "Titel",
+            "type" : "text",
+            "size" : 18,
+	    "maxCharacter" : 20,
+            "pageElementsLink" : {
+                "titel" : "value"
+            }
+        },
+        
+        {
+            "id" : "dpi",
+            "label" : "Auflösung",
+            "type" : "select",
+            "size" : 20,
+            "pageElementsLink" : {
+                "karte" : "res_dpi"
+            },
+            "options" : [
+                {
+                    "value" : "72",
+                    "label" : "72 dpi"
+                },
+                {
+                    "value" : "144",
+                    "label" : "144 dpi"
+                }
+            ]
+	},
+        {
+            "id" : "comment1",
+            "label" : "Notiz",
+            "type" : "textarea",
+	  "maxCharacter" : 250,
+            "size" : 5,
+            "pageElementsLink" : {
+                "kommentar1" : "value"
+            }
+        },
+        
+        {
+            "id" : "angle",
+            "label" : "Drehwinkel",
+            "type" : "text",
+            "pageElementsLink" : {
+                "nordpfeil" : "angle",
+                "karte" : "angle",
+                "minikarte" : "angle"
+            }
+        },
+     
+        {
+            "id" : "scale",
+            "label" : "Maßstab",
+            "type" : "text",
+            "pageElementsLink" : {
+                "scale" : "value"
+            }
+        },
+	{
+    		"id" : "coordinates",
+    		"type" : "hidden"
+    	}
+    ],
+    "pages" : [
+        {
+            "tpl" : "Hochformat_A3.pdf",
+            "useTplPage" : 1,
+            "elements" : {
+                "karte" : {
+                    "type" : "map",
+                    "res_dpi" : 72,
+                    "x_ul" : 20.2,
+                    "y_ul" : 27.3,
+                    "width" : 262,
+                    "height" : 304,
+                    "coords" : 1,
+                    "coords_font_family" : "Arial",
+                    "coords_font_size" : 11
+                },
+                
+                "minikarte" : {
+                    "type" : "overview",
+                    "res_dpi" : 72,
+                    "x_ul" : 19.8,
+                    "y_ul" : 26.6,
+                    "width" : 50,
+                    "height" : 50
+                },
+            
+                "scale" : {
+                    "type" : "text",
+                    "x_ul" : 150.0,
+                    "y_ul" : 349.0,
+                    "font_family" : "Arial",
+                    "font_size" : 14,
+                    "value" : "scale"
+                },
+                "date" : {
+                    "type" : "text",
+                    "x_ul" : 50.5,
+                    "y_ul" : 349.0,
+                    "font_family" : "Arial",
+                    "font_size" : 14,
+                    "value" : "date"
+                },
+              
+                "nordpfeil" : {
+                    "type" : "image",
+                    "x_ul" : 265,
+                    "y_ul" : 356,
+                    "width" : 35,
+                    "height" : 35,
+                    "angle" : 0,
+                    "filename" : "./img/northarrow.png"
+                },
+		"titel" : {
+                    "type" : "text",
+                    "x_ul" : 145,
+                    "y_ul" : 18,
+                    "font_family" : "Arial",
+                    "font_size" : 18
+                },
+		"messung" : {
+                 "type" : "measure",
+                 "do_fill" : 0,
+                 "fill_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "do_stroke" : 1,
+                 "stroke_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "line_style" : {
+                     "width" : 2.0
+                     }
+                    },
+
+                "kommentar1" : {
+                    "type" : "para",
+                    "x_ul" : 20.1,
+                    "y_ul" : 365.2,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "width" : 215,
+                    "height" : 5,
+                    "align" : "L",
+                    "border" : 0,
+                    "fill" :0,
+                    "border_width" : 0.3
+                }
+            }
+        }
+        
+    ]
+}

Added: trunk/mapbender/http/print/Hochformat_A3.odg
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Hochformat_A3.odg
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Hochformat_A3.pdf
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Hochformat_A3.pdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Hochformat_A4.json
===================================================================
--- trunk/mapbender/http/print/Hochformat_A4.json	                        (rev 0)
+++ trunk/mapbender/http/print/Hochformat_A4.json	2013-08-23 06:15:55 UTC (rev 8694)
@@ -0,0 +1,167 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "P",
+    "units" : "mm",
+    "format" : "a4",
+    "controls" : [
+	{
+            "id" : "title",
+            "label" : "Titel",
+            "type" : "text",
+            "size" : 18,
+	    "maxCharacter" : 20,
+            "pageElementsLink" : {
+                "titel" : "value"
+            }
+        },
+        
+        {
+            "id" : "dpi",
+            "label" : "Auflösung",
+            "type" : "select",
+            "size" : 23,
+            "pageElementsLink" : {
+                "karte" : "res_dpi"
+            },
+            "options" : [
+                {
+                    "value" : "72",
+                    "label" : "72 dpi"
+                },
+                {
+                    "value" : "144",
+                    "label" : "144 dpi"
+                }
+            ]
+	},
+        {
+            "id" : "comment1",
+            "label" : "Notiz",
+	    "type" : "textarea",
+             "maxCharacter" : 250,
+	     "size" : 10,
+            "pageElementsLink" : {
+                "kommentar1" : "value"
+            }
+        },
+        
+        {
+            "id" : "angle",
+            "label" : "Drehwinkel",
+            "type" : "text",
+            "pageElementsLink" : {
+                "nordpfeil" : "angle",
+                "karte" : "angle",
+                "minikarte" : "angle"
+            }
+        },
+     
+        {
+            "id" : "scale",
+            "label" : "Maßstab",
+            "type" : "text",
+            "pageElementsLink" : {
+                "scale" : "value"
+            }
+        },
+	{
+    		"id" : "coordinates",
+    		"type" : "hidden"
+    	}
+    ],
+    "pages" : [
+        {
+            "tpl" : "Hochformat_A4.pdf",
+            "useTplPage" : 1,
+            "elements" : {
+                "karte" : {
+                    "type" : "map",
+                    "res_dpi" : 72,
+                    "x_ul" : 16.2,
+                    "y_ul" : 22.5,
+                    "width" : 180,
+                    "height" : 212,
+                    "coords" : 1,
+                    "coords_font_family" : "Arial",
+                    "coords_font_size" : 8
+                },
+                
+                "minikarte" : {
+                    "type" : "overview",
+                    "res_dpi" : 72,
+                    "x_ul" : 15.6,
+                    "y_ul" : 21.8,
+                    "width" : 40,
+                    "height" : 40
+                },
+            
+                "scale" : {
+                    "type" : "text",
+                    "x_ul" : 106.0,
+                    "y_ul" : 246.0,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "value" : "scale"
+                },
+                "date" : {
+                    "type" : "text",
+                    "x_ul" : 35.5,
+                    "y_ul" : 246.0,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "value" : "date"
+                },
+              
+                "nordpfeil" : {
+                    "type" : "image",
+                    "x_ul" : 184,
+                    "y_ul" : 254,
+                    "width" : 25,
+                    "height" : 25,
+                    "angle" : 0,
+                    "filename" : "./img/northarrow.png"
+                },
+		"titel" : {
+                    "type" : "text",
+                    "x_ul" : 110,
+                    "y_ul" : 17,
+                    "font_family" : "Arial",
+                    "font_size" : 16
+                },
+		"messung" : {
+                 "type" : "measure",
+                 "do_fill" : 0,
+                 "fill_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "do_stroke" : 1,
+                 "stroke_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "line_style" : {
+                     "width" : 2.0
+                     }
+                    },
+
+                "kommentar1" : {
+                    "type" : "para",
+                    "x_ul" : 16.1,
+                    "y_ul" : 255.2,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "width" : 145,
+                    "height" : 5,
+                    "align" : "L",
+                    "border" : 0,
+                    "fill" : 0,
+                    "border_width" : 0.3
+                }
+            }
+        }
+        
+    ]
+}

Added: trunk/mapbender/http/print/Hochformat_A4.odg
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Hochformat_A4.odg
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Hochformat_A4.pdf
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Hochformat_A4.pdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Hochformat_A4_Legende.json
===================================================================
--- trunk/mapbender/http/print/Hochformat_A4_Legende.json	                        (rev 0)
+++ trunk/mapbender/http/print/Hochformat_A4_Legende.json	2013-08-23 06:15:55 UTC (rev 8694)
@@ -0,0 +1,114 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "P",
+    "units" : "mm",
+    "format" : "a4",
+    "controls" : [
+        {
+            "id" : "title",
+            "label" : "Titel",
+            "type" : "text",
+	    "maxCharacter" : 20,
+            "size" : 20,
+            "pageElementsLink" : {
+                "titel" : "value"
+            }
+        },
+        {
+            "id" : "dpi",
+            "label" : "DPI",
+            "type" : "select",
+            "size" : 20,
+            "pageElementsLink" : {
+                "karte" : "res_dpi"
+            },
+            "options" : [
+                {
+                    "value" : "72",
+                    "label" : "72 dpi"
+                },
+                {
+                    "value" : "144",
+                    "label" : "144 dpi"
+                }
+            ]
+        },
+        {
+            "id" : "angle",
+            "label" : "Winkel",
+            "type" : "text",
+            "pageElementsLink" : {
+                "nordpfeil" : "angle",
+                "karte" : "angle",
+                "minikarte" : "angle"
+            }
+        },
+        {
+            "id" : "coordinates",
+            "type" : "hidden"
+        },
+        {
+            "id" : "scale",
+            "label" : "Maßstab",
+            "type" : "text",
+            "pageElementsLink" : {
+                "scale" : "value"
+            }
+        }
+    ],
+    "pages" : [
+        {
+            "tpl" : "Hochformat_A4_Legende.pdf",
+            "useTplPage" : 1,
+            "elements" : {
+                "karte" : {
+                    "type" : "map",
+                    "res_dpi" : 72,
+                    "x_ul" : 10.8,
+                    "y_ul" : 20.6,
+                    "width" : 188,
+                    "height" : 169.3,
+                    "coords" : 1,
+                    "coords_font_family" : "Arial",
+                    "coords_font_size" : 8
+                },
+                "titel" : {
+                    "type" : "text",
+                    "x_ul" : 10.8,
+                    "y_ul" : 12,
+                    "font_family" : "Arial",
+                    "font_size" : 15
+                },
+		"messung" : {
+                 "type" : "measure",
+                 "do_fill" : 0,
+                 "fill_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "do_stroke" : 1,
+                 "stroke_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "line_style" : {
+                     "width" : 2.0
+                     }
+                    },
+
+               "legende" : {
+                    "type" : "legend",
+                    "x_ul" : 10,
+                    "y_ul" : 205,
+                    "width" : 200,
+                    "height" : 10,
+                    "font_family" : "Arial",
+                    "font_size" : 9,
+                    "scale" : 0.5
+                }
+            }
+        }
+    ]
+}

Added: trunk/mapbender/http/print/Querformat_A3.json
===================================================================
--- trunk/mapbender/http/print/Querformat_A3.json	                        (rev 0)
+++ trunk/mapbender/http/print/Querformat_A3.json	2013-08-23 06:15:55 UTC (rev 8694)
@@ -0,0 +1,167 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "L",
+    "units" : "mm",
+    "format" : "a3",
+    "controls" : [
+	{
+            "id" : "title",
+            "label" : "Titel",
+            "type" : "text",
+            "size" : 18,
+	    "maxCharacter" : 20,
+            "pageElementsLink" : {
+                "titel" : "value"
+            }
+        },
+        
+        {
+            "id" : "dpi",
+            "label" : "Auflösung",
+            "type" : "select",
+            "size" : 20,
+            "pageElementsLink" : {
+                "karte" : "res_dpi"
+            },
+            "options" : [
+                {
+                    "value" : "72",
+                    "label" : "72 dpi"
+                },
+                {
+                    "value" : "144",
+                    "label" : "144 dpi"
+                }
+            ]
+	},
+        {
+            "id" : "comment1",
+            "label" : "Notiz",
+            "type" : "textarea",
+	      "maxCharacter" : 250,
+            "size" : 5,
+            "pageElementsLink" : {
+                "kommentar1" : "value"
+            }
+        },
+        
+        {
+            "id" : "angle",
+            "label" : "Drehwinkel",
+            "type" : "text",
+            "pageElementsLink" : {
+                "nordpfeil" : "angle",
+                "karte" : "angle",
+                "minikarte" : "angle"
+            }
+        },
+     
+        {
+            "id" : "scale",
+            "label" : "Maßstab",
+            "type" : "text",
+            "pageElementsLink" : {
+                "scale" : "value"
+            }
+        },
+	{
+    		"id" : "coordinates",
+    		"type" : "hidden"
+    	}
+    ],
+    "pages" : [
+        {
+            "tpl" : "Querformat_A3.pdf",
+            "useTplPage" : 1,
+            "elements" : {
+                "karte" : {
+                    "type" : "map",
+                    "res_dpi" : 72,
+                    "x_ul" : 16.5,
+                    "y_ul" : 29.5,
+                    "width" : 308,
+                    "height" : 250,
+                    "coords" : 1,
+                    "coords_font_family" : "Arial",
+                    "coords_font_size" : 11
+                },
+                
+                "minikarte" : {
+                    "type" : "overview",
+                    "res_dpi" : 72,
+                    "x_ul" : 16.2,
+                    "y_ul" : 29.2,
+                    "width" : 50,
+                    "height" : 50
+                },
+            
+                "scale" : {
+                    "type" : "text",
+                    "x_ul" : 370.0,
+                    "y_ul" : 67.5,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "value" : "scale"
+                },
+                "date" : {
+                    "type" : "text",
+                    "x_ul" : 370.0,
+                    "y_ul" : 53.5,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "value" : "date"
+                },
+              
+                "nordpfeil" : {
+                    "type" : "image",
+                    "x_ul" : 370,
+                    "y_ul" : 100,
+                    "width" : 35,
+                    "height" : 35,
+                    "angle" : 0,
+                    "filename" : "./img/northarrow.png"
+                },
+		"titel" : {
+                    "type" : "text",
+                    "x_ul" : 160,
+                    "y_ul" : 18,
+                    "font_family" : "Arial",
+                    "font_size" : 18
+                },
+		"messung" : {
+                 "type" : "measure",
+                 "do_fill" : 0,
+                 "fill_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "do_stroke" : 1,
+                 "stroke_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "line_style" : {
+                     "width" : 2.0
+                     }
+                    },
+
+                "kommentar1" : {
+                    "type" : "para",
+                    "x_ul" : 338.2,
+                    "y_ul" : 140.0,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "width" : 70,
+                    "height" : 5,
+                    "align" : "L",
+                    "border" : 0,
+                    "fill" : 0,
+                    "border_width" : 0.3
+                }
+            }
+        }
+        
+    ]
+}

Added: trunk/mapbender/http/print/Querformat_A3.odg
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Querformat_A3.odg
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Querformat_A3.pdf
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Querformat_A3.pdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Querformat_A4.json
===================================================================
--- trunk/mapbender/http/print/Querformat_A4.json	                        (rev 0)
+++ trunk/mapbender/http/print/Querformat_A4.json	2013-08-23 06:15:55 UTC (rev 8694)
@@ -0,0 +1,167 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "L",
+    "units" : "mm",
+    "format" : "a4",
+    "controls" : [
+	{
+            "id" : "title",
+            "label" : "Titel",
+            "type" : "text",
+            "size" : 18,
+	    "maxCharacter" : 20,
+            "pageElementsLink" : {
+                "titel" : "value"
+            }
+        },
+        
+        {
+            "id" : "dpi",
+            "label" : "Auflösung",
+            "type" : "select",
+            "size" : 20,
+            "pageElementsLink" : {
+                "karte" : "res_dpi"
+            },
+            "options" : [
+                {
+                    "value" : "72",
+                    "label" : "72 dpi"
+                },
+                {
+                    "value" : "144",
+                    "label" : "144 dpi"
+                }
+            ]
+	},
+        {
+            "id" : "comment1",
+            "label" : "Notiz",
+            "type" : "textarea",
+	  "maxCharacter" : 250,
+            "size" : 5,
+            "pageElementsLink" : {
+                "kommentar1" : "value"
+            }
+        },
+        
+        {
+            "id" : "angle",
+            "label" : "Drehwinkel",
+            "type" : "text",
+            "pageElementsLink" : {
+                "nordpfeil" : "angle",
+                "karte" : "angle",
+                "minikarte" : "angle"
+            }
+        },
+     
+        {
+            "id" : "scale",
+            "label" : "Maßstab",
+            "type" : "text",
+            "pageElementsLink" : {
+                "scale" : "value"
+            }
+        },
+	{
+    		"id" : "coordinates",
+    		"type" : "hidden"
+    	}
+    ],
+    "pages" : [
+        {
+            "tpl" : "Querformat_A4.pdf",
+            "useTplPage" : 1,
+            "elements" : {
+                "karte" : {
+                    "type" : "map",
+                    "res_dpi" : 72,
+                    "x_ul" : 15.5,
+                    "y_ul" : 22.5,
+                    "width" : 212,
+                    "height" : 174,
+                    "coords" : 1,
+                    "coords_font_family" : "Arial",
+                    "coords_font_size" : 8
+                },
+                
+                "minikarte" : {
+                    "type" : "overview",
+                    "res_dpi" : 72,
+                    "x_ul" : 15.0,
+                    "y_ul" : 22.0,
+                    "width" : 40,
+                    "height" : 40
+                },
+            
+                "scale" : {
+                    "type" : "text",
+                    "x_ul" : 257.0,
+                    "y_ul" : 52.5,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "value" : "scale"
+                },
+                "date" : {
+                    "type" : "text",
+                    "x_ul" : 257.0,
+                    "y_ul" : 41.5,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "value" : "date"
+                },
+              
+                "nordpfeil" : {
+                    "type" : "image",
+                    "x_ul" : 254,
+                    "y_ul" : 72,
+                    "width" : 25,
+                    "height" : 25,
+                    "angle" : 0,
+                    "filename" : "./img/northarrow.png"
+                },
+		"messung" : {
+                 "type" : "measure",
+                 "do_fill" : 0,
+                 "fill_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "do_stroke" : 1,
+                 "stroke_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "line_style" : {
+                     "width" : 2.0
+                     }
+                    },
+
+		"titel" : {
+                    "type" : "text",
+                    "x_ul" : 110,
+                    "y_ul" : 15,
+                    "font_family" : "Arial",
+                    "font_size" : 16
+                },
+                "kommentar1" : {
+                    "type" : "para",
+                    "x_ul" : 233.8,
+                    "y_ul" : 95.4,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "width" : 60,
+                    "height" : 5,
+                    "align" : "L",
+                    "border" : 0,
+                    "fill" : 0,
+                    "border_width" : 0.3
+                }
+            }
+        }
+        
+    ]
+}

Added: trunk/mapbender/http/print/Querformat_A4.odg
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Querformat_A4.odg
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Querformat_A4.pdf
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/Querformat_A4.pdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/Querformat_A4_Legende.json
===================================================================
--- trunk/mapbender/http/print/Querformat_A4_Legende.json	                        (rev 0)
+++ trunk/mapbender/http/print/Querformat_A4_Legende.json	2013-08-23 06:15:55 UTC (rev 8694)
@@ -0,0 +1,123 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "L",
+    "units" : "mm",
+    "format" : "a4",
+    "controls" : [
+	{
+            "id" : "title",
+            "label" : "Titel",
+            "type" : "text",
+	    "maxCharacter" : 20,
+            "size" : 16,
+            "pageElementsLink" : {
+                "titel" : "value"
+            }
+        },
+        
+        {
+            "id" : "dpi",
+            "label" : "DPI",
+            "type" : "select",
+            "size" : 20,
+            "pageElementsLink" : {
+                "karte" : "res_dpi"
+            },
+            "options" : [
+                {
+                    "value" : "72",
+                    "label" : "72 dpi"
+                },
+                {
+                    "value" : "144",
+                    "label" : "144 dpi"
+                }
+            ]
+	},      
+        {
+            "id" : "angle",
+            "label" : "Drehwinkel",
+            "type" : "text",
+            "pageElementsLink" : {
+                "nordpfeil" : "angle",
+                "karte" : "angle",
+                "minikarte" : "angle"
+            }
+        },
+     
+        {
+            "id" : "scale",
+            "label" : "Maßstab",
+            "type" : "text",
+            "pageElementsLink" : {
+                "scale" : "value"
+            }
+        },
+	{
+    		"id" : "coordinates",
+    		"type" : "hidden"
+    	}
+    ],
+    "pages" : [
+        {
+            "tpl" : "Querformat_A4_Legende.pdf",
+            "useTplPage" : 1,
+            "elements" : {
+                "karte" : {
+                    "type" : "map",
+                    "res_dpi" : 72,
+                    "x_ul" : 15.3,
+                    "y_ul" : 22.5,
+                    "width" : 189.4,
+                    "height" : 174,
+                    "coords" : 1,
+                    "coords_font_family" : "Arial",
+                    "coords_font_size" : 8
+                },
+                "date" : {
+                    "type" : "text",
+                    "x_ul" : 250.0,
+                    "y_ul" : 15,
+                    "font_family" : "Arial",
+                    "font_size" : 11,
+                    "value" : "date"
+                },
+		"legende" : {
+                    "type" : "legend",
+                    "x_ul" : 212,
+                    "y_ul" : 38,
+                    "width" : 90,
+                    "height" : 5,
+                    "font_family" : "Arial",
+                    "font_size" : 8,
+                    "scale" : 0.5
+                	},
+		"messung" : {
+                 "type" : "measure",
+                 "do_fill" : 0,
+                 "fill_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "do_stroke" : 1,
+                 "stroke_color" : {
+                     "r" : 255,
+                     "g" : 0,
+                     "b" : 0
+                     },
+                 "line_style" : {
+                     "width" : 2.0
+                     }
+                    },
+		"titel" : {
+                    "type" : "text",
+                    "x_ul" : 110,
+                    "y_ul" : 15,
+                    "font_family" : "Arial",
+                    "font_size" : 15
+                }
+            }
+        }   
+    ]
+}



More information about the Mapbender_commits mailing list