In QGIS 3 does anyone know how to copy the geometry of one feature and paste it into another selected feature to just override the geometry? Within postgis I did this with an update, but I'm looking for a visual way in QGIS. Simply copy and paste. The only solution I found, is to insert the copy of a feature as a new entry, edit the missing attributes and delete the old one.
not so visual, but it works
- Select feature, copy it
- Paste in a text doc, remove all except WKT geom
- Add stuff around your WKT:
geom_from_wkt('YOUR WKT GEOM HERE')
- Select feature to replace geometry
- Use resulting line in Field calculator to replace geometry with a new one (text from 3)