NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I think I may have inadvertently inherited two streets that were overlapped but I fixed a broken turn restriction on...so I got left with the last edit. Unfortunately I have absolutely no idea how to fix this or where even to begin, so here's a request for help.

The problem is here:

https://www.openstreetmap.org/note/1834724#map=19/34.07372/-118.44531

Unfortunately this is so bungled up with relations (turn restrictions and landuse) as well as shared nodes that I don't know where to start how to fix this. I believe I may have had to split a way in order to properly add the turn restriction which may have worsened the situation, but don't believe I put two ways on top of each other as it's pretty tough to do so in iD. Where can I start if I finally get enough tools and ideas to fix this without damaging the layout?

From a really generalized point of view I wish I could just cut and paste the landuse and then fix the roads. Then paste back the landuse. But I have no idea how or if this methodology is possible...

asked 07 Jul '19, 22:39

gpserror's gravatar image

gpserror
171101117
accept rate: 0%


Hi, Yes areas of landuse extended over and joined to highway centerlines makes future editing more difficult. I think it's done for easiness, quickness and to make areas look prettier. But it's not correct!

Anyway I've unjoined the landuse from the center line of the highway and relocated the nodes to the highway sides. The highway section you are concerned about is now clear of landuse. I've added an extra node to the duplicated section that it looks like you added as a duplication. If you delete this, (your new section,) the highway will be back as it was. I'm pretty sure you didn't make any amendment to the original highway. I hope this helps.

If it is wished my changes can be reversed by reverting Changeset: 71999372

permanent link

answered 08 Jul '19, 07:23

BCNorwich's gravatar image

BCNorwich
6.3k54489
accept rate: 20%

Thanks, that helps. If nobody complains that the map is no longer correct I think it should stand, though for consistency the rest of the highway needs to be separated from landuse, which would be the main reason for not separating the two -- if it were correct to do so.

So how did you do that? Which editor did you use? I hope the solution wasn't to remove and redraw, there must be a better way of fixing something like this for future reference.

Thanks again, now I need to figure out how to solve the next problem of two highways on top of each other and each having relations, hopefully not with each other...

