Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

The GetFeature control does not work for WMS GetFeatureInfo. The WMSGetFeatureInfo control does. See for an example.

share|improve this answer
That is the link that I have added in my question – Sam007 May 17 '12 at 16:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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