Hi, 1) No, if your url for the wfs can be written like "/path/wfs?Request=WFS&..." 2) Yes 3) You need a web server to work with wfs. You should avoid to load files from filesystem.
5) You only need a proxy script to get vector files from a remote server, or if you have configured your mapserver for a different host then your page (http://localhost and http://localhost:8080 isn't the same). For image layers (WMS, TMS, Image) you don't need a proxy script. Arnd -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Luca Santaniello Gesendet: Mittwoch, 13. April 2011 14:07 An: [email protected] Betreff: [OpenLayers-Users] add WFL Layer to map Hi all, I need add WFS layer to map but I have a problem. Questions: 1) Do I need to use the proxynecessary? 2) I user OpenLayers.Layer.Vector with OpenLayers.Protocol.WFS protocol class. Is it right? 3) Can I call my example from filesystem or I need deploy example in webserver as Tomcat? 4) I try run wfs-protocol.html but I get blank page because I don't have proxy configured. Right? 5) When OpenLayers.ProxyHost is used? Only WFS protocol oh WMS Layers also? Thanks _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
