Wms extent
From MapbenderWiki
Contents |
English
You have the possibility to add a WMS to your Mapbender that display the Extent of each WMS as a polygon. This is only possible for users with PostgreSQl/PostGIS as administration database for Mapbender.
You have to follow the next steps:
Add the geometry column for the polygon that represents the Extent
more information at wms_geometry
Configure the WMS
there is an example WMS at
./mapbender/http/tools/wms_extent/mapbender_wms.map
You have to adapt it to your architecture and load the WMS to Mapbender.
Adapt the FeatureInfo Template
The template info.html enables you to add a WMS dynamically to the gui.
./mapbender/http/tools/wms_extent/info.html
To use this feature you need to add the element addWmsFromFeatureInfo to your gui.
Deutsch
Es gibt jetzt die Möglichkeit einen WMS in Ihre Mapbender Installation einzubinden, der die Ausdehnung (Extent) jedes geladenen WMS als Polygon anzeigt. Voraussetzung hierfür ist, dass die für Mapbender genutzte Verwaltungs-Datenbank PostgreSQl/PostGIS ist.
Beachten Sie dabei die folgenden Schritte:
Hinzufügen der Geomtetriespalte für das Polygon mit der entsprechenden Ausdehnung (Extent)
Weitere Informationen unter wms_geometry
Konfigurieren des WMS
Es gibt ein Beispiel-WMS unter
./mapbender/http/tools/wms_extent/mapbender_wms.map
Dieser WMS muss entsprechend an Ihre Architektur angepasst und anschließend in Mapbender werden.
Anpassung des FeatureInfo Template
Das Template info.html ermöglicht Ihnen einen WMS dynamisch zu Ihrer Gui hinzuzufügen.
./mapbender/http/tools/wms_extent/info.html
Um dieses Feature zu nutzen müssen Sie das Element addWmsFromFeatureInfo zu Ihrer Gui hinzufügen und aktivieren.

