Questions tagged [vertices]
Also known as a "nodes", the points specifically used to describe a polygon or polyline in a "vector" or "linestring" representation.
299
questions
0
votes
0
answers
17
views
How to change vertex order to a polyline in QGIS?
I'm trying to change the vertex order of a polyline in QGIS.
I have an existing polyline that's closed (last vertex = first vertex).
The starting point of this polyline is in a totally casual position....
0
votes
0
answers
21
views
QGIS - Insert vertices on the straight line of the sides of a polygon with a specified distance
I have a square polygon, which has four sides and four vertices at its corners. But I need to insert vertices on each of the sides with a specific distance interval (every 100 meters or every 250 ...
5
votes
2
answers
171
views
Ordering points when making line in QGIS Virtual Layer
I've got a QGIS point geometry layer with four point features and a numeric field sequence. I want to create a virtual layer joining these points into a line geometry layer (which will have one ...
0
votes
0
answers
32
views
Copy-Paste values in the vertex editor table
I have some polygons with z values for each node. However, there are a great number of nodes that don't have a value. I have to fill these nodes with a value, but I don't want to copy paste for each ...
3
votes
1
answer
143
views
Smoothing corners in polyline using PyQGIS
I have an array of QgsPointXY that makes a line with lots of vertices.
How can I round the corners?
Here is what I mean:
The code is:
def __round(line: list[QgsPoint], radius: float) -> ...
4
votes
2
answers
89
views
TypeError when extracting vertices based on selection in QgsProcessingFeatureSourceDefinition using PyQGIS
I want to extract 70% of the vertices based on a selection but I get the following error code:
Traceback (most recent call last):
File "C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib\code.py", ...
0
votes
0
answers
32
views
Automatically Locating Missing Vertices then creating on Adjacent Polygon or Polyline in QGIS
I have 2 polygons. After the simplification and alignment using Snap Geometries to Layer tool, I want to have same vertices on adjacent polygons or polylines.
Because of running the required tool, the ...
-1
votes
1
answer
152
views
QGIS new versions 3.28, 3.30... One part can not be selected, vertexes too, can't work with multi polygons, One part is "Hole lies outside shell"
I am currently stuck on working with polygons with QGIS versions from the new patches with the new styles (3.28, 3.30, maybe 3.26 too etc...)
When I used previous versions of QGIS, for instance 3.16 ...
0
votes
3
answers
56
views
Posting XY values near polygon vertices in ArcGIS Pro [closed]
I am trying to post in Map view (AGP) XY values near vertices of a polygon.
I have tried converting polygons to points but then it gives me only 1 point in the middle of the polygon, if however all ...
1
vote
0
answers
51
views
Automatically label vertices of a selected polygon in QGIS 3 Map composer
I am looking at how to automate my repetitive tasks.
So How can I automate the labeling of vertices of selected plot in QGIS3? And is it possible to have all the labels outside the polygon? See image ...
7
votes
3
answers
260
views
Mass removing vertices from line layer in QGIS
How do I remove all vertices except for the last 2 from a whole layer of lines?
Currently, for each line I have to right-click it, and then delete all vertices manually until I'm only left with 0,1. ...
2
votes
0
answers
36
views
Vertex pulling problem [closed]
I tried 3.18 , 3.22.8, 3.28.6 in QGIS versions, I have the same problem in all of them. When I pull the vertexes, sometimes it gets stuck like this, it selects other points. What is the reason for ...
2
votes
1
answer
172
views
In QGIS, accessing and modifying via Python the polygon vertices manually selected via Vertex Tool
Working with QGIS 3.28, I am trying to find out how could one use Python to access and modify the vertices of a polygon that were selected manually (via mouse) using the Vertex Tool.
Despite all my ...
0
votes
0
answers
43
views
Calculate distance matrix in km units not degrees
I need to calculate the distance of England crimes to the Uk coast. I have a shapefile of the outline of the coast and extracted the vertices. So then I can input the crimes to the coast in distance ...
5
votes
1
answer
93
views
Why angleAtVertex() returns different value than angle_at_vertex in Field Calculator using PyQGIS
When using
angle_at_vertex($geometry,0)
324.022
in the Field Calculator of QGIS the values seem correct from a visual check. However when using
feature.geometry().angleAtVertex(0)
5.616644978134382
...
1
vote
2
answers
123
views
Connecting the boundaries of two polygons
I have a number of polygons with a section of 'empty space' between them, like this:
They are set up on the same layer, with different entries in the attribute table.
I'm looking for a way to join ...
2
votes
1
answer
237
views
Extract vertex coordinates of a polygon on a map in QGIS
How can I extract the vertex coordinates of a polygon on a map into CSV using QGIS?
3
votes
1
answer
118
views
Assigning IDs in regular point layer using QGIS
I have a uniform point layer generated by using the Regular Points process. My goal is to connect (draw a line to join) a certain number of points in this points layer in a snake pattern.
My current ...
3
votes
1
answer
84
views
Create polygons from opened/overlapping lines
I have a huge amount of lines indicating boundaries of certains areas but they are most of time "opened" sometimes they do not have common vertices and sometimes are overlapping.
I want to ...
2
votes
2
answers
117
views
How to unsplit/dissolve/merge lines with correct start and end vertex?
I am trying to create stream polylines with ArcGIS 10.8 from several stream segments so that the first vertex of the resulting polyline is in the beginning of the stream polyline and the last vertex ...
3
votes
3
answers
168
views
Why simplify algorithm has no effect on input in QGIS?
I have a LineString layer that I need to reduce the number of vertices. For example, some straight lines have intermediate vertices that add no value and should be removed. A slight loss of accuracy, ...
2
votes
1
answer
104
views
Missing indices when extracting vertices and edges from polygon
Given a polygon with holes
from shapely.geometry import Polygon
import geopandas as gpd
# Polygon exterior:
p = [[20,767],[54,744],[107,707],
[190,654],[265,609],[363,548],
[462,484],[514,447],[603,...
0
votes
1
answer
267
views
Polygon to vertices and edge indices
Lets say we have a polygon and need the vertices and edges.
import geopandas as gpd
from shapely.geometry import Polygon
lat_point_list = [50.854457, 52.518172, 50.072651, 48.853033, 50.854457]
...
1
vote
0
answers
24
views
Creating lines with multiple vertices from CSV file in QGIS [duplicate]
I want to draw a line with the points as vertices, the stretch name is also given. This is merely a snippet of a larger dataset, is there any tool in QGIS which will convert these vertices into a ...
0
votes
0
answers
70
views
QGIS for mapping building vertices
Can QGIS be used to map a set of x, y points that layout a building?
And if so can it correct errors where vertices might be slightly out by pulling those which are close together?
I am considering ...
0
votes
0
answers
56
views
QGIS MultiLine split
I Have in QGIS 3.22 MultiLine vector layer with one feature.
In this one feature is two segments of lines, each has 6 vertexes.
I manipulated this feature by geometry generator and generated with:
...
5
votes
3
answers
362
views
Deleting vertices inside polygon area in QGIS
I am trying to remove vertices inside a polygon area which do not form an outside boundary to the polygon. Example picture below with the vertices to be removed in red markings.
Deleting the vertices ...
1
vote
1
answer
148
views
(QGIS) Unable to change shape of polygon
I am failing to change the shape of a polygon I just drew. I need to enlarge it by moving one or two vertices somewhere else. I have selected the shape, toggled edit mode on, selected the Edit Node ...
1
vote
0
answers
82
views
Taking vertices and using point to path creates a mess, how can I snap the lines to roads?
I’ve tried points to path (and various other processing tools) however I end up with this:
When really it should look more like this line string
(without the gaps separating chunks of road here and ...
1
vote
1
answer
120
views
How many vertices does a SDE.ST_GEOMETRY rectangle have?
SDE.ST_GEOMETRY; Oracle 18c; 10.7.1 EGDB
How many vertices does a SDE.ST_GEOMETRY rectangle have?
(Drawn using the rectangle construction tool in the Create Features pane in ArcMap 10.7.1.)
The ...
7
votes
1
answer
345
views
Looking for QGIS equivalent of ArcGIS streaming digitizing
I am trying to digitize in QGIS 3.14, and I have not been able to find an equivalent to the ArcGIS streaming tool. I was taught to digitize where (you trace the feature with your mouse and nodes are ...
2
votes
1
answer
124
views
QGIS focus multiple vertices in one point
I have a bunch of lines, which have been offset. The tool in fact works fine, but I noticed, that the lines end in different places, whereas I want them to be terminated in one place.
The image below ...
2
votes
0
answers
300
views
QGIS 3.22 vertex editor snapping placing vertices in wrong location
I've been having a strange issue with my vertex editor over the past couple of days. I am attempting to edit a polygon such that the borders of the polygon line up with a different line segment layer ...
1
vote
1
answer
400
views
Simplifying polygon to set number of vertices using ArcGIS Pro
I am working with ArcGIS Pro 2.3 (am able to upgrade to 2.8 if that brings in a new tool I need).
Is there a way to simplify a polygon feature class so each polygon has a maximum of 250 vertices?
...
2
votes
1
answer
109
views
Attribute rule works in Pro 2.9.2, but not in Pro 2.6.8 [closed]
I have a calculation attribute rule that works in Pro 2.9.2 (in a 2.9.2 FGDB). It updates the M-values of the polyline’s geometry:
function pythagoras(x1, y1, x2, y2) {
return sqrt(pow(x2 - x1, 2) ...
1
vote
1
answer
141
views
Set M-values as distance: Multipart M-values are set in descending order
I have a multipart polyline in an ArcGIS Pro 2.9.2 FGDB feature class (NAD83 UTM):
I can set the M-values to the cumulative distance of the line by using the Set As Distance tool (setting "...
5
votes
0
answers
193
views
QGIS geometry editing listener
I would like to know if it's ever possible to make a listener on geometry editing.
What I know so far is a geometryChanged signal that can be used in listening to layer when its feature's geometry is ...
0
votes
0
answers
120
views
Find polyline end vertex on polyline edge
I am looking for a basic or best approach to find any polyline End-vertex that falls on the polyline Edge. I have a set of polyline data that shows the flow of electricity based on the Start and End ...
3
votes
1
answer
53
views
Polygons from lines with manually completed lines using vertex tool and snapping
I have a vector layer of lines (contours) which was a model output. Some contours are incomplete due to land barriers (necessary for the model) which produces something like this
I have used the ...
5
votes
2
answers
422
views
Moving two layers with different geometry at once with snapped vertices in QGIS
I would like to be able to move two layers that look like you see below:
Basically, when I move the polygon object, to which the lines are snapped as a separate layer I want them to be intact at the ...
0
votes
0
answers
85
views
I cannot save vertex editing in QGIS 3.16
I am trying to adjust the vertex of polygons so ensure it matches the reference polygon layer. Snapping tool is ON, and tolerance is 6. However, after dragging the vertex of one polygon to the corner ...
1
vote
2
answers
106
views
QGIS: Bind polygon feature location to attributes
What I would like to achieve:
A polygon feature, where the location (x,y) of one vertice ("anchor vertice") is defined by two attributes, attr_x and attr_y. The remaining vertices should be ...
5
votes
3
answers
416
views
Mass editing of polygon vertices in shapefile in QGIS
I have a shapefile that contains 10s of thousands of individual four-sided polygons, so I have 5x that in vertices. I need to be able to update the coordinates of every single vertex based on a new ...
1
vote
1
answer
301
views
Query for ST_Geometry line vertices via a recursive SQL WITH clause?
I'm exploring ways to get ST_Geometry line vertices as individual rows in a query resultset (via Oracle SQL).
The reason being, ST_Geometry doesn't have a GetVertices function (see ESRI idea here).
...
1
vote
1
answer
181
views
Using line split (v.split) in QGIS
I’ve been trying to split lines with certain length to extract those vertices. Alt ought, when I try v.split and it creates a new shapefile, nothing is drawn and the attribute table is empty.
I had ...
1
vote
3
answers
270
views
ST_PointN equivalent in SDO_GEOMETRY?
In SDE.ST_GEOMETRY, we have a function called ST_PointN:
ST_PointN takes an ST_LineString and an integer index and returns a
point that is the nth vertex in the ST_LineString's path.
sde.st_pointn (...
1
vote
1
answer
97
views
Selecting column in data attribute table reliant from different column
I have the problem because after extracting vertices from my linear geometry layer I have so many duplicates in my data attribute table (taking into account a unique "ID" of each line). ...
1
vote
0
answers
57
views
Adding vertex without moving cursor
I am trying to add a vertex to a shape without moving the cursor. Using the vertex tool, I double left-click on the line and then left-click a third time. If it is a temporary scratch file, it works ...
6
votes
1
answer
698
views
Permanently viewing vertex of polygons in QGIS
I work with shapefiles in QGIS 3.20. I have many polygons and I need to see their vertices. How do I show the vertices on the polygons?
I have gaps between polygons shown by the topology checker. I ...
1
vote
1
answer
135
views
Split lines by minimum number of overlapping/shared vertices
I have a line layer converted from a polygon layer, and I do not know how to split the lines at vertices which overlap vertices of at least 2 other features. In the image below, I want to split the ...