Hrmmthis is starting to stump me. I had a difficult time with the last
WFS layer I setup. Here's my working code: http://pastebin.com/dVRAsi5C
I'd try looking at your featureNS and adding a geometryName.
HTH,
Brian
___
Users mailing list
Hi Lewis,
Sorry for the delay. Now that I'm on spring break, I can take a little more
time to look at your problem. Here are a few things I'd suggest:
1. Your WFS response indicates that you're using WFS 1.0.0. Try using
protocol 1.1.0.
2. You set the projection in the WFS object,
Lewis,
Can you elaborate on what a positive response means? Did you get an HTTP
200 OK, or did you use something like Firebug to look inside of your request
and found actual data returned?
I'm asking because you can get an empty 200OK. I had a rewrite issue that
prevented my proxied requests
for your prompt response.
I use Chrome development tools and can see data which is returned.
Regards,
Lewis Oaten
web: lewisoaten.com
twit: twitter.com/lewisoaten
key: pk.caecus.co.uk
cal: tgl.me/LewisOaten
Sent on the move.
On 25 Feb 2010 21:24, Brian Stempin brian.stem...@gmail.com wrote
You may also want to explicitly set your SRS on your WFS layer. Eg:
var geoserver = new OpenLayers.Layer.Vector( GeoServer WFS:
Itasca Lakes, {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url:
I found that the above code will work if you add srsName: EPSG:900913 to
the WFS options.
Is this a feature/bug/magic, or me being silly?
Thanks,
Brian Stempin
brian.stem...@gmail.com
___
Users mailing list
Users@openlayers.org
http://openlayers.org