3liz / lizmap-docker-compose

Run Lizmap stack with docker-compose
31 stars 42 forks source link

Can't activate "edition" mode #18

Closed katagen closed 2 years ago

katagen commented 3 years ago

Hello, I created a QGIS projet, with only an orthophoto and a Spatialite layer (points). I can't activate the "edition" mode in my Lizamp client web.

I can see the orthophoto, also see the point layer, check the attribute table... But I can't find the way to add new points, or delete them?!?

In QGIS, server option, I checked the WFS to be editable in update, delete and add. I also have a primary key. In Lizamp plugin, I selected the layer, checked "create", "edit attribute" "delete" and " edit geometry". I aslo gave permission to the "users" group. In Lizmap admin panel, I give permissions to update the layer to the "users" group.

But I see nowhere the "edition" tool? Did I something wrong?

dmarteau commented 3 years ago

That's seems to be more a lizmap issue than a docker issue. You should consider addressing the problem here: https://github.com/3liz/lizmap-web-client

katagen commented 3 years ago

Not sure, depends if the php for sqlite is activated in the present docker container! https://docs.3liz.com/en/install/linux.html#spatialite

ygorigor commented 2 years ago

https://github.com/3liz/lizmap-plugin/pull/364

Gustry commented 2 years ago

As mentioned by @ygorigor, the spatialite editing capabilities has been disabled in the lizmap QGIS plugin.