Having a problem trying to get WMSGetFeatureInfo to work in openlayers - running off of Geoserver (http://gisnexus.com/cmha/cmha_site_test.html) you click on any feature, it shows as if the layer is being read from opengeospatial.net - but nowhere in the code does it call out to it!
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
|
WMSGetFeatureInfo is to retrieve information from a WMS server. (http://dev.openlayers.org/releases/OpenLayers-2.11/doc/apidocs/files/OpenLayers/Control/WMSGetFeatureInfo-js.html) I you want WFS information you need to use GetFrature control: http://dev.openlayers.org/releases/OpenLayers-2.11/doc/apidocs/files/OpenLayers/Control/GetFeature-js.html Check you are using the right control. |
|||
|
|