@ Ralph: yes I had add the layer to the map.
The solution is to install a proxy.cgi.
Thanks Tino!
Von: Ralph Dell [mailto:rd...@catawbacountync.gov]
Gesendet: Mittwoch, 14. Juli 2010 17:53
An: Robert Zimmermann; users@openlayers.org
Betreff: RE: [OpenLayers-Users] GeoServer WFS
Hello,
I want to get from a GeoServer WFS a Layer in OpenLayers
A very simple problem, but nothing is working. Sorry.
When I get the Data with WMS all is fine.
I have try the following Code:
new OpenLayers.Layer.Vector(WFS, {
strategies: [new
Hey Robert,
have you setup the OpenLayers-Proxy?
regards
Tino
- Original Nachricht
Von: Robert Zimmermann zimmerm...@zimrob.de
An: users@openlayers.org
Datum: 14.07.2010 15:17
Betreff: [OpenLayers-Users] GeoServer WFS
Hello,
I want to get from a GeoServer WFS
:18 AM
To: users@openlayers.org
Subject: [OpenLayers-Users] GeoServer WFS
Hello,
I want to get from a GeoServer WFS a Layer in OpenLayers
A very simple problem, but nothing is working. Sorry.
When I get the Data with WMS all is fine.
I have try the following Code:
new
Hi list,
I try to make wfs request to geoserver with this:
var saveStrategy = new OpenLayers.Strategy.Save(options);
var wfs = new OpenLayers.Layer.Vector(_layer, {
strategies: [new OpenLayers.Strategy.Fixed({
preload: false
}), saveStrategy],