Re: [OpenLayers-Users] Problems implementing WFS

2010-01-28 Thread Maxime Phaneuf
Hi, You are surely using the minified version of OpenLayers. If you are using this version, you won't be able to use the method Alexandre described. Be sure to use lib/OpenLayers.js, this one is not minified. Maxime -- View this message in context: http://n2.nabble.com/Problems-implementing-WF

Re: [OpenLayers-Users] Problems implementing WFS

2010-01-26 Thread Rohala Delpak
Hi , How you solve your problem ? i have same problem as you. please explain steps that how you insert breakpoint in firebug? i have installed Firebug latest version with Firefox. Thanks in advance -- View this message in context: http://n2.nabble.com/Problems-implementing-WFS-tp3176672p44636

Re: [OpenLayers-Users] Problems implementing WFS

2010-01-26 Thread Rohala Delpak
Hi, I have same problem with namespace settings. (same as Hugo problem!). Now i have firebug extension (version 1.5.0) with firefox 3.5 , but how i can go to the lib/OpenLayers/Format/XML.js file and put breakpoint ? when i visit openlayer application, in firebug i just see openlayers.js script

Re: [OpenLayers-Users] Problems implementing WFS

2009-07-29 Thread Alexandre Dube
Hi, See below. Maxime Phaneuf wrote: > I've compared this to the GML Insert you send to TinyOWS in > http://dev4.mapgears.com/bdga/bdgaWFS-T.html and it looks alike. > > This is the answer I received from TinyOWS: > > xmlns='http://www.opengis.net/ows' > xmlns:ows='http://www.opengis.net/ows

Re: [OpenLayers-Users] Problems implementing WFS

2009-07-28 Thread Maxime Phaneuf
Hi again, Thank you Alexandre. Yes It helped me. I was just being dumb I think. The namespace got detected by OL since the prefix was the same in the server response. So now I can modify and delete features. But I cannot insert new features to the postgis database. This is the GML insert openlay

Re: [OpenLayers-Users] Problems implementing WFS

2009-07-28 Thread Alexandre Dube
Hi, Yes, this looks like a namespace problem. With firebug, go to the lib/OpenLayers/Format/XML.js file, in the readNode function at line : var group = this.readers[this.namespaceAlias[node.namespaceURI]]; and put a breakpoint there. You'll understand what's going on and also what namespac

Re: [OpenLayers-Users] Problems implementing WFS

2009-07-27 Thread Maxime Phaneuf
Hi guys I've got the same problem as Hugo. My WFS layer would not appear on the map, even though I've got a ok server response. My layer looks like this: wfs = new OpenLayers.Layer.Vector("France", { strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],

Re: [OpenLayers-Users] Problems implementing WFS

2009-07-01 Thread Hugo
Hi Alexandre, Thanks for your help. Indeed it was a problem with the namespace. A dummy mistake :) Kind regards, Hugo Martins On Tue, Jun 30, 2009 at 1:00 PM, Alexandre Dube wrote: > Hi Hugo, > > This looks like a feature namespace problem. See the Format.XML readNode > function, put a brea

Re: [OpenLayers-Users] Problems implementing WFS

2009-06-30 Thread Alexandre Dube
Hi Hugo, This looks like a feature namespace problem. See the Format.XML readNode function, put a break point at line : var group = this.readers[this.namespaceAlias[node.namespaceURI]]; This might be the problem, Alexandre Hugo wrote: > Hello all, > > I'm having troubles to implement a v

[OpenLayers-Users] Problems implementing WFS

2009-06-29 Thread Hugo
Hello all, I'm having troubles to implement a vector layer with WFS protocol. From firebug i can see that the attributes from the layer are extracted, however no vector feature is displayed in the map. DO you have any suggestions??? My code is as follows: var saveStrategy = new OpenLayers.Strateg