Print dynamic
From MapbenderWiki
User:Christoph Baudson (Module maintainer)
- This Module was integrated in the module Print with PDF. You get the information about how to install and configure there PrintPDF with template
Contents |
Description
This module still needs funding. If you are interested please mail to christoph@osgeo.org.
english
- Mapbender print module with a dynamic print frame
Christoph Baudson did a redesign for the Mapbender print module. The new element is called print_dynamic and offers the following functionality:
- shows the area which will be printed in the client as a rectangle
- possibility to move the print frame and change the size of the frame via drag & drop
- possibility to define the scale, rotation via drag & drop or via definitions in textfield scale, rotation
- the rotated area is exported to pdf
The new module print_dynamic displays the area which will be printed as a rectangle on the map. This rectangle can be moved with the mouse. The rectangle can also be resized and rotated. In addition you can define the scale and angle of the print frame in text fields.
The advantage of this new print module are, that the printed area can still be displayed on screen when printing formats from DIN A3 to DIN A0. The printed area is easy to recognize. With the old module printPDF the mapframe had the size of the area which is going to be printed. This is ok für DIN A4, but already can't be displaed on screen when you choose DIN A3 or bigger formats.
- print rotated maps
Print dynamic offers the possibility to rotate the map. You can define an angle via a textfield or by rotating the frame with the mouse.
Demo
Have a look at the demo at: demo print dynamic (or: http://tinyurl.com/print-dynamic)
There is video that shows the functionality
http://svn.osgeo.org/mapbender/trunk/documents/videos/mapbender_print_dynamic.htm
Support the future development
To integrate this funtionality in future Mapbender version there is still development needed. If you are interested in this functionality, please write a mail to mapbender@osgeo.org or leave a comment in the Mapbender-Issue-Tracker (login is needed). There you will find a list with the tasks which are still open.
http://trac.osgeo.org/mapbender/ticket/445
deutsch
- Erweiterung des Mapbender-Druckmoduls um einen dynamischen Druckrahmen
Der Mapbender Druck wurde von Christoph Baudson erweitert, und bietet folgende zusätzliche Funktionalität:
- Anzeige eines Druckrahmens im Kartenfenster
- Positionierung des Druckrahmens über die Maus (Drag and Drop)
- gedrehte Ausgabe von Kartenausschnitten
- Beachtung der logischen Zoomstufen für die Druckausgabe
In der neuen Version print_dynamic wird der Druckbereich als Rechteck in der Karte angezeigt. Dieses Rechteck kann nun über die Maus positioniert werden. Es kann verschoben, vergrößert und gedreht werden. Außerdem kann der Maßstab und der Winkel des Druckrahmens über Textfelder fest angegeben werden.
Der Vorteil in dieser Vorgehensweise besteht darin, dass auch bei großen Ausgabeformaten (DIN A3 bis DIN A0) über die Oberfläche der Druckbereich leicht erfassbar ist. In dem Druckmodul printPDF war es bisher so, dass sich der Kartenrahmen an die Größe des Druckbereiches angepasst hat. Schon bei DIN A3 konnte daher nicht mehr der gesamte Druckbereich auf dem Bildschirm abgebildet werden.
- gedrehte Ausgabe von Kartenausschnitten
Print Dynamic bietet die Möglichkeit einen Drehwinkel anzugeben. Dies kann über die Eingabe im Textfeld oder Drehen des Rahmens mit der Maus erfolgen.
- Demo
Schauen Sie sich den Druck in unserer Demoanwendung an
(oder: http://tinyurl.com/print-dynamic)
- Weiterentwicklung
Eine Beschreibung des neuen Drucks finden Sie auch im Wiki unter http://mapbender.org/Print_dynamic
Um diese Funktion in einer neuen Mapbender-Version verfügbar zu machen ist noch Entwicklungsaufwand von Nöten. Falls Sie an dieser Funktion interessiert sind, schreiben Sie an mapbender@osgeo.org oder hinterlassen Sie einen Kommentar im Mapbender-Issue-Tracker (Login erforderlich). Dort finden Sie eine auch Liste mit noch offenen Punkten.
http://trac.osgeo.org/mapbender/ticket/455
Weitere Informationen zum Mapbender Projekt finden Sie unter http://www.mapbender.org
Halten Sie sich über die Entwicklungen auf dem Laufenden. Tragen Sie sich in die Mapbender Userliste ein (http://www.mapbender.org/Mapbender_Mailing_Lists).
Ein kleines Video, welches die Funktionsweise demonstriert: http://svn.osgeo.org/mapbender/trunk/documents/videos/mapbender_print_dynamic.htm
Prerequisites
- needs php5-imagick (apt-get install php5-imagick)
- Installation see http://de.php.net/manual/de/imagick.installation.php
Installation on Windows

