[Belgium] OpenLayers 3 : WMSGetFeatureInfo : Get WMS Layer Name

Jonathan Beliën jbelien at gmail.com
Mon Apr 25 02:22:41 PDT 2016


Hi Oliver,

The GetFeatureInfo GML output is standard output from MapServer :

[image: Capture.PNG]
Thanks for your help.


Jonathan

Le ven. 22 avr. 2016 à 20:59, Oliver May <oliver.may at dfc.be> a écrit :

> Hi Jonathan,
>
> I depends a bit on the WMS implementation, in the past I used a server
> that returned features from all layers.
>
> cheers,
>
> Oliver
>
> 2016-04-22 12:25 GMT+02:00 Jonathan Beliën <jbelien at gmail.com>:
>
>> Hi everyone,
>>
>> As I said in my presentation a few days ago I'm switching omfr Leaflet to
>> OpenLayers3.
>>
>> I use « ol.format.WMSGetFeatureInfo().readFeatures() » to get features
>> from WMS service and it worked very well but I do a GetFeatureInfo (GML) on
>> one service with mutliple layers I’d like to know from wich wms layer my
>> feature comes from.
>>
>> Is it possible ?
>>
>>
>> Thanks a lot,
>>
>> Have a great day.
>>
>> Jonathan Beliën
>>
>> _______________________________________________
>> Belgium mailing list
>> Belgium at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/belgium
>>
>>
>
>
> --
> Oliver May
>
> *DFC Software Engineering *
>
> Brugsesteenweg 587
> 9030 Gent
> T: +32 (0)484 97 77 70
> F: +32 (0)9 236 54 12
>
> W: http:// <http://goog_1066188553>www.dfc.be
>
> Skype: skype://dfc.olivermay
>
> Twitter: olivermay_be
>
>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.osgeo.org/pipermail/belgium/attachments/20160425/5136acc0/attachment-0001.html>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: Capture.PNG
Type: image/png
Taille: 27696 octets
Desc: non disponible
URL: <http://lists.osgeo.org/pipermail/belgium/attachments/20160425/5136acc0/attachment-0001.png>


More information about the Belgium mailing list