New answers tagged

1 vote

Calculating interior angles of polygons or lines in QGIS

Currently working only for Single Part Polygons. There is "LF Tools " Plugin, that possesses the "Calculate polygon angles" tool for that. This algorithm calculates the inner and ...
user avatar
  • 24k
4 votes

Making middle point going on curve lines in QGIS

Use the "Interpolate point on line" tool from the Processing Toolbox (Ctrl+Alt+T): Choose your line layer, and then find "Edit" in the dropdown for Distance: Enter $length / 2 as ...
user avatar
  • 51.9k
5 votes
Accepted

Adding/concatenating multiple values in column when using line intersections in QGIS

Use the Field Calculator with this expression: array_to_string( array_sort( array_distinct( overlay_touches( layer:='lines_layer_name', --specify the name of your line layer ...
user avatar
  • 24k
4 votes

Use polygon lines to create masks

Even if it's located in Vector tools, you can extract the extent of your tile with this tool : "Extract layer extent". The result will be a rectangle (polygon) of the extent. Split this ...
user avatar
  • 12.1k
0 votes
Accepted

Extending lines to edge of polygon, but not where start/end point intersects another line

This is how I solved the problem. I am new to FME so excuse my termonology intersect tool with extended lines and original lines Line on line overlay with intersected layer and original lines. ...
user avatar
  • 438
0 votes

Extending lines to edge of polygon, but not where start/end point intersects another line

Frankly, this might be more complicated a solution in FME than I'd like. Here's a solution that gets us 90% of the way - but the last 10% I just can't see. Firstly, we need to know whether the end of ...
user avatar
  • 12.4k
1 vote

Getting centroids for multiple lines in QGIS

There is a possibility using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer.... Let's assume there is a polyline layer called 'lines_test2', see image below. ...
user avatar
  • 24k
0 votes

Add another set of coordinate values in the same point entity in QField (line start and end)

For a line type layer, with ESPG:4326, you can use: replace(geom_to_wkt(start_point($geometry),5),map('Point (','',' ',',',')','')) replace(geom_to_wkt(end_point($geometry),5),map('Point (','',' ',',',...
user avatar
2 votes

Getting line length of geometry of parent feature as default value in child feature in QGIS

update: answer below is only relevant when adding new features in child layer. Question has since been clarified to the child form that appears when adding feature to parent layer, and using a default ...
user avatar
  • 7,404
2 votes
Accepted

QGIS Offset Points by value

You can use the Expression String Builder on the Offset X, Y of the Label Placement using something like Array("distance",0). If the distance is in meters use Meters at Scale for example. ...
user avatar
  • 820
2 votes

Creating lines indicating the shortest distance points to line in QGIS

There is a plugin for QGIS called Networks and a function in it "Connect nodes to lines" does what you need. The plugin is accessible in the Processing Toolbox after its installation. There ...
user avatar
  • 1,420
2 votes
Accepted

Symbolizing line thickness by M-values

To do this : Go in the Layer Properties > Symbology tab Add a symbol layer (or use the default one) and select as Symbol layer type : Geometry Generator and as Geometry type Polygon / MultiPolygon ...
user avatar
  • 12.1k
4 votes
Accepted

Selecting the maximum value from series of polygons that intersect with line in QGIS

You can use "Select By Expression" with the following expression (replace 'Line' with the name of your line layer): array_first( array_reverse( array_agg( $id, ...
user avatar
  • 14.3k
2 votes

Selecting the maximum value from series of polygons that intersect with line in QGIS

The can be done through pyQGIS. The script below will need to be updated with your layer names, but the bones of the functionality in there. Hope this helps lines = QgsProject.instance()....
user avatar

Top 50 recent answers are included