You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ORStools/proc/directions_lines_proc.py
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -87,14 +87,19 @@ def __init__(self):
87
87
self.setToolTip(self.PARAMETERS[0], "LineString or MultiLineString layer.")
88
88
self.setToolTip(
89
89
self.PARAMETERS[1],
90
-
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
90
+
self.tr(
91
+
"Values will transfer to the output layer and can be used to join layers or group features afterwards."
92
+
),
91
93
)
92
94
self.setToolTip(
93
-
self.PARAMETERS[2], self.tr("Dictates the cost. For longer routes don't use Shortest Path.")
95
+
self.PARAMETERS[2],
96
+
self.tr("Dictates the cost. For longer routes don't use Shortest Path."),
94
97
)
95
98
self.setToolTip(
96
99
self.PARAMETERS[3],
97
-
self.tr("You can optionally perform a Traveling Salesman on the waypoints of each MultiPoint feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest Advanced Parameters: see the documentation for descriptions."),
100
+
self.tr(
101
+
"You can optionally perform a Traveling Salesman on the waypoints of each MultiPoint feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest Advanced Parameters: see the documentation for descriptions."
Copy file name to clipboardExpand all lines: ORStools/proc/directions_points_layer_proc.py
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -95,18 +95,25 @@ def __init__(self):
95
95
self.setToolTip(self.PARAMETERS[0], self.tr("Point or MultiPoint layer."))
96
96
self.setToolTip(
97
97
self.PARAMETERS[1],
98
-
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
98
+
self.tr(
99
+
"Values will transfer to the output layer and can be used to join layers or group features afterwards."
100
+
),
99
101
)
100
102
self.setToolTip(
101
103
self.PARAMETERS[2],
102
-
self.tr("Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)."),
104
+
self.tr(
105
+
"Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)."
106
+
),
103
107
)
104
108
self.setToolTip(
105
-
self.PARAMETERS[3], self.tr("Dictates the cost. For longer routes don't use Shortest Path.")
109
+
self.PARAMETERS[3],
110
+
self.tr("Dictates the cost. For longer routes don't use Shortest Path."),
106
111
)
107
112
self.setToolTip(
108
113
self.PARAMETERS[4],
109
-
self.tr("You can optionally perform a Traveling Salesman Optimization on the waypoints of each (Multi)Point feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest."),
114
+
self.tr(
115
+
"You can optionally perform a Traveling Salesman Optimization on the waypoints of each (Multi)Point feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest."
Copy file name to clipboardExpand all lines: ORStools/proc/directions_points_layers_proc.py
+20-7Lines changed: 20 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -108,30 +108,43 @@ def __init__(self):
108
108
defaultValue=self.MODE_SELECTION[0],
109
109
),
110
110
]
111
-
self.setToolTip(self.PARAMETERS[0], self.tr("Only Point layers are allowed, not MultiPoint."))
111
+
self.setToolTip(
112
+
self.PARAMETERS[0], self.tr("Only Point layers are allowed, not MultiPoint.")
113
+
)
112
114
self.setToolTip(
113
115
self.PARAMETERS[1],
114
-
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
116
+
self.tr(
117
+
"Values will transfer to the output layer and can be used to join layers or group features afterwards."
118
+
),
115
119
)
116
120
self.setToolTip(
117
121
self.PARAMETERS[2],
118
-
self.tr("Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)"),
122
+
self.tr(
123
+
"Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)"
124
+
),
119
125
)
120
126
self.setToolTip(self.PARAMETERS[3], "Only Point layers are allowed, not MultiPoint.")
121
127
self.setToolTip(
122
128
self.PARAMETERS[4],
123
-
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
129
+
self.tr(
130
+
"Values will transfer to the output layer and can be used to join layers or group features afterwards."
131
+
),
124
132
)
125
133
self.setToolTip(
126
134
self.PARAMETERS[5],
127
-
self.tr("Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)"),
135
+
self.tr(
136
+
"Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)"
137
+
),
128
138
)
129
139
self.setToolTip(
130
-
self.PARAMETERS[6], self.tr("Dictates the cost. For longer routes don't use Shortest Path.")
140
+
self.PARAMETERS[6],
141
+
self.tr("Dictates the cost. For longer routes don't use Shortest Path."),
131
142
)
132
143
self.setToolTip(
133
144
self.PARAMETERS[7],
134
-
self.tr("Either 'row-by-row' until one layers has no more features or 'all-by-all' for every feature combination"),
145
+
self.tr(
146
+
"Either 'row-by-row' until one layers has no more features or 'all-by-all' for every feature combination"
147
+
),
135
148
)
136
149
137
150
# TODO: preprocess parameters to options the range cleanup below:
0 commit comments