[OpenLayers-Users] Re: attribute data of a shape file(WMS)

chamara prasanna sacprasanna at gmail.com
Thu Apr 26 07:39:57 EDT 2012


>
> I think i use wrong word to describe my problme.So i will ask again,Really
> sorry for mistake


 I am new to OpenLayers and I want to add
OpenLayers.Control.WMSGetFeatureInfo to get feature

info to website.But i can't figure out right method.

I also see the source code of GeoServer OpenLayers page and still I can't
find the syntax of OpenLayers.Control.WMSGetFeatureInfo code?

I use geoserver,apache-tomcat-6.0.35 and open layer 2.10.Should i use proxy
to call OpenLayers.Control.WMSGetFeatureInfo?

This is my GeoServer WMS URL:

http://localhost:8080/geoserver/sac/wms?
service=WMS&
version=1.1.0&
request=GetMap&
layers=sac:contour&
styles=&
bbox=187754.5,204980.703125,192031.40625,210022.890625&
width=434&height=512&s
rs=EPSG:5235&
format=application/openlayers

Pls give me sample code which calling OpenLayers.Control.WMSGetFeatureInfo?
Thank you.

>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120426/89f2a71f/attachment.html


More information about the Users mailing list