<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:8pt"><div>Hi,<br><br>I would like to change a wms layer in my project to a wfs so that I can add more functionality to the layer such as tables and mouseclicks etc.<br>Unfortunately when I do this the layer isnīt shown anymore. Firebut gives an exeption saying...<br><br>"<code class="wrappedText focusRow" role="listitem"><span><ows:exceptiontext>Could not locate {<a target="_blank" href="http://www.zgb.de%7Dzgb:WEA_wgs84_">http://www.zgb.de}zgb:WEA_wgs84_</a> in catalog.</ows:exceptiontext></span></code><code class="wrappedText focusRow" role="listitem">>"<br><br>can anyone explain why this is?<br><br><br></code><code class="wrappedText focusRow" role="listitem"><br>
/**********************/<br>
</code><code class="wrappedText focusRow" role="listitem">/**This does not work**/<br></code><code class="wrappedText focusRow" role="listitem">/**********************/</code><br><code class="wrappedText focusRow" role="listitem"><br>var layer_wea = new OpenLayers.Layer.Vector("WEA", {<br> strategies: [new OpenLayers.Strategy.Fixed()],<br> protocol: new OpenLayers.Protocol.WFS({<br> url: "/geoserver/ows",<br> version: "1.1.0",<br> featureType: "zgb:WEA_wgs84_",<br><span> featureNS: "<a target="_blank" href="http://www.zgb.de">http://www.zgb.de</a>",</span><br> srsName: "EPSG:4326"<br> })<br>});<br><br><br>/*****************/<br></code><code class="wrappedText focusRow" role="listitem">/**This
works ok**/<br></code><code class="wrappedText focusRow" role="listitem">/*****************/<br>
</code><br><code class="wrappedText focusRow" role="listitem">var layer_wea = new OpenLayers.Layer.WMS(<br> "Windenergieanlage",<br> "/geoserver/ows",<br> {<br> layers: 'zgb:WEA_wgs84_',<br> group: "Wind",<br> styles: '',<br> srs:
'EPSG:4326',<br> format: 'image/png',<br> tiled: 'no',<br> tilesOrigin : "143.60260815000004,-43.851764249999995",<br> transparent: true<br> },<br> {<br> 'opacity': 1, 'isBaseLayer': false,
visibility:false<br> }<br> );<br><br><br><br><br><br>yours,<br><br>Robert Buckley<br></code></div>
</div><br></body></html>