[OpenLayers-Users] Google and WFS Overlay problem

2010-06-27 Thread Cecily
I am trying to add WFS to Google base layers, but failed. The problem may be Poxyhost setting, but I am not sure... I am just a beginner using OpenLayers. I really appreciate any help !! html xmlns=http://www.w3.org/1999/xhtml; head titleOpenLayers: Spherical Mercator/title link

Re: [OpenLayers-Users] Google and WFS Overlay problem

2010-06-27 Thread Carsten Eider
What about using internalProjection and externalProjection within WFS ? Am 27.06.2010 08:12, schrieb Cecily: I am trying to add WFS to Google base layers, but failed. The problem may be Poxyhost setting, but I am not sure... I am just a beginner using OpenLayers. I really appreciate any

Re: [OpenLayers-Users] parsing a GML file into different layers

2010-06-27 Thread Alex Brandsen
Hi Eric, thanks for your reply. I probably need to use OpenLayers. Format.GML.read() , but how do I then split the array it returns into different layers? Thanks, Alex. On Sat, Jun 26, 2010 at 7:12 AM, Eric Lemoine eric.lemo...@camptocamp.comwrote: On Friday, June 25, 2010, Alex Brandsen

Re: [OpenLayers-Users] parsing a GML file into different layers

2010-06-27 Thread Arnd Wippermann
Hi, something like this should work: var features = new OpenLayers.Format.GML().read(response); if(features) { if(features.constructor != Array) features = [features]; for(var i=0;ifeatures.length;i++) { var ftLyr = new OpenLayers.Layer.Vector(Feature + i);

Re: [OpenLayers-Users] Google and WFS Overlay problem

2010-06-27 Thread Ian Turton
On Sun, Jun 27, 2010 at 7:52 AM, Carsten Eider ei...@fh-bingen.de wrote:  What about using internalProjection and externalProjection within WFS ? Or using WFS version 1.1.0 and requesting the features in 900913 so they line up with Google? Ian -- Ian Turton

Re: [OpenLayers-Users] Google and WFS Overlay problem

2010-06-27 Thread Eric Lemoine
On Sunday, June 27, 2010, Ian Turton ijtur...@gmail.com wrote: On Sun, Jun 27, 2010 at 7:52 AM, Carsten Eider ei...@fh-bingen.de wrote:  What about using internalProjection and externalProjection within WFS ? Or using WFS version 1.1.0 and requesting the features in 900913 so they line up