Skip to main content
9 votes
Accepted

Analysing distance from coastline between two different datasets in QGIS

If you have a coastline layer, you can use the tool "Shortest line between features". Chose the point layer as input and the line layer as destination layer. The resulting layer contains the ...
Fjedsen's user avatar
  • 516
7 votes
Accepted

Counting points on line in QGIS

Use this expression: array_find ( array_sort( array_agg( line_locate_point( overlay_nearest('line', @geometry)[0], @geometry ...
Babel's user avatar
  • 74.9k
4 votes

Counting points on line in QGIS

You can use this expression on your line layer: array_length(overlay_nearest('powelineslayername', @id, max_distance:=<maximum distance>)) Preferably both layers are in the same CRS. The ...
MrXsquared's user avatar
  • 35.6k
2 votes
Accepted

Moving intersecting point at specific distance along line in QGIS

You can use QGIS expressions with Geometry by expression (see also here) and the function line_locate_point() to get the distance of the current point along the line and then create a new point with ...
Babel's user avatar
  • 74.9k
1 vote

Calculating the shortest path connecting multiple points (like TSP) on road network in QGIS

If you have GRASS installed you can use v.net.salesman: Creates a cycle connecting given nodes (Traveling salesman problem).
Bera's user avatar
  • 77.7k

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