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 <[email protected]>

>
> 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to