[Cartoweb-users] Edit Plugin

Oliver Christen oliver.christen at camptocamp.com
Wed Oct 1 07:05:19 EDT 2008

thats normal.
editing a layer automaticaly activate it.

hit cancel and then manualy unselect the layer in the layer tree

if you want to deselect the layer on edit submit, you must extend the edit 
plugin so you can use the filter "layer_unselect" to deactivate the 
auto-activated layer.

if you are using cartoweb 3.4 there is a bug with map caching where the map 
image isnt always refreshed after edition, but the effect is usualy that the 
new point added doesnt show up on the image, which seems to be different 
from your problem. anyway, that bug was solved in cartoweb 3.5


> This is the configuration i have done in my project.
> In my map file i have defined several point layers and their data are 
> stored in shapefiles.
> Each of the layers is selectable from the Themes section.
> Also i have defined different icons for each layer.(in .png and .gif 
> format)
> Also, i have entered the data from the shapefiles into PostGis via 
> shp2pgsql.exe.
> The edit plugin reads and modifies the data in postgis.
> So,when i use the Edit plugin, I first unselect all layers from the Themes 
> section, and then choose
> which layer i want to edit from the dropdown list.
> The points of the layers immediatly appear on the map ,so i proceed with 
> the editing.
> When i finish editing i want the points of the layer i have just edited to 
> dissapear.
> If i choose to edit another layer,the points of the previous one are still 
> on the map!
> Even if i close the edit plugin (by pressing cancel on the Edit section) 
> and go for example in Themes section to
> choose another Layer to see,all layers previously choosen in Edit plugin 
> remain on the map!
> The only way to "close" theese layers is to reset the session.
> I hope this is a complete description of my problem.
> Thank you very much.
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users

More information about the Cartoweb-users mailing list