[OpenLayers-Users] WFS server response OK, but not appearing
GlennM
gmullett at lidwala.com
Sat Aug 22 16:47:52 EDT 2009
Hi Maxime
I had a similar problem and setting the projection of the vector feature
itself did the trick e.g.:
wfs = new OpenLayers.Layer.Vector("France", {
strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
-->projection: new OpenLayers.Projection("EPSG:27582"),
protocol: new OpenLayers.Protocol.WFS({
version: "1.0.0",
url:
"http://**.***.**.***/cgi-bin/tinyows",
featureType: "france_dept",
srsName: "EPSG:27582",
featureNS: "**.***.**.***",
//featurePrefix: "tows",
geometryName: "the_geom",
schema:
"http://**.***.**.***/cgi-bin/tinyows?service=WFS&version=1.0.0&request=DescribeFeatureType&TypeName=tows:france_dept"
})
});
Regards
Glenn
--
View this message in context: http://n2.nabble.com/WFS-server-response-OK-but-not-appearing-tp3316670p3496477.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list