Update Feature Geometry
update_feature_geometryReplace feature geometries in a QGIS layer by supplying feature IDs and WKT coordinates. Changes are undoable inside an edit session.
Instructions
Replace feature geometries. updates: [{fid: 1, geometry_wkt: 'POINT(1 2)'}]. WKT must be in the layer's CRS. Inside an edit session the change is undoable; otherwise it is written straight to the data source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | ||
| layer_id | Yes |