Hi list,

i am trying to request WFS service version 1.0.0 with GML3. My first
approach:

                        var wfs_tasmaniaRoads = new
OpenLayers.Layer.Vector("GML3, WFS 1.0.0", {
                            strategies: [new OpenLayers.Strategy.BBOX()],
                            // only pulls the feature currently visible in
the map display
                            protocol: new OpenLayers.Protocol.WFS({
                                url: "
http://giv-wps.uni-muenster.de:8080/geoserver/wfs";,
                                featureType: "tasmania_roads",
        // required
                                featureNS: "http://www.openplans.org/ns1";,
// optional
                                version: "1.0.0",
                                outputFormat: "GML3"
                            })
                        });

WFS version 1.1.0 (GML3) works fine,
WFS version 1.0.0 and outputFormat=GML2 works fine,
WFS version 1.0.0 and outputFormat=GML3 does not work for me, the response
seems to be ok, except for the attribute numbersOfFeatures="0" (in fact
there are features inside), but the drawing ends up in unrendered features
on the layer. It seems the Point features are not parsed correclty, so they
dont exist in the layer.

Is there a way of doing this?

Greets
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to