Hello all,<br><br>I&#39;m having troubles to implement a vector layer with WFS protocol. From firebug i can see that the attributes from the layer are extracted, however no vector feature is displayed in the map.<br>DO you have any suggestions??? My code is as follows:<br>
<br>var saveStrategy = new OpenLayers.Strategy.Save();<br>        var wfs2 = new OpenLayers.Layer.Vector(<br>            &quot;ExplorWFS2&quot;,<br>            {<br>                strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],<br>
                projection: wgs,<br>                protocol: new OpenLayers.Protocol.WFS({<br>                    version: &quot;1.1.0&quot;,<br>                    srsName: &quot;EPSG:4326&quot;,<br>                    url: &quot;<a href="http://isegi.dyndns.org:8080/geoserver/wfs">http://isegi.dyndns.org:8080/geoserver/wfs</a>?&quot;,<br>
                    featureNS :  &quot;<a href="http://isegi.dyndns.org:8080/sigla">http://isegi.dyndns.org:8080/sigla</a>&quot;,<br>                    featureType: &quot;explor&quot;,<br>                    geometryName: &quot;the_geom&quot;,<br>
                    schema: &quot;<a href="http://isegi.dyndns.org:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=sigla:explor">http://isegi.dyndns.org:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=sigla:explor</a>&quot;,<br>
                    format: new OpenLayers.Format.WFST.v1_1_0({<br>                        featureType: &#39;explor&#39;,<br>                        featureNS: &quot;<a href="http://isegi.dyndns.org:8080/sigla">http://isegi.dyndns.org:8080/sigla</a>&quot;,<br>
                        featurePrefix: &#39;sigla&#39;,<br>                        geometryName: &#39;the_geom&#39;<br>                    })<br>                })    <br>            }<br>        );<br><br>I have tried these code with and without the format option.<br>
<br>If i simply use the following code, everything goes perfect and vector features are displayed in the map:<br><br>var wfs = new OpenLayers.Layer.WFS(<br>            &quot;ExplorWFS&quot;,<br>            &quot;<a href="http://isegi.dyndns.org:8080/geoserver/wfs">http://isegi.dyndns.org:8080/geoserver/wfs</a>?&quot;,<br>
            {typename: &#39;sigla:explor&#39;},<br>            {<br>                featureVersion: &quot;1.0.0&quot;,<br>                typename: &#39;explor&#39;,<br>                featureNS: &#39;&quot;<a href="http://isegi.dyndns.org:8080/sigla">http://isegi.dyndns.org:8080/sigla</a>&#39;,<br>
                geometryName: &quot;the_geom&quot;,<br>                projection: wgs,<br>                extractAttributes: true,<br>                schema: &quot;<a href="http://isegi.dyndns.org:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=sigla:explor">http://isegi.dyndns.org:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&amp;typename=sigla:explor</a>&quot;<br>
            }<br>        );<br><br>Thanks in advance.<br>Kind regards,<br><br>Hugo Martins<br>