[needs-docs]Set the service area algorithms speed to 50km/h

using the same value as the "Shortest Path" algorithms
This commit is contained in:
Harrissou Sant-anna 2019-08-26 22:43:31 +02:00 committed by Nyall Dawson
parent 983b5f6068
commit 58cc42a747
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ class ServiceAreaFromLayer(QgisAlgorithm):
params.append(QgsProcessingParameterNumber(self.DEFAULT_SPEED,
self.tr('Default speed (km/h)'),
QgsProcessingParameterNumber.Double,
5.0, False, 0))
50.0, False, 0))
params.append(QgsProcessingParameterDistance(self.TOLERANCE,
self.tr('Topology tolerance'),
0.0, self.INPUT, False, 0))

View File

@ -140,7 +140,7 @@ class ServiceAreaFromPoint(QgisAlgorithm):
params.append(QgsProcessingParameterNumber(self.DEFAULT_SPEED,
self.tr('Default speed (km/h)'),
QgsProcessingParameterNumber.Double,
5.0, False, 0))
50.0, False, 0))
params.append(QgsProcessingParameterDistance(self.TOLERANCE,
self.tr('Topology tolerance'),
0.0, self.INPUT, False, 0))