[Tile-serving] [openstreetmap/osm2pgsql] Update does not take into account the change of direction of a relation (#984)
marchile
notifications at github.com
Wed Nov 20 07:26:10 UTC 2019
@lonvia take this relation for example:
https://www.openstreetmap.org/relation/7468547
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.
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:
http://simap.j.webmapp.it/#/layer/Toscana_Emilia_Romagna/7468547
On the Waymarked trail all relation directions are correct. Take the same relation:
https://hiking.waymarkedtrails.org/#route?id=7468547&map=13!43.8253!11.8106
If you see the elevation profile you climb from Badia Prataglia to Passo della Calla.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/984#issuecomment-555874786
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191119/6d286390/attachment.html>
More information about the Tile-serving
mailing list