Hi list,

 

I want to load a WFS layer, but firebug shows the request is incomplete:

 

http://lynch:8399/arcgis/services/icc_talls_v_v/MapServer/WFSServer?

 

So the correct request must to be:

 

http://lynch:8399/arcgis/services/icc_talls_v_v/MapServer/WFSServer?VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=icc_talls_v_v:t50&BBOX=292100,4566100,293400,4567400

 

My code: 

 

var wms = new OpenLayers.Layer.WMS(

"Topo",

"http://server/tilecache/tilecache.py?";,

{layers: 'topo'}

);

 

                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: 
'icc_talls_v_v:t50',

                                                               featureNS: 
'http://postgis.org',

                                                               srsName: 
'EPSG:23031',

                                                               version: '1.1.0' 
  

                               })

                });

 

map.addLayers([wms,WFSLayer]);

 

Any idea why request is incomplete?

 

Thank's in advance.

 

Antoni Vidal

Unitat d'Aplicacions SIG-WEB
Institut Cartogràfic de Catalunya 
<http://mercuri.icc.cat/website/mob_nf/mob1/mob2/inici2.htm?CONSULTA=Institut%20Cartogr%25E0fic%20de%20Catalunya&XYADDRESS=429486:4580392>
 
Parc de Montjuïc, E-08038 Barcelona
Tel. (+34) 93 567 15 00 (ext. 3228)
www.icc.cat <http://www.icc.cat/> 

 

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to