[OpenLayers-Users] Openlayer
Tue Topholm
tt at sugee.dk
Sat Nov 24 14:35:02 PST 2012
You can't do that with openlayers, except with WFS-T
You will need to develop it. (simple solution here)
1. use getfeatureinfo (WMS request) on the feature, and extract the PK.
2. Delete the feature in the database with the PK you got above. (This
needs to be developed in some server side language)
3. Refresh the wms, and it would be removed.
--
Med venlig hilsen / Kind regards
Tue Topholm
Sugee
Tlf: +45 32 13 32 32
W: http://www.sugee.dk
2012/11/24 yassine bouderaa <bouderaa.yassine at gmail.com>
>
> Hi.
>
> I need to know how can I delete a feature from a wms layer loaded from a
> database postgres to geoserver and displayed using openlayer , I don’t want
> to delete a feature from a vector layer but from a wms .
>
> Thanks for ur help.
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121124/dbbfa928/attachment.html>
More information about the Users
mailing list