Hot answers tagged

46 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. ...
user avatar
  • 23k
30 votes
Accepted

How to randomly subset X% of selected points?

Here's a python function that will select random features in a layer based on percent, ignoring current selection: def SelectRandomByPercent (layer, percent): #layer variable is the layer name in ...
user avatar
30 votes
Accepted

How to display vertex markers in QGIS for non-editable layers?

No need to create a new layer. You can show your layer's vertices using the Outline: Marker line Symbol layer type. Just add a new symbol layer Add a new symbol layer; Choose Outline Marker line (...
user avatar
30 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
user avatar
  • 8,172
23 votes

How to undo misclicks while drawing a polygon?

The latest inserted vertices can be removed one by one by hitting either Del or BackSpace keys. It really seems to be undocumented in the current QGIS 2.2 manual at http://docs.qgis.org/2.0/en/docs/...
user avatar
  • 51.5k
20 votes

Recalculating full extent of File Geodatabase feature class?

Right-click the feature class in ArcCatalog and go to the Properties. In the Feature Extent tab, click on Recalculate. And voilà! I'm using ArcGIS 10.2.1
user avatar
18 votes
Accepted

PostgreSQL trouble editing points / lines / polygons in QGIS

Fixed. The problem was is no primary key. In pgAdmin do this request. ALTER TABLE tableName ADD PRIMARY KEY (id); Example for planet_osm_line table and setting osm_id column ,as primary key : ...
user avatar
  • 549
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 ...
user avatar
  • 3,507
16 votes
Accepted

Can PostGIS and QGIS provide dependable multi-user editing?

Since you're not worried about simultaneous edits on features, I'd say that in theory you have nothing to worry about. The main danger w/ QGIS is that simultaneous editors can stomp on each other's ...
user avatar
  • 19.3k
15 votes

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

Invert Feature Selection accessible by the toolbar is the feature you seek:
user avatar
  • 702
15 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.
user avatar
  • 3,507
14 votes

Create Features window disappeared?

There are two ways to get at the Create Features window from the Editor toolbar: 1) Start Editing. Right-click on toolbar and select "Editor" 2) In the editor toolbar: Editor > Editing Windows > ...
user avatar
  • 50.2k
14 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. ...
user avatar
13 votes

Editing X,Y of point in shapefile using ArcGIS for Desktop?

Start editing that shapefile, double click on said point, right click on point and "move to" and it will give you an option to type in the x and y coordinates for where you want to move the point to. ...
user avatar
  • 181
13 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 ...
user avatar
  • 6,427
12 votes

Extending line by adding point at end of it using QGIS?

What you seek can be done easily using the digitizing tools plugin. The plugin adds a new toolbar with a couple of new tools. The tool you need for this task is the amend line. It get active when you ...
user avatar
12 votes

PostgreSQL trouble editing points / lines / polygons in QGIS

The solution is to create a primary key, as already mentioned. But by design, osm2pgsql does not garantee that the osm_id is unique. It can produce several rows with the same osm_id. To edit ...
user avatar
  • 4,545
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. ...
user avatar
11 votes

Seeking online WKT editor?

Take a look at Wicket, it's awesome: http://arthur-e.github.io/Wicket/sandbox-gmaps3.html The demo sandbox might be enough for you, if not you could probably use it to develop a simple Javascript ...
user avatar
  • 359
11 votes
Accepted

Documenting inability to Start Editing SQLite geodatabase layers in ArcMap?

It's not strictly read-only access. You can load data via copy/paste and import into a SQLite or SpatiaLite database. Tables and feature classes can be appended to using append or Load Data. You can ...
user avatar
11 votes

Adding new record with specific coordinates into shapefile using ArcGIS for Desktop?

The location coordinates of your feature are stored in a geometry/shape field in the attribute table, not a text readable field you can adjust. You can store the coordinates as attributes, but they ...
user avatar
  • 15.5k
11 votes

Cut/Clip/Split a polygon with another polygon from same layer

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 ...
user avatar
  • 815
11 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[...
user avatar
11 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 ...
user avatar
  • 36.2k
11 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 ...
user avatar
11 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:
user avatar
  • 36.2k
10 votes

Create Features window disappeared?

In Windows explorer copy and paste the following location in the address bar and replace username with your username on the machine with the arcGIS install on it.: C:\Users\username\AppData\Roaming\...
user avatar
  • 1,933
10 votes

Adding new record with specific coordinates into shapefile using ArcGIS for Desktop?

The coordinates in the attribute table are numeric values that are not linked with the geometry. If you want to create a large number of points with exact coordinates, I suggest that you create a ...
user avatar
  • 48.5k
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.
user avatar
  • 472
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, ...
user avatar
  • 36.2k

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