Hello,

here is the code of my wfs.

        wfs_layer = new OpenLayers.Layer.Vector("WFS",
{
    strategies: [new OpenLayers.Strategy.Fixed()],
    projection: 'EPSG:4326',
    protocol: new OpenLayers.Protocol.WFS
                ({
            url: "http://...:8080/geoserver/wfs";,
                    featureType: "my_shape",
                    featurePrefix: 'topp',
                    featureNS: "http://www.openplans.org/topp";,
                    maxFeatures: 100
                })
});

the rest of the code is nothing special.

I used this config options:

var config = {
           projection : new OpenLayers.Projection("EPSG:4326"),
           displayProjection: new OpenLayers.Projection("EPSG:4326"),
           units : "m",
           numZoomLevels : 18,
           maxResolution : "auto"
       };

Thanks for your help.

Best Regards

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/GetFeature-of-WFS-Layer-with-EPSG-4326-with-osm-base-layer-EPSG-900913-doesn-t-work-tp5689706p5698132.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to