Hello,

I am developing map application with openlayers and geoext.

On  geoserver i see my road lines layer properly. When i add layer to my
application via WFS  i see my lines like this.

http://s18.postimg.org/n3nubtts9/road.png

My geoserver layer EPSG code is 4326.

How can i display properly via WFS

Thanks in advance.


Example code:


   var layer = new OpenLayers.Layer.Vector("Lines", {
  strategies: [new OpenLayers.Strategy.BBOX()],
  protocol: new OpenLayers.Protocol.WFS({
url: "/geoserver/ows",
version: "1.1.0",
featureType: "roads",
featureNS: "http://roads";,
  srsName: "EPSG:4326",
 maxFeatures:300,
geometryName:"geom"
  })
});
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to