Hello List,<br><br> I want to store WFS-T (point,line,polygon) data on server.<br>With the help of following layer I am able to store polygon but not getting how to store lines & points. Any help related with this is appreciated. <br>
<br>new OpenLayers.Layer.Vector("Editable Features", {<br> strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],<br> projection: new OpenLayers.Projection("EPSG:4326"),<br> protocol: new OpenLayers.Protocol.WFS({<br>
version: "1.1.0",<br> srsName: "EPSG:4326",<br> url: "<a href="http://demo.opengeo.org/geoserver/wfs">http://demo.opengeo.org/geoserver/wfs</a>",<br> featureNS : "<a href="http://opengeo.org">http://opengeo.org</a>",<br>
featureType: "restricted",<br> geometryName: "the_geom",<br> schema: "<a href="http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=og:restricted">http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=og:restricted</a>"<br>
})<br> }); <br><br>Also I don't want to add multiple layers for it if its possible in single layer. <br><br>1) How to add multiple featureTypes.<br>2) What are feature types for line & point.<br>