2

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?

1 Answer 1

2

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.

1
  • That is the link that I have added in my question
    – Sam007
    Commented May 17, 2012 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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