Skip to main content
47 votes

Using QGIS vertex editor?

In QGIS 3.0, the vertex tool (same as node tool from QGIS 2.x) works a bit differently. Whether this is an improvement or not is a matter of opinion. It certainly takes a bit of getting used to. ...
csk's user avatar
  • 24.9k
31 votes
Accepted

How to add a node/vertex in a QGIS edit session?

With the Node tool (called the Vertex Editor in QGIS 3.0+) selected, simply double-click on a line segment you want to add a node to
HDunn's user avatar
  • 8,666
19 votes
Accepted

Is it possible to disable editing for certain layers in a QGIS project?

It is possible to make a layer not editable in a specific project. Open Project properties > Data sources and check the option Read Only for the layers that you want to make not editable.
Val P's user avatar
  • 3,878
18 votes

Is there a quick way to invert a node selection in QGIS?

The feature you seek is Invert Feature Selection accessible by the toolbar: or via the menus, Edit > Select > Invert Feature Selection
ak112358's user avatar
  • 812
17 votes

Reshaping Feature using QGIS

In QGIS you have a reshape tool: Reshape Feature in the Advance Digitising Toolbar. This is the icon of the tool Like in ArcGIS, selecting the line that you want to reshape, use the tool to draw ...
Val P's user avatar
  • 3,878
16 votes

Drawing line with specified length using QGIS?

You need to use Advanced Digitize tool which gives you the ability to specify the length and angle also. If the tool is not enabled, then you can enable it from View -> Panels -> Advanced ...
ahmadhanb's user avatar
  • 41.1k
15 votes
Accepted

Edit duplicate layer only in QGIS

No, because duplicate layers share the same data source. I recommend to 'save layer as...' with option 'add saved layer to project' checked. This copy you may edit without changing the source layer. ...
Jochen Schwarze's user avatar
14 votes
Accepted

Drag multiple vertices of different line features in QGIS

Possible workaround, maybe good as just temporary solution for few data: Enable snapping (Settings --> Snapping Options...). Set snap to vertex and set some tolerance. Create a "dummy" line feature ...
Oto Kaláb's user avatar
  • 6,925
13 votes

Cutting/Clipping/Splitting polygon with another polygon from the same layer in QGIS

You can substract (clip) a polygon from another of the same layer by using the plugin Clipper. You have to choose the polygon you want to clip and then you do Vector->Clipper->Clip and the plugin ...
geoSAM's user avatar
  • 875
13 votes
Accepted

Voronoi Diagram on a given polygon using QGIS

You can use the v.voronoi tool from GRASS to create voronoi polygons, and it will enables you to specify an extent based on layer extent:
ahmadhanb's user avatar
  • 41.1k
13 votes
Accepted

Toggle editing on Virtual Layer in QGIS

No, you can not edit a virtual layer this way. This is because a virtual layer is just a query on other layers. So you either need to edit the layers the virtual layer is based on, or save the virtual ...
MrXsquared's user avatar
  • 34.9k
12 votes
Accepted

Alternative to 'Editors Merge' feature using ArcPy

You could use the arcpy.Geometry() object's .union() method: >>> g1, g2 = [f[0] for f in arcpy.da.SearchCursor("BufferedPoints","SHAPE@")] >>> g1 <Polygon object at 0x1929f830[...
Alex Tereshenkov's user avatar
12 votes
Accepted

How to work on downloaded copies of database tables in QGIS

QGIS comes with "offline editing" functionality in core. This downloads the data to a local spatialite database, so you can work on an offline copy and the delay caused by network roundtrips is gone. ...
Matthias Kuhn's user avatar
12 votes
Accepted

Does GeoPackage support simultaneous editing?

I have no technical background on how Geopackage works internally, so after searching for information on the simultaneous editing capabilities of Geopackage and barely finding anything conclusive, I ...
Jorge Toledo's user avatar
11 votes

How to edit geometry of multiple layers simultaneously in QGIS 3?

