[OpenLayers-Users] Problem with WFS
Pedro Baracho
pedropbaracho at gmail.com
Tue Nov 17 08:04:20 EST 2009
Could you please copy your code so I can take look?
As I understand, WFS problems are usually related to:
1- Proxy and Cross Domain Requests
2- Projections
3- Incorrect OL instancing
As you stated on your email, you are getting correct responses so my guess
is that you got a problem with Projections.
On Tue, Nov 17, 2009 at 9:18 AM, maimaj <maimaj at gmail.com> wrote:
>
> Hi all,
>
> I have a WMS layer as my base layer and also a WFS layer on top of it.
> OpenLayers renders the WMS layer perfectly, but the WFS layer doesn't show
> up. I am pretty sure that the OpenLayers is sending an appropriate request
> to the server (Geoserver) and the server is also responding properly,
> since:
>
> 1. Geoserver is on the same server where my own application (which hosts
> the OpenLayers.js) is. So
> there's no need for the proxy.
> 2. Geoserver console logs show that it has received the request properly.
> 3. When I copy the the request string in the address bar of my web
> browser, I get the gml2 file from the
> server (I also tested the server with uDig as the client, and it can
> render the features properly through
> WFS service provided by Geoserver).
>
> Could you please help me on this issue and tell me what might be the cause
> of this problem? I have copied the init function from the WFS example
> available in the examples directory of OpenLayers 2.8 and added my own WMS
> layer, removed the proxy setting, and changed the WFS setting.
>
> Thanks in advance,
> Majid
>
> --
> View this message in context:
> http://n2.nabble.com/Problem-with-WFS-tp4017977p4017977.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091117/50737202/attachment.html
More information about the Users
mailing list