@@ -51,7 +51,7 @@ def init(self, logger):
51
51
detail = T_ (
52
52
'''A speed limit type is given in `maxspeed:type` or `source:maxspeed`, but no speed limit is set in `maxspeed`.''' ),
53
53
fix = T_ (
54
- '''Set `maxspeed` and either `maxspeed:type` or `source:maxspeed` as appropriate. For a list of values,
54
+ '''Set `maxspeed` and either `maxspeed:type` or `source:maxspeed` as appropriate. For a list of values,
55
55
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).''' ),
56
56
trap = T_ (
57
57
'''Do not just add a `maxspeed` value suitable for the type. The type may be incorrect too!
@@ -63,7 +63,7 @@ def init(self, logger):
63
63
detail = T_ (
64
64
'''The speed limit in `maxspeed` must be either numeric or `walk`. Do not specify a unit, km/h is the default.''' ),
65
65
fix = T_ (
66
- '''Set `maxspeed` as appropriate and set speed limit type in either `maxspeed:type` or `source:maxspeed`. For a list of values,
66
+ '''Set `maxspeed` as appropriate and set speed limit type in either `maxspeed:type` or `source:maxspeed`. For a list of values,
67
67
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).''' ),
68
68
trap = T_ (
69
69
'''If a speed limit type (e.g. `AT:*`) is set in `maxspeed`, do not assume it is correct!
@@ -245,4 +245,4 @@ def test(self):
245
245
'maxspeed:type' : 'AT:city_limit30' }, None ))
246
246
247
247
self .check_err (plugin .way (None , {'highway' : 'tertiary' , 'maxspeed' : '50' ,
248
- 'source:maxspeed' : 'AT:rural ' }, None ))
248
+ 'source:maxspeed' : 'AT:city_limit30 ' }, None ))
0 commit comments