[OpenLayers-Users] Simple WFS problem
Magyar Zsolt
Magyar.Zsolt at aesz.hu
Thu Sep 8 05:35:38 EDT 2011
Hi!
Thanks!
Unfortunately it doesn't works. I pasted this raw, but it there is no
changes in display!
Zsolt
-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of gbrun
Sent: Thursday, September 08, 2011 11:19 AM
To: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] Simple WFS problem
Hi!
I had a similar problem few weeks ago:
http://osgeo-org.1803224.n2.nabble.com/Problem-to-display-a-WFS-layer-wi
th-OpenLayers-Layer-Vector-td6578209.html
I solved this issue by adding an readFormat property to the WFS protocol
definition, like this:
protocol: new OpenLayers.Protocol.WFS(
{
srsName: "EPSG:2154"
,url: "****/geoserver/wfs"
,featureNS : "*****/wfs"
,featureType: "unit_pay"
,readFormat: new OpenLayers.Format.GML()
}
);
I hope it will help!
Geoffrey
On Thu, 08 Sep 2011 10:57:10 +0200, Magyar Zsolt <Magyar.Zsolt at aesz.hu>
wrote:
> Hi! Please help me! This simple WFS map why does not appear?
> http://erdoterkep.mgszh.gov.hu/egy_wfs.html Everything seems ok. But 2
> simple polygons are not on the map!
>
> FireBug shows the correct XML with coordinates of the polygons. But
why
> not they displayed?
>
>
> Thanks!
>
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list