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

Till Adams adams at terrestris.de
Mon Jan 8 03:04:31 EST 2007


Kai,

das Problem des WFs liegt darin, daß man ihn nicht sieht ...;-) Zur 
Kartenanzeige gibt es ja den WMS.
Der WFs dient dir nur für Dinge wie Suchen, Onmouseover 
Highlighten,digitalisieren (WFS-T) u.ä. -- sprich
Anwendungen, in denen die echten Geodaten benötigt werden.

Wenn du den WFS unbedingt sehen willst, kannst du ihn ja als 
Datenquwelle in einen WMS einbinden.

Grüsse, Till

-----------------------------------------------------------------------------------------------------------------

Kai,

the thing with theWFsi s, that you won't see it - therefore the WMS exists.

The WFS loads the geodata to the client and allows stuff like 
gazetteers, highlighting of objects or digitizing (WFS-T).

If you really nered to see the WFS then use it as datasource for a WMS,

greetings, Till




Kai Behncke schrieb:

>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
>  
>

-- 
*****************************************
*    SensorGIS 'Geodaten in Echtzeit'		*
*        http://www.sensorgis.de	 		*
*        http://www.terrestris.de	 		*
*****************************************

------------------------------------------

Dipl. Geogr. Till Adams
terrestris, H. Paulsen& T. Adams GbR
Siemensstr. 8 * 53121 Bonn
Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
info at terrestris.de * http://www.terrestris.de



More information about the Mapbender_users mailing list