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

sacprasanna sacprasanna at gmail.com
Thu Apr 26 01:15:37 EDT 2012


Hi all, 

I am new to OpenLayers and I want to add the attribute data of a shape
file(WMS) to the webpage. I can add a GeoServer WMS to the website but not
attribute data.

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

Please give me some sample code.

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
Or should I create WFS?

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/attribute-data-of-a-shape-file-WMS-tp4929655p4929655.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list