Skip to content

Commit 84b1878

Browse files
committedJun 1, 2025
Added wiki link to fix text as per osmose-qa#2506 (comment)
Reworded detail text as per osmose-qa#2506 (comment)
1 parent 8660e50 commit 84b1878

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
 

‎plugins/TagFix_Maxspeed_AT.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def init(self, logger):
5151
detail=T_(
5252
'''A speed limit type is given in `maxspeed:type` or `source:maxspeed`, but no speed limit is set in `maxspeed`.'''),
5353
fix=T_(
54-
'''Set `maxspeed` and `maxspeed:type` or `source:maxspeed` (but not both) as appropriate.
55-
For a list of values, see table 'valid_maxspeed_types' in the source code below.'''),
54+
'''Set `maxspeed` and either `maxspeed:type` or `source:maxspeed` as appropriate. For a list of values,
55+
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).'''),
5656
trap=T_(
5757
'''Do not just add a `maxspeed` value suitable for the type. The type may be incorrect too!
5858
Always check `highway`, all other tags related to speed and verify on the ground.'''),
@@ -63,8 +63,8 @@ def init(self, logger):
6363
detail=T_(
6464
'''The speed limit in `maxspeed` must be either numeric or `walk`. Do not specify a unit, km/h is the default.'''),
6565
fix=T_(
66-
'''Set `maxspeed` as appropriate and set speed limit type in `maxspeed:type` or `source:maxspeed` (but not both).
67-
For a list of values, see table 'valid_maxspeed_types' in the source code below.'''),
66+
'''Set `maxspeed` as appropriate and set speed limit type in either `maxspeed:type` or `source:maxspeed`. For a list of values,
67+
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).'''),
6868
trap=T_(
6969
'''If a speed limit type (e.g. `AT:*`) is set in `maxspeed`, do not assume it's correct!
7070
Always check `highway`, all other tags related to speed and verify on the ground.'''),
@@ -90,7 +90,7 @@ def init(self, logger):
9090
'''The speed limit type in `maxspeed:type` or `source:maxspeed` is not valid.'''),
9191
fix=T_(
9292
'''Set the appropriate speed limit type. For a list of values,
93-
see the table 'valid_maxspeed_types' in the source code below.'''),
93+
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values)'''),
9494
trap=T_(
9595
'''Do not assume any of the data present is correct!
9696
Always check `highway`, all other tags related to speed and verify on the ground.'''),
@@ -99,11 +99,11 @@ def init(self, logger):
9999
self.errors[5] = self.def_class(item=3032, level=2, tags=['maxspeed'],
100100
title=T_('Multiple speed limit types'),
101101
detail=T_(
102-
'''`maxspeed:type` and `source:maxspeed` are both set. This may cause confusion for mappers and data consumers,
103-
especially if the values are different.'''),
102+
'''`maxspeed:type` and `source:maxspeed` are both set. This may cause confusion for mappers and data consumers
103+
if the values are different.'''),
104104
fix=T_(
105-
'''Set either `maxspeed:type` or `source:maxspeed` (but not both). For a list of values,
106-
see table 'valid_maxspeed_types' in the source code below.'''),
105+
'''Set either `maxspeed:type` or `source:maxspeed`. For a list of values,
106+
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).'''),
107107
trap=T_(
108108
'''Do not assume any of the data present is correct!
109109
Always check `highway`, all other tags related to speed and verify on the ground.'''),
@@ -114,8 +114,8 @@ def init(self, logger):
114114
detail=T_(
115115
'''The speed limit in `maxspeed` is not consistent with the speed limit type in `maxspeed:type` or `source:maxspeed`.'''),
116116
fix=T_(
117-
'''Set `maxspeed` and/or `maxspeed:type`/`source:maxspeed` (but not both) as appropriate. For a list of values,
118-
see table 'valid_maxspeed_types' in the source code below.'''),
117+
'''Adjust `maxspeed`, `maxspeed:type` or `source:maxspeed` as appropriate. For a list of values,
118+
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).'''),
119119
trap=T_(
120120
'''Do not assume any of the data present is correct!
121121
Always check `highway`, all other tags related to speed and verify on the ground.'''),

0 commit comments

Comments
 (0)