<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=1447941" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lonvia">@lonvia</a> take this relation for example:<br>
<a href="https://www.openstreetmap.org/relation/7468547" rel="nofollow">https://www.openstreetmap.org/relation/7468547</a></p>
<p>You can see that the first member of the relationship is placed southeast. The direction of the relationship is therefore south-east -> north-west. As written in the tags (from - to): from Badia Prataglia to Passo della Calla.</p>
<p>My problem is that the relation I have on my copy of OSM has an inverted geometry with respect to the direction of the members. If you open this link, you see that the elevation profile of the route is inverted with respect to the points of departure and arrival:<br>
<a href="http://simap.j.webmapp.it/#/layer/Toscana_Emilia_Romagna/7468547" rel="nofollow">http://simap.j.webmapp.it/#/layer/Toscana_Emilia_Romagna/7468547</a></p>
<p>On the Waymarked trail all relation directions are correct. Take the same relation:<br>
<a href="https://hiking.waymarkedtrails.org/#route?id=7468547&map=13!43.8253!11.8106" rel="nofollow">https://hiking.waymarkedtrails.org/#route?id=7468547&map=13!43.8253!11.8106</a></p>
<p>If you see the elevation profile you climb from Badia Prataglia to Passo della Calla.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/984?email_source=notifications&email_token=AA6353Q6WN3DODWM5AOIIVLQUTRBFA5CNFSM4JPF2XC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQ7TYQ#issuecomment-555874786">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VRHGLJ44H2B35FSYDQUTRBFANCNFSM4JPF2XCQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353UV6LXPMJTX4Q6SLPDQUTRBFA5CNFSM4JPF2XC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQ7TYQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/984?email_source=notifications\u0026email_token=AA6353Q6WN3DODWM5AOIIVLQUTRBFA5CNFSM4JPF2XC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQ7TYQ#issuecomment-555874786",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/984?email_source=notifications\u0026email_token=AA6353Q6WN3DODWM5AOIIVLQUTRBFA5CNFSM4JPF2XC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQ7TYQ#issuecomment-555874786",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>