PyQGIS: Measure the Distance Between Geometries
This tutorial will demonstrate how to measure the distance between two geometries in QGIS using Python. First we will measure the distance between points in the same layer. Then we will measure the distance between features in a points layer and a lines layer.