Class: QgsNetworkDistanceStrategy

Strategy for calculating edge cost based on its length.

Should be used for finding shortest path between two points.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.analysis.QgsNetworkDistanceStrategy

Base classes

QgsNetworkStrategy

Defines strategy used for calculation of the edge cost in networks.

class qgis.analysis.QgsNetworkDistanceStrategy[source]

Bases: QgsNetworkStrategy