Re: [OpenLayers-Users] Trouble reading line features with format.GML

2009-06-16 Thread Andreas Hocevar
Hi, your response is not well formed, and the reason is that your typename contains a blank ("My Lines"). Rename it e.g. to "MyLines", and everything should be fine. Regards, Andreas. On Tue, Jun 16, 2009 at 1:15 AM, Phil Scadden wrote: > I am trying to read back which line features I have click

[OpenLayers-Users] Trouble reading line features with format.GML

2009-06-15 Thread Phil Scadden
I am trying to read back which line features I have clicked. This response code for a getfeatureinfo works fine for points, but having trouble with lines. if(request.responseText) { g = new OpenLayers.Format.GML(); var features = g.read(req