[OpenLayers-Users] attribute data of a shape file(WMS)
Imran Rajjad
rajjad at gmail.com
Thu Apr 26 01:52:09 EDT 2012
Hi,
add data of shape file to webpage? you want to show labels on the map or
the actual data behind features? For actual data you will need to make wfs
call with appropriate parameters .
regards,
Imran
On Thu, Apr 26, 2012 at 10:15 AM, sacprasanna <sacprasanna at gmail.com> wrote:
> 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.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
--
I.R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120426/d2a28122/attachment.html
More information about the Users
mailing list