Hi, thanks that solved the problem. But now I get a java.lang.RuntimeException: java.io.IOException Connection test failed Cannot create PoolableConnectionFactory. But think that´s a Geoserver and/or Tomcat issue, so I will ask on these mailinglist.
best regards Sarah ________________________________ Von: Christopher Schmidt <crschm...@metacarta.com> An: Sarah Schuessler <sarah_f...@yahoo.de> CC: users@openlayers.org Gesendet: Donnerstag, den 4. März 2010, 21:12:02 Uhr Betreff: Re: [OpenLayers-Users] layer.projection.getCode is not a function On Thu, Mar 04, 2010 at 02:13:02PM +0000, Sarah Schuessler wrote: > Hi list, > > I want to add a selectControl to my map (like the getfeature-wfs example). > 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. > Where are my mistake? projection: new OpenLayers.Projection("EPSG:4326") on the layer. -- Chris > Thanks for any hint! > best regards > Sarah > > > __________________________________________________ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz > gegen Massenmails. > http://mail.yahoo.com > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users -- Christopher Schmidt MetaCarta __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users