16 #ifndef QGSNETWORKSPEEDSTRATEGY_H 17 #define QGSNETWORKSPEEDSTRATEGY_H 20 #include "qgis_analysis.h" 44 double mToMetricFactor;
48 #endif // QGSNETWORKSPEEDSTRATEGY_H QgsNetworkStrategy defines strategy used for calculation of the edge cost. For example it can take in...
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Strategy for calculating edge cost based on travel time. Should be used for finding fastest path betw...
virtual QVariant cost(double distance, const QgsFeature &f) const =0
Returns edge cost.
virtual QSet< int > requiredAttributes() const
Returns a list of the source layer attributes needed for cost calculation.