Could you assist me with setting up WFS on GEOExt? I have gone through a tutorial and found this code snippet.
proxy: new GeoExt.data.ProtocolProxy({
protocol: new OpenLayers.Protocol.WFS({
url: "/geoserver/ows",
version: "1.1.0",
featureType: "parks",
featureNS: "http://medford.opengeo.org",
srsName: "EPSG:4326"
})
})
Following this, I encountered the line:
var vectorLayer = new OpenLayers.Layer.Vector("Editable features");
However, I am unsure how to create a layer. This has raised some questions for me:1. How do I obtain the URL to access WFS? (I am using Geoserver)
2. What does the featureType option signify?
3. Most importantly, is this code accurate? I came across it here: