Looking at console.debug fetures, there is en empty array. I supose that 
response aren't read by vector layer, but, I don't know why...

Nothing about your tip in wfs response.

Antoni.

-----Missatge original-----
De: Pierre Giraud [mailto:[email protected]] 
Enviat: jueves, 16 de diciembre de 2010 15:42
Per a: Vidal, Antoni
A/c: [email protected]
Tema: Re: [OpenLayers-Users] WFS request not rendered

You should ensure that the featureNS value is the correct one.

Tip : search for something like the following in your WFS response :
xmlns:t50="http://something.extension";

Pierre

On Thu, Dec 16, 2010 at 1:52 PM, Vidal, Antoni <[email protected]> wrote:
>
> Hello list,
>
>
>
> I've created a WFS layer and response seems ok, but is not rendered by 
> openlayers.
>
>
>
> My code:
>
>
>
>                 WFSLayer = new OpenLayers.Layer.Vector('Wfs', {
>
>                                    strategies: [new 
> OpenLayers.Strategy.BBOX()],
>
>                                    protocol: new OpenLayers.Protocol.WFS({
>
>                                                                url: 
> 'http://lynch:8399/arcgis/services/icc_talls_v_v/MapServer/WFSServer',
>
>                                                                featureType: 
> 't50',
>
>                                                                featureNS: 
> 'http://lynch:8399/arcgis/services/icc_talls_v_v/MapServer/WFSServer',
>
>                                                                srsName: 
> 'EPSG:23031',
>
>                                                                version: 
> '1.1.0',
>
>                                                                featurePrefix: 
> 'icc_talls_v_v',
>
>                                                                geometryName: 
> 'Shape',
>
>                                                                outputFormat: 
> 'GML3'
>
>                                })
>
>                 });
>
>
>
> map.addLayers([wms,WFSLayer]);
>
> map.zoomTo(5);
>
>
>
> Thank's in advance.
>
>
>
> Antoni Vidal
>
> Unitat d'Aplicacions SIG-WEB
> Institut Cartogràfic de Catalunya
> Parc de Montjuïc, E-08038 Barcelona
> Tel. (+34) 93 567 15 00 (ext. 3228)
> www.icc.cat
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



--
Pierre GIRAUD
Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 93
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to