diff --git a/python/plugins/processing/algs/qgis/ShortestPath.py b/python/plugins/processing/algs/qgis/ShortestPath.py index 2d3d00dcd47..8a07bd474bb 100644 --- a/python/plugins/processing/algs/qgis/ShortestPath.py +++ b/python/plugins/processing/algs/qgis/ShortestPath.py @@ -77,10 +77,6 @@ class ShortestPath(GeoAlgorithm): self.tr('Both directions'): QgsVectorLayerDirector.DirectionForward } - self.UNITS = {self.tr('Meters'): 1, - self.tr('Kilometers'): 1000 - } - self.name, self.i18n_name = self.trAlgorithm('Shortest path') self.group, self.i18n_group = self.trAlgorithm('Network analysis') @@ -117,7 +113,6 @@ class ShortestPath(GeoAlgorithm): self.tr('Topology tolerance'), 0.0, 0.0, 99999999.999999)) - for p in params: p.isAdvanced = True self.addParameter(p)