<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br>thanks that solved the problem.<br>But now I get a java.lang.RuntimeException: java.io.IOException Connection test failed Cannot create PoolableConnectionFactory.<br>But think that´s a Geoserver and/or Tomcat issue, so I will ask on these mailinglist.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>best regards<br>Sarah<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Christopher Schmidt <crschmidt@metacarta.com><br><b><span style="font-weight: bold;">An:</span></b> Sarah Schuessler <sarah_flip@yahoo.de><br><b><span style="font-weight: bold;">CC:</span></b> users@openlayers.org<br><b><span
style="font-weight: bold;">Gesendet:</span></b> Donnerstag, den 4. März 2010, 21:12:02 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> Re: [OpenLayers-Users] layer.projection.getCode is not a function<br></font><br>On Thu, Mar 04, 2010 at 02:13:02PM +0000, Sarah Schuessler wrote:<br>> Hi list,<br>> <br>> I want to add a selectControl to my map (like the getfeature-wfs example).<br>> I use Openlayers.Control.GetFeature and OpenLayers.Protocol.WFS.fromWMSLayer. At firebug I see that EPSG from my WMS layer is found ("EPSG:4326") but error came up at WFS.js (line 56) saying layer.projection.getCode is not a function. I declared srsName: "EPSG:4326" (tried it with: projection: "EPSG:4326") at protocol but that didn´t change anything.<br>> Where are my mistake?<br><br>projection: new OpenLayers.Projection("EPSG:4326")<br><br>on the layer.<br><br>-- Chris<br><br>> Thanks for any hint!<br>> best regards<br>>
Sarah<br>> <br>> <br>> __________________________________________________<br>> Do You Yahoo!?<br>> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>> <a href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a> <br>> _______________________________________________<br>> Users mailing list<br>> <a ymailto="mailto:Users@openlayers.org" href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br><br><br>-- <br>Christopher Schmidt<br>MetaCarta<br></div></div>
</div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.yahoo.com </body></html>