[Mapbender-users] Problem to present a WFS-Layer in the Mapbender

Kai Behncke Kai-Behncke at gmx.de
Sat Jan 6 15:48:11 EST 2007


Hallo Liste,

ich bin gerade dabei ein Tutorium zum Thema WMS/WFS zu erstellen, welches nach Fertigstellung auch der Allgemeinheit zur Verfügung stehen soll.
Den Nutzen eines WFS möchte ich gerne praktisch am Beispiel des Mapbenders erläutern.
Hier stecke ich aber leider im Augenblick fest und habe eine ganze Menge Fragen.

Wie kann ich einen ganz einfachen WFS-Layer im Mapbender darstellen???

Folgendes habe ich gemacht:
Im UMN MapServer einen WFS-Server erstellt.
Die Capabilities kann ich auch wunderbar über:

http://localhost/cgi-bin/mapserv?map=/mapservertest/wfs/wfs_hope/mapdatei_wfs_server.map&REQUEST=GetCapabilities&VERSION=1.0.0&Service=WFS

abfragen. Wenn ich den Mapserver als WFS-Client nutze, dann wird der WFS auch dargestellt.

Im Mapbender habe ich einfach die Standardgui (gui) kopiert und “gui_wfs” genannt,  alle WMS habe ich gelöscht.
Ich möchte, dass nur die Polygone meines einzubindenden WFS präsentiert werden.

Ich habe dann unter admin1-> Load WFS  einen WFS eingespielt, so weit ich beurteilen kann mit Erfolg.
Etwas wie der "Ochs vorm Berg" stehe ich dann aber im Bereich "WFS Conf".
Die Seite:http://www.mapbender.org/index.php/WFS_Konfiguration

hilft mir zwar etwas weiter, aber der entscheidende Schritt fehlt noch.
Was muss ich denn hier eintragen, damit die Poylgone des WFS auch in der Anwendung präsentiert werden? Könnte mir da jemand ein Beispiel geben?

Und eine generelle Frage:
Muss ich eigentlich in die gui unter "Oberfläche editieren" noch Module für eine Präsentation des WFS einbinden?
Im Augenblick habe ich, wie in der "gui_digitize" z.B.
noch  ../extensions/wz_jsgraphics.js & wfs.js 
sowie ../php/mod_wfs.php eingebunden, leider ohne Resultat.


Wenn ich jetzt die "gui_wfs" im Mapbender öffne, dann wird keine Karte (auch kein Kartenfenster) angezeigt?
Kann mir da jemand auf die Sprünge helfen?
Ich nutze mapbender 2.2.4 unter Debian Sarge 3.1.
Danke im Voraus, Kai
-----------------------------------------------------------------------



Hello list,
I have got a problem to present a simple WFS-Layer in the Mapbender.

The following I have done:

I constructed a WFS-Server in the UMN MapServer.
Without any problems I get its capabilities by that url:

http://localhost/cgi-bin/mapserv?map=/mapservertest/wfs/wfs_hope/mapdatei_wfs_server.map&REQUEST=GetCapabilities&VERSION=1.0.0&Service=WFS

If I use the MapServer as WFS-Client I can present the map very well.

In the Mapbender I copied the standard-gui (gui) and named it to “gui_wfs”.
I deleted all the WMS-Layers, I want, that just the new WFS-Layer will be presented.

Then I loaded (as I think successfully) the new WFS.

The problem begins in the area "WFS Conf".
The site: :http://www.mapbender.org/index.php/WFS_Konfiguration

helps, but nevertheless I don`t know what to fill in exactly, could anybody give me an example? What do I have to do, that the WFS is presented in the map??What do I have to configure?

A generell question: Is it needable that I load in some moduls for the presentation of a WFS?
So far, I loaded (like in the gui_digitize)  ../extensions/wz_jsgraphics.js & wfs.js 
and ../php/mod_wfs.php to, unfortunatelly without result.

If I open now the "gui_wfs" in the Mapbender, there is no map at all, not even a mapframe.
I`m using Mapbender 2.2.4 on Debian Sarge 3.1.
Could anybody help please? Thank you very much.

Kai
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the Mapbender_users mailing list