| With a WMS request on a GeoTiff, using GetFeatureInfo I noticed that using info format:
You will see the FeatureType in the response, and thus you know which layer gave which result. As this will be the layer name. However using json or jsonp you will not see the layername back into the result. That's ok when you are doing a request on a single layer, but using a layergroup or a list of layers, you do not know which of the layers gave what response. My request is faitly simple. Add the layername to the result, just as you can find the layername in text/plain and html example text plain: ``` Results for FeatureType 'Waterdepth:T0010_NL': -------------------------------------------- GRAY_INDEX = 4.182868480682373 -------------------------------------------- Results for FeatureType 'Waterdepth:T0050_NL': -------------------------------------------- GRAY_INDEX = 4.19149112701416 -------------------------------------------- Results for FeatureType 'Waterdepth:T0100_NL': -------------------------------------------- GRAY_INDEX = 4.202965259552002 -------------------------------------------- Results for FeatureType 'Waterdepth:T0300_NL': -------------------------------------------- GRAY_INDEX = 4.215492248535156 -------------------------------------------- Results for FeatureType 'Waterdepth:T1000_NL': -------------------------------------------- GRAY_INDEX = 4.230008602142334 -------------------------------------------- ``` example result json/jsonp ``` { "type": "FeatureCollection", "totalFeatures": "unknown", "features": [{ "type": "Feature", "id": "", "geometry": null, "properties": { "GRAY_INDEX": 4.182868480682373 } }, { "type": "Feature", "id": "", "geometry": null, "properties": { "GRAY_INDEX": 4.19149112701416 } }, { "type": "Feature", "id": "", "geometry": null, "properties": { "GRAY_INDEX": 4.202965259552002 } }, { "type": "Feature", "id": "", "geometry": null, "properties": { "GRAY_INDEX": 4.215492248535156 } }, { "type": "Feature", "id": "", "geometry": null, "properties": { "GRAY_INDEX": 4.230008602142334 } }], "crs": null } ``` |