(08 Jul '19, 16:16) gpserror

Hi, I unpicked each node with the JOSM editor and moved the node to the side. You can move several nodes at a time but if to many are moved it can get confusing, patience is helpful. I'll stress again in allmost all cases landuse does not extend to the highway center line, it is therefore wrong to map in this way. Even if someone complains it is still incorrect.

You copied and added Way: West Sunset Boulevard (701258669) in duplication of the original/existing Way: West Sunset Boulevard (381210291). Just delete your Way: West Sunset Boulevard (701258669) and amend the way that is left. (I'm pretty sure before your amendment there was only one highway, no duplication.) Then make any amendment to the single original highway.

You duplicated the route relation onto the duplicate highway. Removing Way: West Sunset Boulevard (701258669) will make no difference to the relations.

I can remove the duplicate if you wish. Any further questions please just ask.

(08 Jul '19, 18:07) BCNorwich

You have now removed/deleted one node from the center of that highway, you have not removed the duplicated section of highway.

You can see below the changeset comment box, the node that's been deleted from West Sunset Boulevard (701258669, v3). The duplicate highway in now again exactly on top of the original way.

Do you want me to remove the duplicate way?

(09 Jul '19, 07:09) BCNorwich

Hmm...still need to figure out how to do this. If you view this as an emergency to fix, go ahead, else I'm trying to figure this thing out... Thanks.

(09 Jul '19, 08:15) gpserror

BTW, I downloaded JOSM ... and nice, able to easily select the overlapping way, unlike iD or Potlatch2 (or at least I couldn't the other two out yet). Unfortunately I need to get to bed now so I can't work on this tonight. The status still stands, if you feel it's an emergency to fix this bug, go ahead and fix it, though it'd be nice to figure this out for the next time I see something like this! (And any hints on how to use the tools are welcome!)

(09 Jul '19, 08:38) gpserror

Hi, I can't see a way to separate duplicate ways in the iD editor. The iD editor will not allow you to delete a way which has routes or relations until you remove the way from the routes/relations. It gets complicated!

It's an easy task with JOSM, (which IMHO is far superior to any other OSM editor). I think the duplication should be removed so I have removed the section you added. I hope that's OK, Changeset: 72042219 if you need to reverse my removal.

Edit comment Sorry I posted before seeing your last comment.

(09 Jul '19, 08:55) BCNorwich

Oh well, that's fine, no sense in reverting something that made the map better. I wish I could have used this as a learning experience for fixing something I had never fixed before (just like fixing those turn relations that causes issues with routing software.) Thanks though.

(09 Jul '19, 18:34) gpserror

You can have a go at fixing some of the landuse overlaps at https://www.openstreetmap.org/way/305906891 if you want - there a drain has been drawn in mostly the right place (see the OS OpenDataStreetView background) and farmland has been drawn along the screen but (see the Bing imagery) actually the farmland stops north of the drain and there's a hedge.

(09 Jul '19, 19:29) SomeoneElse ♦

Thanks, yeah I poked at it a bit with iD and this one seems fixable with iD, though I'm not 100% sure what the best representation of this anyway. I also went ahead and separated a bit of the road and the landuse that was further west on the initial question point, but that too was done with iD.

Just was trying to find something that I needed to use JOSM to fix as iD is much more convenient as HTML5 is readily available. Again trying to avoid Potlatch due to Adobe-Flash.

(09 Jul '19, 20:04) gpserror
showing 5 of 9 show 4 more comments

Here's roughly what I'd do if I was editing the area in the editor I normally use (Potlatch 2):

I'd notice that there were overlaid ways because each node is displayed differently to make that clear.

Click on a node, click "/" to cycle around the joining ways there until you get to the offending landuse.

"x" to split, and move both ends away from the middle of the road, and then rejoin both ends.

Used "delete" to undo one side of the way from the middle of the road, then draw in where the edge actually is. Repeat for the other side, and join the two ends.

Repeat ^^ for the landuse polygon at the other side of the road.

If there are still overlapping nodes, use "/" to see what they are. These might be legitimate (e.g. townland boundaries in Ireland) or might not be - split, move or delete as required.

Other OSM editors are available - perhaps someone can add an answer explaining the buttons to press in (e.g.) JOSM.

permanent link

answered 08 Jul '19, 16:37

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Aha. Thanks for the Potlatch idea, yeah I think this may be a limitation of iD or at least I don't know how to deal with it in iD. There were some other issues that I could solve by the "disconnect" feature in iD. However, if I click on a node there and "disconnect" it would disconnect everything under that node -- which it would refuse to do because of the relations attached to that node -- even though I just wanted to disconnect the landuse from highway.

I may have to look more into Potlatch, after getting used to iD the selection features seem really awkward. I've been sort of apprehensive about Flash, which was my main holdback.

(08 Jul '19, 17:52) gpserror

JOSM: Depending on the number of nodes that overlap between the way and the area, you might either ungroup node by node or the complete area. - node by node -> select node, press "G" - the whole area, select area, press "G", make sure you validate at the end and fix overlapping nodes. This is a 1-click operation and might therefore be faster that ungrouping many individual nodes. The area will have overlapping nodes with areas on the other side than the highway - select the area and use the improve way accuracy (W) to reposition the nodes that overlapped with the highway, in the process you can add or delete nodes With this approach you will not have to fix the relations, and you preserve as much history as possible.

(10 Jul '19, 04:19) escada

Not sure if already mentioned here but there is a handy shortcut using JOSM to select individual overlapping ways.
See 'Cycle in dense or overlapping objects with pop-up' on the following page...
https://josm.openstreetmap.de/wiki/Help/Action/Select

(10 Jul '19, 05:46) nevw

Thanks nevw, Wow there's always something new to learn. I had been using Alt+left click to cycle through multiple ways (two fingers). Never even thought to click the middle mouse wheel. For me it's now going to be click middle mouse wheel every time (single finger), should save hours.

(10 Jul '19, 07:32) BCNorwich

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×167
×128
×103
×16
×5

question asked: 07 Jul '19, 22:39

question was seen: 3,952 times

last updated: 10 Jul '19, 07:32

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum