If an administrative boundary is going along a river in its centre (the river is effectively the boundary). Yet the administrative boundary is likely defined independently (intentionaly along the river, but if the river changed the boundary would not move automatically).
How should it be mapped? asked 02 Sep '11, 20:59 LM_1 |
Sharing nodes is not recommended and should only be used if the shared segment is rather short. This may look as if it were "easy to do" but it is actually difficult to edit - try refining the geometry of such a multi-way in JOSM and you'll find that you can only refine one way at a time. If you do not have exact data for the administrative boundary, but all you have is your assumption that it is "likely defined independently" then I would use the river as part of my boundary relation (and the relation is not more difficult just because one of its ways is a river rather than a specially drawn admin boundary). If on the other hand you have exact data for the administrative boundary and you know it to be not only independent, but in fact different from the river centreline, then draw both as their own ways, and maybe even add a answered 02 Sep '11, 21:25 Frederik Ramm ♦ 1
In fact I have very precise data for the administrative boundary and it is intentionally put in the river centerline.
(02 Sep '11, 21:45)
LM_1
My recommendation would be to not try to be too clever. Use the same geometry for both. If someone later moves the river then they will - wrongly - move the admin boundary also but I suggest to cross that bridge when we come to it. Even if you make two totally independent geometries now, it is not unlikely that someone moving the river will also move the boundary, assuming they are meant to run together.
(02 Sep '11, 22:07)
Frederik Ramm ♦
|
The river way should always be tagged as a river, and never be an untagged line that just so happens to be part of a waterway relation. It may be part of an administrative boundary relation, and may be tagged boundary=administrative in addition to having a waterway tag, but I'd consider that optional. As I said above, use the same way if the boundary is defined by the river, and use a separate geometry if the boundary is defined independently of the river (i.e. ask yourself "what happens if the river moves?"). I'd still advise against having several ways share nodes for anything but a short stretch. JOSM may have become more sophisticated but at the same time there are now other editors for whom we do not wish to make life harder. answered 15 Jul '15, 16:45 Frederik Ramm ♦ |
(Edit after receiving answers, see above, consolidate view for future users): The question is quite old, but still relevant. Assume the following situation: Border is defined by the river, hence runs along its "centreline". This is quite a realistic scenario as rivers usually do not move (very much), especially in mountainous or sparsely populated areas. (Old) Example from the Iran-Turkmenistan border, meanwhile changed: Clearly, the resulting picture should look like in the area to the right. There, the boundary and the river match visibly (like in reality); in the database however, they are different ways, but share the same nodes (two ways glued togehter). This cannot be seen from the picture, but can be found out by looking at the data directly. Although in JOSM, you could nowadays easily refine the geometry of two ways that are "glued" together (using the w shortcut e. g.), there might be other editors that do not allow this. Furthermore, the JOSM validator detects an error "overlapping ways". Furthermore: "glueing" ways together might be a bad practice from a logical point of view ("data hygiene"): after all, you actually have one element in the database that describes one physical shape (the geometrical line), and this shape has two meanings: 1. river and 2. boundary. Now logically, this would imply you should draw one line and tag it appropriately to represent several functions. To illustrate it, the desired result should look like this:
(May be this description can be added to an appropriate wiki page, as I see a lot of "ugly" borders around the world..... I might do it one day...) answered 15 Jul '15, 16:09 sakudo |
Even old question, would like to share one answer here, without open same discussion again. What about having one relation for the administrative boundary and one for the waterway? In that case we should have one way included in both relations. My question now is what tags to remain on that way: waterway, boundary or both? answered 07 Jul '13, 13:09 Plamen |