Can you help me with WFS on GeoExt? I'm read tutorial and see this code.
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"
})
})
After this I see this var vectorLayer = new OpenLayers.Layer.Vector("Editable features"); And don't understand how to create a layer. So I have some questions.
- How to get URL for the WFS? (I use GeoServer)
- What does it mean by
featureTypeoption. - And more important. This code is correct? I find it here http://workshops.opengeo.org/geoext/wfs/grid.html
OpenLayers.ProxyHost = "proxy.cgi?url=";. Can u say me? AndfeatureNSthi is name of the workspace? – Kliver Max Jul 12 '12 at 05:28