0

I have a view that matches my table. On it I have an Update trigger that normally allows me to update attributes such as geometry. But I can't update the geometry. I tried several thing but it didn't work.

with edit(table_view):
       table_view.updateFeature(feature) # Change attributes and geometry becomes null


table_view.dataProvider().changeGeometryValues(geom) #geom doesn't change
table_view.dataProvider().changeFeatures(hgt_change, hgt_geom_change) # attr and geom doesn't change

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.