Hello List,

    I want to store WFS-T (point,line,polygon) data on server.
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.

new OpenLayers.Layer.Vector("Editable Features", {
        strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
        projection: new OpenLayers.Projection("EPSG:4326"),
        protocol: new OpenLayers.Protocol.WFS({
            version: "1.1.0",
            srsName: "EPSG:4326",
            url: "http://demo.opengeo.org/geoserver/wfs";,
            featureNS :  "http://opengeo.org";,
            featureType: "restricted",
            geometryName: "the_geom",
            schema: "
http://demo.opengeo.org/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=og:restricted
"
        })
    });

Also I don't want to add multiple layers for it if its possible in single
layer.

1) How to add multiple featureTypes.
2) What are feature types for line & point.
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to