Skip to content

Commit e837a54

Browse files
committed
Integrate comments, changes wiki links
1 parent 0a35d9f commit e837a54

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

analysers/analyser_osmosis_powerline.py

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -681,25 +681,25 @@ def __init__(self, config, logger = None):
681681
fix = T_(
682682
'''This tower should probably be connected to a power line.'''),
683683
trap = T_(
684-
'''It's possible that being built or disused power features could be disconnected from the live network.
685-
In which case make use of the `construction:` or `disused:` [lifecycle prefixes](https://wiki.openstreetmap.org/wiki/Lifecycle_prefix).'''))
684+
'''It is possible that power features under construction, or disused power features could be disconnected from the live network.
685+
In this case, you should use the `construction:` or other recommanded [lifecycle prefixes](https://wiki.openstreetmap.org/wiki/Tag:power%3Dline#Lifecycle).'''))
686686
self.classs[2] = self.def_class(item = 7040, level = 2, tags = ['power', 'fix:imagery'],
687687
title = T_('Unfinished power transmission line'),
688688
detail = T_(
689689
'''The line ends in a vacuum, and should be connected to another line or a substation (`power=substation`),
690690
a transformer (`power=transformer`), a generator (`power=generator`),
691691
marked as transitioning into ground (`line_management=transition + location:transition=yes`)
692-
or explicitely terminates (`line_management=termination`).'''),
692+
or explicitely terminated (`line_management=termination`).'''),
693693
trap = T_(
694-
'''It's possible that being built or disused power features could be disconnected from the live network.
695-
In which case make use of the `construction:` or `disused:` [lifecycle prefixes](https://wiki.openstreetmap.org/wiki/Lifecycle_prefix).'''))
694+
'''It is possible that power features under construction, or disused power features could be disconnected from the live network.
695+
In this case, you should use the `construction:` or other recommanded [lifecycle prefixes](https://wiki.openstreetmap.org/wiki/Tag:power%3Dline#Lifecycle).'''))
696696
self.classs[6] = self.def_class(item = 7040, level = 3, tags = ['power', 'fix:imagery'],
697697
title = T_('Unfinished power distribution line'),
698698
detail = T_(
699699
'''The line ends in a vacuum, and should be connected to another line or a substation (`power=substation`),
700700
a transformer (`power=transformer`), a generator (`power=generator`),
701701
marked as transitioning into ground (`line_management=transition + location:transition=yes`)
702-
or explicitely terminates (`line_management=termination`).'''),
702+
or explicitely terminated (`line_management=termination`).'''),
703703
trap = T_(
704704
'''It's possible that being built or disused power features could be disconnected from the live network.
705705
In which case make use of the `construction:` or `disused:` [lifecycle prefixes](https://wiki.openstreetmap.org/wiki/Lifecycle_prefix).'''))
@@ -733,18 +733,17 @@ def __init__(self, config, logger = None):
733733
detail = T_(
734734
'''A line terminates near of a substation with inconsistent voltages between them.'''),
735735
fix = T_(
736-
'''Continue the line towards its actual endpoint, check voltages on line and on substation and adjust what is required to better reflect what is seen on ground.''')),
736+
'''Continue the line towards its actual endpoint, check voltages on the line and the substation and adjust what is necessary to reflect what is seen on the ground.''')),
737737
self.classs[8] = self.def_class(item = 7040, level = 3, tags = ['power', 'fix:chair'],
738738
title = T_('Power support line management suggestion'),
739739
detail = T_(
740-
'''[line_management](https://wiki.openstreetmap.org/wiki/Key:line_management) documents particular topologies occuring on power lines nodes. Mind looking at values documentation.
741-
Suggestions are computed by looking at existing OpenStreetMap power lines and only supports some combinations.
742-
It's an encouragement to check and confirm the structure of the power grid on most relevant towers, particularly when proposed `line_management` differs from existing value.
743-
Proposed values are to be adopted when conform to ground according to your knowledge, aerial imagery or survey.'''),
740+
'''[line_management](https://wiki.openstreetmap.org/wiki/Key:line_management) documents particular topologies occuring on power lines nodes. Have a look at the documented values.
741+
Suggestions are computed by looking at existing OpenStreetMap power lines and only support some combinations.
742+
It's encouraged to check and confirm the structure of the power grid on most relevant towers, particularly when proposed `line_management` differs from existing value.'''),
744743
trap = T_(
745-
'''Suggested values may not be correct according to your knowledge, aerial imagery or survey.
746-
In such situations, power lines should be modified to better reflect how the power grid looks there.
747-
When doing so, you may wait for Osmose to update the suggestion or directly add the appropriate `line_management` value on the node.
744+
'''Suggested line management may not be correct according to your knowledge, aerial imagery or survey.
745+
In case of wrong suggestion, you should modify power lines geometry or add [voltage](https://wiki.openstreetmap.org/wiki/Key:voltage) or [circuits](https://wiki.openstreetmap.org/wiki/Key:circuits) to accurately reflect how the power grid looks there.
746+
When doing so, you may wait for Osmose to update the suggestion or directly add the correct `line_management` value on the node, if appropriate.
748747
If you think power grid is right in OpenStreetMap, then mark this suggestion as false positive.'''))
749748
self.callback50 = lambda res: {"class":5, "subclass": stablehash64(res[1]), "data":[self.way_full, self.positionAsText]}
750749

0 commit comments

Comments
 (0)