Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I need to create a vector layer using wfs protocol to give input to my gs:Nearest WPS process.

         this.layer2 = new OpenLayers.Layer.Vector("parks", {
                strategies: [new OpenLayers.Strategy.Fixed()],
                projection: new OpenLayers.Projection("EPSG:4326"),
                protocol: new OpenLayers.Protocol.WFS({
                    version: "1.1.0",
                    url:  "/geoserver/wfs",
                    featurePrefix: "medford",
                    featureType: "parks",
                    featureNS: "http://medford.opengeo.org"

but in firebug there is no features returned. Features[] length 0. Please Help THANKS, Debojit

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.