Calculating intersection angles of multiple polylines QGIS

preview_player
Показать описание
Calculating intersection angles of multiple polylines QGIS
Calculating intersection angles of multiple polylines QGIS

link site code :

Use the following expression in QGIS Expression Editor to first check if start_point($geometry) is the hub node (intersects the smaller buffer), and swap points if it isn't.

if(intersects(start_point($geometry), geometry(get_feature('BufferCenter', 'BufferId', "bufferid"))),
degrees(azimuth(start_point($geometry), end_point($geometry))),
degrees(azimuth(end_point($geometry), start_point($geometry)))
)
Рекомендации по теме