Ok since my previous problem of overlaying WFS onto WMS is still unsuccessful, I though was able to overlay the WMS instead with this code,

{layers: 'iPlant:AllQuebecSpecies', transparent: true}

So now I wanted to know can I use the openlayers get-feature example to obtain info from the WMS or does it work only for WFS?


The GetFeature control does not work for WMS GetFeatureInfo. The WMSGetFeatureInfo control does. See http://www.openlayers.org/dev/examples/getfeatureinfo-control.html for an example.

  • That is the link that I have added in my question
    – Sam007
    May 17 '12 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.