Template:Oberflächenelemente der Kartenkomponente

From MapbenderWiki

Jump to: navigation, search

(lesen Sie unten die deutsche Version)

Contents

Icons and buttons

EN

The following list contains the most commonly used Mapbender interface elements. There are many more specialized methods and operations to enable functionality for special applications. These are usually implemented by the operator of the respective Mapbender site. All functions can be implemented with different icons and buttons sets, the examples contained in this page just show some of the currently most commonly used ones.

This selection still grows, so please stay in touch with the user mailing list to get to know the newest modules and the further development. You are very much invited to share your own modules with the community.

Extensions to Mapbender Functionality

Mapbender is Free Software licensed as GNU GPL, so extend, change and modify the software as you wish. If you extend the Mapbender software and want to sell a license you must (have to!) also publish your extensions and make them available to the general public free of cost. This effect is caused by the GNU GPL. If you have a problem with this licenseing model, please contact the [arnulf_christl@users.sourceforge.net], we will find ways to solve this problem. Please do not assume that nobody will notice, it is much easier to talk to us. Have fun.

back back_off.gif With the button back in the toolbar you are able to see the last map sections (similar to a browser). In doing so layers, mapsize, etc. are affected also. The parameter target is special to this element. It contains two targets: mapframe and overview, which are activated together.
body Background of Mapbender2. Change this color in the field 'attributes'.
center1 center_off.gif With the button center1 in the toolbar you are able to click to a point and the map will be centered there.
changeEPSG You can change the reference system (SRS) with this drop down menue. The EPSG Codes from the European Petroleum Survey Group are preset here. To give the codes different names you have to change them in the module <mod_changeEPSG.php>.
changePassword Change the password
closePolygon closePolygon_off.gif The button measure activates 3 or optional 4 more buttons: rubber, getArea, closePolygon und save. Now you are able to digitize an area. With the button closePolygon you make a connection between the first and the last point and the area is closed. Then start a query with the button getArea to measure the area. With the button save you can save the geometry as a WKT object in the PostgreSQL/PostGIS database. This function will be developed to a WFS-T.
copyright The copyright module is editable to integrate a logo and/or a notice for copyright.
dragMapSize There is a little red square at the lower right mapframe. Just drag & drop it to maximize the mapframe.
featureInfo1 query_off.gif Start an OGC WMS getFeatureInfo request to the server with the button FeatureInfo in the toolbar to get the query result. The result depends on activated layers and the output format, which is set in the administration.
forward forward_off.gif With the button forward in the toolbar you can recover map sections, similar to a browser.
getArea getArea_off.gif After activating the button measure the button getArea appears in the maframe. After digitizing a polygon with the measure function the button getArea compute the size of the area and the extent.
keyHandler It is possible with the module keyHandler to navigate the functions zoomIn und zoomOut (plus/minus) and the cursor (arrows) with the keyboard. Please notice that this functions depends on the browser and is supported only from few versions MS Internet Explorer.
layout1 This element is only for layout purpose and has no other functions. In this case the element is a colored area, which is the background for the toolbar. Such areas can be used for layout for they need nearly no disc space and no loss of performance.
logout logout_off.gif To close a session use the logout button in the toolbar. Please notice that the optional available local cookie is deleted. Other clients activated at the same time do not allow access also.
mapbender To support the spread of the software we suggest to include the Mapbender logo in each gui with a link to the project homepage (http://www.mapbender.org). A sample is allways included in <gui1>. Regard this logo as a guiding star on every data highways.
mapframe1 Mapframe1 is the frame for the displayed map section. It is a quiet extensive object, because of the navigatable frame and it is target for many other modules.
measure measure_off.gif Digitize a point, line or polygon in the map with the button measure in the toolbar. Subsequently the measurement of the digitized area and line is done with the button getArea.
metadata metadata_off.png This Button shows metadata from all loaded services (WMS) and their layers.
navFrame The displayed map can be moved in each direction (belonging to mapframe) with the function navFrame. The navigation arrows in the frame of the map are clickable. You can change the color of the frame with the parameter 'content'.
overview The small map is called overview. You can zoom in or out the map with the overview or with the main map. Each loaded WMS is useable as an overview map.
pan1 pan_off.gif The button pan in the toolbar is able to pan the displayed map. Just click in the map and drag & drop to pan the map.
print1 With the button print in the toolbar a window opens to make the print settings. Please notice that Mapbender will achieve a higher quality, if the underlying map service is configured specially for that.
printPDF With the button print in the toolbar a window opens to make the print settings. printPDF can also be use as an iframe in the gui. Please notice that Mapbender will achieve a higher quality, if the underlying map service is configured specially for that.
repaint repaint_off.gif With the button repaint in the toolbar a mapsection will be drawn new. This function is optional, because many modules in the main mapframe already make a repaint, e.g. the layers with the treeGDE. It might sometimes be reasonable to deactivate repainting, if the server is being exposed to reduce the number of map requests. That makes especially sense, if users set on and off many layers at the same time.
rubber rubber_off.gif With the button rubber in the toolbar the function measure (digitizing) is reset and the measured distance is deleted.
sandclock Display of charge state, as an image may be included an animated GIF like a sandclock, progress bar and very popular is a biting banana.
saveWKT Oberflächenelemente der Kartenkomponente.2.gif It is possible to resave a digitized geometry into tha database with the button saveWKT. Please notice implicitly that this function should be considerable parametrized before using productive, because the preset module checks all available geometry tables in PostgreSQL/PostGIS and provides it in a listbox!
scalebar Display of the scalebar adapt to the selected section. Please notice that this module is not compatible with all coordinate systems.
scaleSelect With this selective list you are able to display different scales. Please notice that this module is not compatible with all coordinate systems.
scaleText With the description field scaleText you may register a scale manually and in doing so it is free selectable. Please notice that this module is not compatible with all coordinate systems.
selArea1 selarea_off.gif It is possible to pull a rectangle in the displayed map with the button selArea in the toolbar (keep the left mouse button pushed and pull the mouse). This mapsection appears complete in the whole frame. This is one of the main functions for navigation in the map.
showCoords coods_off.gif It is possible to click in the map and the coordinates of this point will be displayed with the button showCoords in the toolbar.
treeGDE It is possible to configure height, color and behauvior of the WMS in the treeGDE (folder) and the included layers (sheets). Please notice that there is a very configurable module, which is able to combine and connect layers from different WMS. So building up nested tree structures is no problem.
zoomIn1 zoomin2_off.gif Zooming into the map is done with the button zoomIn in the toolbar. A small section of the map will be displayed in a much bigger scale (more details). The module <zoomOut> is analog to this function.
zoomOut1 zoomout2_off.gif Zooming out of the displayed map is done with the button in the toolbar. The module <zoomIn> is analog to this function.

DE

Die folgende Auflistung enthält die meistgenutzten Oberflächenelemente, die im Lieferumfang von Mapbender enthalten sind. Diese Auswahl wächst stetig, informieren Sie sich über die User Mailing Liste über neueste Module und die weitere geplante Entwicklung. Sie sind herzlich eingeladen Ihre selbstentwickelten Module auch anderen Anwendern zur Verfügung zu stellen.

Hinweis zum kommerziellen Einsatz der Software

Falls Sie Mapbender kommerziell weiterverkaufen möchten, sind Sie durch die Lizenzierung als GNU GPL Software dazu verpflichtet alle Erweiterungen, die Sie an der Software vorgenommen haben weiterzugeben, bzw. der Allgemeinheit zur Verfügung zu stellen. Sollten Sie damit ein Problem haben, wenden Sie sich bitte unbedingt bevor Sie anfangen selbstgestrickte Lizenzen zu verkaufen an den Projekt Administrator, um das Problem anzusprechen. Bisher konnten alle Schwierigkeiten bezüglich der Lizenzierung als GNU GPL ausgeräumt werden. Zählen Sie bitte nicht darauf, dass es schon keiner merken wird. Es ist einfacher mit uns zu reden.

back back_off.gif Über die Schaltfläche back in der Werkzeugleiste können die letzten Kartenausschnitte wieder aufgerufen werden (ähnlich wie in der Browserfunktion). Dabei werden auch die Ebenen, Kartengröße, etc. Berücksichtigt. Eine Besonderheit dieses Elementes liegt im Parameter target. Es beinhaltet zwei Ziele, da der Mapframe und der Overview angesprochen werden.
body Hintergundfäche des Mapbender2, dessen Farbe bei Attributes eingestellt wird.
center1 center_off.gif Über die Schaltfläche center1 in der Werkzeugleiste wird beim Klicken auf einen Punkt in der Karte dieser zentriert dargestellt.
changeEPSG Über die Auswahlliste kann das Projektionssystem gewechselt werden. Voreingestellt werden hier die EPSG Codes der European Petroleum Survey Group angezeigt. In dem Modul <mod_changeEPSG.php> können diese Codes mit sprechenden Namen versehen werden.
changePassword Änderung des Passwortes
closePolygon closePolygon_off.gif Über die Schaltfläche measure werden drei bis optional vier weitere Schaltflächen aktiviert: rubber, getArea, closePolygon und save. Es kann nun eine Fläche digitalisiert werden. Über die Schaltfläche closePolygon wird der letzte Stützpunkt mit dem Startpunkt verbunden und so geschlossen. Anschließend kann über die Schaltfläche getArea eine Abfrage über diese Fläche gestartet werden. Über das Modul <save> kann die Geometrie als WKT Objekt in eine PostgreSQL/PostGIS Datenbank gespeichert werden. Diese Funktion soll in Richtung WFS-T ausgebaut werden.
copyright Das Copyright-Modul <mod_copyright.php> kann editiert werden, um Logo und/oder Copyright-Hinweise zu integrieren.
dragMapSize Am rechten unteren Kartenrand ist ein kleines rotes Quadrat sichtbar. Durch klicken und ziehen (Drag & Drop) kann das Kartenfenster vergrößert werden.
featureInfo1 query_off.gif Über die Schaltfläche FeatureInfo in der Werkzeugleiste wird ein OGC WMS getFeatureInfo-Request an die ausgewählten Server geschickt, die entprechende Abfrageergebnisse zurückliefern. Das Ergebnis ist abhängig von den aktivierten Layern und dem in der Administration ausgewählten Ausgabeformat.
forward forward_off.gif Über die Schaltfläche forward in der Werkzeugleiste können Kartenausschnitte wiederhergestellt werden, ähnlich der Browserfunktion.
getArea getArea_off.gif Die Schaltfläche getArea wird nach der Aktivierung der Schaltfläche measure im Hauptkartenfenster sichtbar. Nach der Digitalisierung eines Polygons mit der measure-Funktion kann über die Schaltfläche getArea eine Berechnung der Größe der eingegrenzten Fläche und des Umfangs abgefragt werden.
keyHandler Mit dem Modul keyHandler ist es möglich per Tastatur die Funktionen zoomIn und zoomOut (Plus/Minus) sowie den Cursor (Pfeiltasten) zu navigieren. Bitte beachten Sie, dass diese Funktion stark Browserabhängig ist und nur von einigen MS Internet Explorer Versionen unterstützt wird.
layout1 Das Element layout1 dient nur der graphischen Gestaltung und hat keinerlei Funktion. In diesem Fall stellt das Element eine farbige Fläche dar, die den Hintergrund für die Werkzeugleiste bildet. Solche Flächen können für die Layoutgestaltung genutzt werden benötigen praktisch keinen Speicherplatz und bringen deshalb keinen Perfomanzverlust mit sich.
logout logout_off.gif Über die Schaltfläche logout in der Werkzeugleiste wird die aktive Sitzung beendet. Beachten Sie, dass das optional verfügbare lokale Cookie dabei gelöscht wird, andere Clients, die Sie zwischenzeitlich geöffnet haben gestatten ebenfalls keinen Zugriff mehr.
mapbender Um die Verbreitung der Software zu unterstützen empfehlen wir, das Mapbender-Logo in jeder Oberfläche sichtbar einzubinden und mit einem Link auf die Projekthomepage (http://www.mapbender.org) zu versehen. Eine Vorlage ist immer in <gui1> enthalten. Betrachten Sie das Logo als guten Stern auf allen Datenautobahnen.
mapframe1 Der mapframe1 bildet den Rahmen für den dargestellten Kartenausschnitt. Es ist ein recht umfangreiches Objekt, da es den navigierbaren Rahmen berücksichtigt und Ziel für viele Aufrufe anderer Module ist.
measure measure_off.gif Über die Schaltfläche measure in der Werkzeugleiste kann in der Karte ein Punkt, Linie oder Polygon abgesteckt (digitalisiert) werden. Die Messung der abgesteckten Fläche und Strecke erfolgt anschließend über die Schaltfläche getArea.
metadata metadata_off.png Über den Button werden die Metadaten aller geladenen Dienste (WMS) und der enthaltenen Ebenen angezeigt.
navFrame Über die Funktion navFrame (gehört zu mapframe) läßt sich die dargestellte Karte in die gewünschte Richtung verschieben. Die Navigationspfeile im Rahmen der Karte dienen als Klickpunkt. Die Farbe des Rahmens ist im Parameter content konfigurierbar.
overview Der overview bezeichnet die kleine Übersichtskarte. Es kann sowohl über den overview in oder aus einer Karte gezoomt werden als auch über die Gesamtkarte. Es kann jeder eingebundene WMS als Übersichtskarte genutzt werden. Über wms=2 kann dem Modul z. B. die Information gegeben werden, dass der WMS mit der Position 2 im Overview angezeigt werden soll. dabei wird der Extent des WMS verwendet.
pan1 pan_off.gif Über die Schaltfläche pan in der Werkzeugleiste kann die dargestellte Karte angeklickt und manuell per Drag & Drop verschoben werden.
print1 Über die Schaltfläche print in der Werkzeugleiste wird ein Fenster für die Druckeinstellungen geöffnet. Beachten Sie, dass Mapbender eine höhere Qualität erzielen kann, wenn der zugrundeliegende Kartendienst speziell dafür konfiguriert wird.
repaint repaint_off.gif Über die Schaltfläche repaint in der Werkzeugleiste wird ein Kartenausschnitt neu gezeichnet. Diese Funktion ist optional, da viele Module das Hauptkartenfenster bereits selbst neu zeichnen, z.B. die Ebenenübersicht mit der Baumstruktur. Es kann allerdings sinnvoll sein, dieses automatische Neuzeichnen zu deaktivieren, falls der Server stark beansprucht wird, um die Anzahl von Karten-Anfragen zu reduzieren. Das macht vor allem dann Sinn, wenn die Benutzer häufig viele Ebenen gleichzeitig an und ausstellen.
rubber rubber_off.gif Über die Schaltfläche rubber in der Werkzeugleiste kann die Funktion measure (Digitalisierung) zurückgesetzt und die gemessene Strecke gelöscht werden.
sandclock Anzeige des Ladezustandes, als Bild kann hier ein animiertes GIF eingebunden werden, eine Sanduhr, Ladebalken, und sehr beliebt ist auch die Banane mit Biss.
saveWKT Oberflächenelemente der Kartenkomponente.2.gif Über die Schaltfläche saveWKT kann eine digitalisierte Geometrie in die Datenbank zurückgespeichert werden. Beachten Sie unbedingt, dass diese Funktion erheblich parametriert werden sollte, bevor sie im produktiven Einsatz geht, da das Standardmodul alle in PostgreSQL/PostGIS verfügbaren Geometrietabellen ausliest und in einer Listbox anbietet!
scalebar Die Anzeige der Maßstabsleiste paßt sich dem gewählten Ausschnitt entsprechend an. Beachten Sie, dass dieses Modul nicht mit allen Koordinatensystemen kompatibel ist.
scaleSelect Mit Hilfe dieser Auswahlliste können verschiedene Maßstäbe dargestellt werden. Beachten Sie, dass dieses Modul nicht mit allen Koordinatensystemen kompatibel ist.
scaleText Über das Textfeld scaleText kann ein Maßstab manuell eingetragen und auf diese Weise frei gewählt werden. Beachten Sie, dass dieses Modul nicht mit allen Koordinatensystemen kompatibel ist.
selArea1 selarea_off.gif Mit Hilfe der Schaltfläche selArea in der Werkzeugleiste kann in der dargestellten Karte ein Viereck aufgezogen werden (linke Maustaste gedrückt halten und Maus ziehen). Dieser Kartenausschnitt erscheint nun auf der gesamten Größe des Fensters. Das ist eine der Hauptfunktionen für die Navigation in der Karte.
showCoords coods_off.gif Über die Schaltfläche showCoords in der Werkzeugleiste kann durch Klicken auf einen Punkt in der Karte dessen Koordinaten angezeigt werden.
treeGDE Die Baumstruktur für die WMS (Ordner) und enthaltenen Ebenen (Blätter) können hier in Größe, Farbe und Verhalten konfiguriert werden. Beachten Sie, dass es alternativ ein hochkonfigurierbares Modul gibt, dass Ebenen auch unterschiedlicher WMS kombinieren und verbinden kann. Damit können beliebig tief verschachtelte Baumstrukturen aufgebaut werden.
zoomIn1 zoomin2_off.gif Die Schaltfläche zoomIn in der Werkzeugleiste ermöglicht das hineinzoomen in die dargestellte Karte. Es wird ein kleinerer Ausschnitt der Karte in einem größeren Maßstab (mehr Details) dargestellt. Das Gegenstück zu dieser Funktion ist das Modul <zoomOut>.
zoomOut1 zoomout2_off.gif Über die Schaltfläche zoomOut in der Werkzeugleiste kann aus der dargestellten Karte heraus gezoomt werden. Das Gegenstück zu dieser Funktion ist das Modul <zoomIn>.
Views
Personal tools