Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-15 Thread Fabio D'Ovidio
Hello, my final function is: function test3 () { OpenLayers.Format.GeoRSS.prototype.xy = true; var req = http://127.0.0.1:8085/servlet/georssProxy?;; var new1 = new OpenLayers.Layer.GML(GeoRSS, req, {format: OpenLayers.Format.GeoRSS});

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-14 Thread Fabio D'Ovidio
Christopher Schmidt ha scritto: I didn't suggest using a Layer.GeoRSS. I suggested using a Layer.GML with a Format.GeoRSS. Regards, Hi! I'm trying as following: function test3 () { var urlObj = http://127.0.0.1:80/myapp.php?;; var test = new

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-14 Thread bartvde
Fabio, leave out the new keyword before OpenLayers.Format.GeoRSS. Wrt proxy, please read: http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#HowdoIsetupaProxyHost Best regards, Bart Christopher Schmidt ha scritto: I didn't suggest using a Layer.GeoRSS. I suggested using a Layer.GML

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-14 Thread Fabio D'Ovidio
Hi! If I try like this from localhost:8080: function test3 () { var urlObj = http://localhost/georssFeed.php?list=2,3;; OpenLayers.Format.GeoRSS.prototype.xy = true; var new1 = new OpenLayers.Layer.GML(GeoRSS, urlObj, {format: OpenLayers.Format.GeoRSS});

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-13 Thread Fabio D'Ovidio
2008/7/12 Christopher Schmidt [EMAIL PROTECTED]: On Fri, Jul 11, 2008 at 04:37:40PM +0200, Fabio D'Ovidio wrote: I have a vector Layer on the map. I fill it with a feature read using Format.GeoRSS parser Why? That's more difficult than what I mentioned, which does all that for you and

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-13 Thread Christopher Schmidt
On Sun, Jul 13, 2008 at 10:45:51AM +0200, Fabio D'Ovidio wrote: 2008/7/12 Christopher Schmidt [EMAIL PROTECTED]: On Fri, Jul 11, 2008 at 04:37:40PM +0200, Fabio D'Ovidio wrote: I have a vector Layer on the map. I fill it with a feature read using Format.GeoRSS parser Why? That's

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-12 Thread Christopher Schmidt
On Fri, Jul 11, 2008 at 04:37:40PM +0200, Fabio D'Ovidio wrote: I have a vector Layer on the map. I fill it with a feature read using Format.GeoRSS parser Why? That's more difficult than what I mentioned, which does all that for you and saves you the effort of mucking with HTTP requests. If

[OpenLayers-Users] read Format.GeoRSS from http request

2008-07-11 Thread Fabio D'Ovidio
Hi! I know I can read Georss from url like in the examples using Layer.GeoRSS. Now I am using OpenLayers.Format.GeoRSS because I need to insert GML in the RSS envelop returned from GeoServer as WFS 1.0.0 request Now, thi is my code: vectors = new OpenLayers.Layer.Vector(Vector Layer);

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-11 Thread Christopher Schmidt
On Fri, Jul 11, 2008 at 12:50:32PM +0200, Fabio D'Ovidio wrote: Hi! I know I can read Georss from url like in the examples using Layer.GeoRSS. Now I am using OpenLayers.Format.GeoRSS because I need to insert GML in the RSS envelop returned from GeoServer as WFS 1.0.0 request Now, thi is my

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-11 Thread Fabio D'Ovidio
Hi and Thanks for the replay. I tryed but it didn't work. the code is: var urlObj = myurl var features = new OpenLayers.Layer.GML(GeoRSS, urlObj, {format: OpenLayers.Format.GeoRSS});

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-11 Thread Christopher Schmidt
On Fri, Jul 11, 2008 at 03:24:37PM +0200, Fabio D'Ovidio wrote: Hi and Thanks for the replay. I tryed but it didn't work. the code is: var urlObj = myurl var features = new OpenLayers.Layer.GML(GeoRSS, urlObj, {format:

Re: [OpenLayers-Users] read Format.GeoRSS from http request

2008-07-11 Thread Fabio D'Ovidio
Hi! Christopher Schmidt ha scritto: On Fri, Jul 11, 2008 at 03:24:37PM +0200, Fabio D'Ovidio wrote: Hi and Thanks for the replay. I tryed but it didn't work. the code is: var urlObj = myurl var features = new