[OpenLayers-Dev] Connecting to a WFS server
amaneiro at icarto.es
Mon Feb 7 14:02:56 EST 2011
I'm trying to connect to a WFS server by means of OpenLayers capabilities.
If it can help, I'm using geoserver 2.1 from the trunk (the one package
by the opengeo-suite ). These tests on the WFS server are OK:
- connect to WFS server by using a desktop client (QGIS) and get a layer
- get a GML file directly from the browser with this query
So, it seems the WFS is ok and running. Nevertheless, when I trying to
connect from OL I failed to use it. The map generated shows the OSM
baselayer + WMS layer overlay. But not the WFS layer. The code I'm using:
HTML code: http://pastebin.com/S0E1Wu8C
I can't figure out why it fails. Any idea?
More information about the Dev