Skip to content

Commit b2a01c5

Browse files
committedDec 13, 2016
[processing] rename network analysis algs to reflect their inputs type
1 parent ce342b0 commit b2a01c5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
 

‎python/plugins/processing/algs/qgis/QGISAlgorithmProvider.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@
184184
from .BasicStatistics import BasicStatisticsForField
185185
from .Heatmap import Heatmap
186186
from .Orthogonalize import Orthogonalize
187-
from .ShortestPath import ShortestPath
188-
from .ServiceArea import ServiceArea
187+
from .ShortestPathPointToPoint import ShortestPathPointToPoint
188+
from .ServiceAreaFromPoint import ServiceAreaFromPoint
189189

190190
pluginPath = os.path.normpath(os.path.join(
191191
os.path.split(os.path.dirname(__file__))[0], os.pardir))
@@ -251,7 +251,7 @@ def __init__(self):
251251
ExtractSpecificNodes(), GeometryByExpression(), SnapGeometriesToLayer(),
252252
PoleOfInaccessibility(), CreateAttributeIndex(), DropGeometry(),
253253
BasicStatisticsForField(), RasterCalculator(), Heatmap(),
254-
Orthogonalize(), ShortestPath(), ServiceArea()
254+
Orthogonalize(), ShortestPathPointToPoint(), ServiceAreaFromPoint()
255255
]
256256

257257
if hasMatplotlib:

‎python/plugins/processing/algs/qgis/ServiceArea.py renamed to ‎python/plugins/processing/algs/qgis/ServiceAreaFromPoint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
"""
44
***************************************************************************
5-
ServiceArea.py
5+
ServiceAreaFromPoint.py
66
---------------------
77
Date : December 2016
88
Copyright : (C) 2016 by Alexander Bruy
@@ -56,7 +56,7 @@
5656
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]
5757

5858

59-
class ServiceArea(GeoAlgorithm):
59+
class ServiceAreaFromPoint(GeoAlgorithm):
6060

6161
INPUT_VECTOR = 'INPUT_VECTOR'
6262
START_POINT = 'START_POINT'
@@ -85,7 +85,7 @@ def defineCharacteristics(self):
8585
self.tr('Fastest')
8686
]
8787

88-
self.name, self.i18n_name = self.trAlgorithm('Service area')
88+
self.name, self.i18n_name = self.trAlgorithm('Service area (from point)')
8989
self.group, self.i18n_group = self.trAlgorithm('Network analysis')
9090

9191
self.addParameter(ParameterVector(self.INPUT_VECTOR,

‎python/plugins/processing/algs/qgis/ShortestPath.py renamed to ‎python/plugins/processing/algs/qgis/ShortestPathPointToPoint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
"""
44
***************************************************************************
5-
ShortestPath.py
5+
ShortestPathPointToPoint.py
66
---------------------
77
Date : November 2016
88
Copyright : (C) 2016 by Alexander Bruy
@@ -55,7 +55,7 @@
5555
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]
5656

5757

58-
class ShortestPath(GeoAlgorithm):
58+
class ShortestPathPointToPoint(GeoAlgorithm):
5959

6060
INPUT_VECTOR = 'INPUT_VECTOR'
6161
START_POINT = 'START_POINT'
@@ -85,7 +85,7 @@ def defineCharacteristics(self):
8585
self.tr('Fastest')
8686
]
8787

88-
self.name, self.i18n_name = self.trAlgorithm('Shortest path')
88+
self.name, self.i18n_name = self.trAlgorithm('Shortest path (point to point)')
8989
self.group, self.i18n_group = self.trAlgorithm('Network analysis')
9090

9191
self.addParameter(ParameterVector(self.INPUT_VECTOR,

0 commit comments

Comments
 (0)
Please sign in to comment.