Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 1 down vote accepted

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.

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

Your Answer

 
discard

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.