User talk:Ldp

From OpenStreetMap Wiki
Jump to: navigation, search

forward/backward roles

I have just been editing all route relations for rcn routes in Belgium. My use of the forward and backward roles is as follows:

On the left side of way A, there is a node with a lower rcn_ref On the right side of way F there is a node with a higher rcn_ref

So following all empty roles + all forward roles should get one from the lower rcn_ref to the higher rcn_ref.

And following all empty roles + all backward roles (reversed) should get one from the higher rcn_ref to the lower rcn_ref.

This allows for automated check of continuity of a route in the forward and backward directions. I wrote a Python script which can be run regularly to validate that the routes remain continuous. This is for quality control, to be able to detect when contributors break the relations while editing.

Split-route-relation2.png

section role
A
B forward
C forward
D forward
E backward
F
Personal tools
Namespaces
Variants
Actions
site
Toolbox