Re: [OpenLayers-Users] request and parse GML

2009-11-19 Thread Barbara Fiederer
Hi Pedro, hi list, it might not be perfect, but this is how it works. Maybe it helps someone else. var filter = new OpenLayers.Format.Filter({version: "1.1.0"}); var xml = new OpenLayers.Format.XML(); var filter1 = new OpenLayers.Filter.Logical({ type: OpenLayers.Filter.Logical.OR,

Re: [OpenLayers-Users] request and parse GML

2009-11-18 Thread Pedro Baracho
On Wed, Nov 18, 2009 at 7:32 AM, Barbara Fiederer wrote: > var DBsellayer = new OpenLayers.Layer.Vector("WFS", { >strategies: [new OpenLayers.Strategy.Fixed()], >protocol: new OpenLayers.Protocol.WFS({ >url: "http://myDomain.com:8090

Re: [OpenLayers-Users] request and parse GML

2009-11-18 Thread Barbara Fiederer
Hi Pedro, hi list, thank you for answering my question. > Is your html code on the same domain of your data? In example: http:// > localhost:8080/mypage.html and http://localhost:8080. > If not you have to set OpenLayers.ProxyHost so you can request data > from other domains. I do use a proxy

Re: [OpenLayers-Users] request and parse GML

2009-11-12 Thread Pedro Baracho
I didn't really understand your problem. But as I see, your url property is wrong. You should use " http://myDomain.com:8090/geoserver/wfs"; , On Thu, Nov 12, 2009 at 6:15 AM, Barbara Fiederer wrote: >

[OpenLayers-Users] request and parse GML

2009-11-12 Thread Barbara Fiederer
Dear list, I've got problems with parsing a GML-Format. I do get two objects though from geoserver, as I filtered them. But I don't seem to be able to get the key:value-pairs either of the request or the parser (or both ;-)) set correctly. Can someone please help me use the namespace prefixes