[OpenLayers-Users] WFS giving me lip

Gissur Þórhallsson gissur at loftmyndir.is
Wed Feb 27 10:25:34 EST 2008


Okay, that was nothing short of embarrasingly simple :)

Thanks a lot, you just made my top 3 people of the month.

Kind regards,
Gissur

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: 27. febrúar 2008 15:18
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] WFS giving me lip

On Wed, Feb 27, 2008 at 03:07:19PM -0000, Gissur Þórhallsson wrote:
> Thanks for your comprehensive reply.
> 
> Why do you recommend using Vector features over WFS?
> 
> I would still have to populate the Vector feature with a call to my WFS server, and the way it looks to me, that could be something of a hassle. 
> 
> I was thinking of what you wrote regardin my document not being correctly parsed, so I tried pasting the output from geoserver that is failing to parse for me, which I can see using firebug, into http://openlayers.org/dev/examples/vector-formats.html and that worked fine.
> 
> So I'm thinking of folliwing your advice, but wondering is whether I can use Vector layers with a WFS data source consistently.

Yes. Just drop the 'featureClass' option off the definition of your
Layer.WFS.

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.1/1300 - Release Date: 26.2.2008 19:50
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.1/1300 - Release Date: 26.2.2008 19:50
 



More information about the Users mailing list