Re: [OpenLayers-Users] Format WMSGetFeatureInfo response

2010-03-15 Thread Robert Sanson
Hi Piero The returned data will be in the response.responseText. You need to parse this text with Javascript to get your values. eg. var postcode = "http://ws-esrimt/arcgis/services/mapservice/MapServer/WMSServer?service=WMS&version=1.1.1&request=GetFeatureInfo&QUERY_LAYERS=5&INFO_FORMAT=t

Re: [OpenLayers-Users] Format WMSGetFeatureInfo response

2010-03-15 Thread Piero Campa
Hi, I insert myself in the topic for a little question: I can't understand how to read the content of the HTTP response which contains the WMS feature info. Is it a field in the variable controlInfo or whatelse? Thank you guys. =) Piero -- View this message in context: http://n2.nabble.com/Fo

Re: [OpenLayers-Users] Format WMSGetFeatureInfo response

2009-07-02 Thread Max Stephan
Hey michogar, I haven“t seen your method of performing a wmsgetfeatureinfo yet. I only know the method which is used in the geoserver-mappreviews as well which looks like this for example: map.events.register('click', map, function (e) { document.getElemen

Re: [OpenLayers-Users] Format WMSGetFeatureInfo response

2009-07-02 Thread Micho Gar
The problem is the format wich my server return the data. Now I put in the options infoFormat='text/plain'. infoControls = { click: new OpenLayers.Control. > > WMSGetFeatureInfo({ > url: 'http://localhost:8080/geoserver/wms', > title: 'Identifica las f

[OpenLayers-Users] Format WMSGetFeatureInfo response

2009-07-02 Thread Micho Gar
Hi all, I have a wmsgetfeatureinfo control in my map. This is the code I use to make it: infoControls = { click: new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://localhost:8080/geoserver/wms', title: 'Identifica las features por click',