John Firebaugh
|
bcb4de4305
|
Reverse directional tags and roles when reversing a way
Reverse known direction dependent tags other than `oneway`.
We assume that correcting a backwards oneway is the primary
reason for reversing a way.
The following transforms are performed:
Keys:
*:right=* ⟺ *:left=*
*:forward=* ⟺ *:backward=*
direction=up ⟺ direction=down
incline=up ⟺ incline=down
*=right ⟺ *=left
Relation members:
role=forward ⟺ role=backward
In addition, numeric-valued `incline` tags are negated.
The JOSM implementation was used as a guide, but transformations that
were of unclear benefit or adjusted tags that don't seem to be used
in practice were omitted.
References:
http://wiki.openstreetmap.org/wiki/Forward_%26_backward,_left_%26_right
http://wiki.openstreetmap.org/wiki/Key:direction#Steps
http://wiki.openstreetmap.org/wiki/Key:incline
http://wiki.openstreetmap.org/wiki/Route#Members
http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
Fixes #299.
|
2013-01-07 16:26:56 -08:00 |
|
John Firebaugh
|
2d3ce6c125
|
Extract hover behavior
|
2013-01-07 08:34:37 -08:00 |
|
John Firebaugh
|
3ffa8066c5
|
Taginfo typeahead on keys as well as values
|
2013-01-01 18:43:22 -08:00 |
|
John Firebaugh
|
5fe22be7a0
|
Introduce real Entity subclasses
|
2012-12-28 18:42:21 -08:00 |
|
John Firebaugh
|
ad0efa4931
|
Place -> Point
We decided to use geometric terms for the modes.
|
2012-12-14 14:39:38 -08:00 |
|
John Firebaugh
|
209b87f7e8
|
Extract MoveWay action
|
2012-12-13 17:39:07 -08:00 |
|
John Firebaugh
|
ee3f5cc768
|
Move -> MoveNode, in preparation for MoveWay
|
2012-12-13 17:39:07 -08:00 |
|
John Firebaugh
|
c37aa11408
|
Start testing modes
|
2012-12-13 17:39:06 -08:00 |
|
John Firebaugh
|
8854dac623
|
More action specs; fix ReverseWay
|
2012-12-06 19:16:54 -05:00 |
|
John Firebaugh
|
812b427ac4
|
Split remove action into DeleteWay and DeleteNode
|
2012-12-05 16:14:39 -05:00 |
|
John Firebaugh
|
4a3169bb1d
|
Test/refine iD.actions.remove
|
2012-12-05 16:14:39 -05:00 |
|
John Firebaugh
|
76849596f8
|
Move node removal into removeNodeWay action
|
2012-12-04 18:07:26 -05:00 |
|
John Firebaugh
|
f8fde1f10d
|
Move node update into addWayNode action
|
2012-12-04 17:54:08 -05:00 |
|
John Firebaugh
|
44933c471f
|
Test against packaged result
|
2012-12-04 14:00:29 -05:00 |
|