(QGIS 3.4.1) Make sure all layers you want to edit have editing toggled on. Using the vertex tool in the digitizing toolbar, ensuring the option for 'All layers' is selected from the dropdown next to ...
Matt's user avatar
  • 17.5k
11 votes

Voronoi Diagram on a given polygon using QGIS

You can do this simply, by adjusting the buffer. Here is an example. The following polygon and points layers would normally result in the problem you illustrate in your question. When running the ...
jcarlson's user avatar
  • 3,900
10 votes

Changing value of attribute of QgsFeature using PyQGIS

To update a feature in PyQGIS, you can use the attribute name, as in feature['state'] = 'DONE', instead of the field index. It is much more readable. layer = iface.activeLayer() features = layer....
jgrocha's user avatar
  • 5,435
10 votes
Accepted

Is there a shortcut to create only right angles while editing?

You can do this by selecting the drop down beside the trace tool in your Editor toolbar and selecting the right angle option as shown in the image below.
hherrmann's user avatar
  • 470
10 votes
Accepted

How can I enable topological editing in QGIS 3

In QGIS 3.4 you may need to enable Snapping toolbar by right-click the main menu bar and select Snapping toolbar, and you will find this menu: The last three icons are Enable Topological Editing, ...
ahmadhanb's user avatar
  • 41.1k
10 votes

Seeking tutorials online explaining how to draw squares (having specific length) in QGIS?

When you try to create a new polygon, you can use the Advanced Digitizing, Remember the tool don't work with geographic coordinates. Click in Toogle Editing. Click in add polygon feature. Click in ...
Jhon Galindo's user avatar
10 votes

Is it possible to disable editing for certain layers in a QGIS project?

You can also use one line python script. Select a layer and run the script: iface.activeLayer().setReadOnly(True) According to the documentation, if the layer is in editing, it returns False.
Kadir ┼×ahbaz's user avatar
10 votes
Accepted

Creating circle using QGIS

Create a new polygon layer and select it Enable Editing Mode Draw your shapes
MrXsquared's user avatar
  • 34.9k
9 votes

Shape layer turns non-editable if saved filtered

QGIS disables editing of filtered shapefiles for the sake of data safety. Remember that shapefiles use an outdated dbase storage format, with little effort to allow keeping track of data integrity. ...
AndreJ's user avatar
  • 76.7k
9 votes

Why is my attribute table edit button greyed out?

This can happen if you don't have permission to edit the layer. Outside of QGIS, open the folder that the layer is in, right-click on the layer, and open Properties > Security. Where it says "...
csk's user avatar
  • 24.9k
9 votes
Accepted

File stubbornly refuses to allow me to edit in QGIS

Extract it from the zip - zipped shapefiles are read only in QGIS
ndawson's user avatar
  • 27.7k
9 votes
Accepted

Updating the attribute table of feature using PyQGIS

You need to update the layer with the new feature values using: layer.updateFeature(feature) So it should look something like: layer = iface.activeLayer() selected_feature = layer.selectedFeatures() ...
Joseph's user avatar
  • 76k
9 votes

QGIS edit toggle does not work with ANY layers I bring in (as shapefile)

I have found this to be the case for .shp files exported from AutoCAD - to get around this, I export the shape file again as a shape file from QGIS (right click on the layer item, save as...). After ...
miln40's user avatar
  • 1,121
9 votes
Accepted

Copy attributes from one feature to empty row of another feature in QGIS 3

Yes, there is. It's the 'Merge Attributes of Selected Features' button. First you need to enable the Advanced Digitising toolbar (View > Toolbars > Advanced Digitising). Then enable editing on your ...
she_weeds's user avatar
  • 12.6k
9 votes

Toggle editing on Virtual Layer in QGIS

To complete the other answer If you edit the source layer the virtual layer should update. If you use a database as a source you may create an editable view (see this question for exemple) but keep ...
J.R's user avatar
  • 16.6k
9 votes
Accepted

Deleting more than one node at once in QGIS

You can edit the layer, then select the vertex tool, then draw a box, then hit delete
JGH's user avatar
  • 42.3k

Only top scored, non community-wiki answers of a minimum length are eligible