# Borders, highways and rivers

I have some questions about mapping a border that follows the center of a highway and then it continues in a river. The highway has a bridge over the river with bridge=yes, layer=1.

Do I put a common node between the highway and the river so I can add both to the border relation? In this case, will there be routing problems because the highway intersects the river? Is there another approach?

You should not connect the river to the highway if they are not connected in real life.

Are you sure that the border is on the highway-center ?

The best solution IMHO is to draw a separate border-line using the highway and river nodes.

Are you are suggesting to draw multiple lines using the same nodes? I thought that the relations were used so this situation does not occur.

In this special case: yes.
because the common node would be wrong.

Since the border has an angle just at the point where the highway crosses the river, it appears that the node in the intersection is needed anyway to represent the border.

I still fail to see why it is an error to have a node in the intersection between the river and the highway given that the highway is marked with layer = 1. So it is clear from that context that the highway and the river do not touch.

I quote the docs for the keepright-tool:

So, what is the solution in this case? By the way, the tool Keepright does not show any error here: http://keepright.at/report_map.php?zoom=15&lat=-35.87108&lon=-58.16494&layers=B0T&ch=0%2C30%2C40%2C50%2C70%2C90%2C100%2C110%2C120%2C130%2C150%2C160%2C170%2C180%2C191%2C192%2C193%2C194%2C195%2C196%2C197%2C198%2C201%2C202%2C203%2C204%2C205%2C206%2C207%2C208%2C210%2C220%2C231%2C232%2C270%2C281%2C282%2C283%2C284%2C285%2C291%2C292%2C293%2C294%2C311%2C312%2C313%2C320%2C350%2C370%2C380%2C401%2C402%2C411%2C412%2C413&show_ign=1&show_tmpign=1 (an example of the problem posed in this thread).