[OpenLayers-Users] terrestris WFS not showing in OpenLayers

Gery . gamejihou at hotmail.com
Tue Apr 9 09:23:40 PDT 2013


Probably there is a conflict with your server (I'm guessing here), what firebug says?

Sent from my iBath

On Apr 9, 2013, at 14:01, "Tobias Kirschke" <tobias.kirschke at student.afg.hs-anhalt.de> wrote:

Hi,

I use a WFS from http://ows.terrestris.de/dienste.html  in my OpenLayers application but the WFS is not showing. The Proxy-settings are correct. My code:

     var demo = new OpenLayers.Layer.Vector("WFS", {
         strategies : [new OpenLayers.Strategy.BBOX()],
         protocol : new OpenLayers.Protocol.WFS({
             version:"1.1.0",
             url : "http://ows.terrestris.de/geoserver/terrestris/wfs",
             featureType : "world-countries-shape",
             featureNS : "terrestris",
             srsName : "EPSG:900913",
             geometryName: "the_geom"
         }),
       styleMap: myStyles,
     });

With my own WFS from Geoserver I see the Layer in the OpenLayers map. What is wrong? Thanks.

Tobias


_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list