Opened 10 years ago

Last modified 18 months ago

#7788 new enhancement

validator should accept some kinds of way overlaps

Reported by: A_Pirard Owned by: team
Priority: normal Milestone:
Component: Core validator Version: latest
Keywords: overlap Cc: A_Pirard

Description (last modified by A_Pirard)

A convenient and sensible way to map ways is to

  • map the waterways in one thread at layer -2
  • overlap culverts and bridges at layer -1
  • map roads in one thread at layer 0
  • overlap road/railway tunnels at level 1

convenient: obviously easier not to have to tag many way segments all the same
sensible: for example,

  • a tunnel is not the river, it's something around it
  • a bridge is concrete under continued tarmac

in fact, the way runs uninterrupted.

Hence, JOSM should allow such overlap combinations and forbid others.
Or, even more simply, it should allow them because they're not at the same level=layer.

Note that it should be supported to map an overlapping segment even of the same kind and layer to add or modify a tag on a short distance. Say turn a tarmac road to cobblestone for 100m with overlap=cobblestone.

Attachments (0)

Change History (6)

comment:1 Changed 10 years ago by A_Pirard

Description: modified (diff)

comment:2 Changed 10 years ago by skyper

Component: CoreCore validator
Keywords: overlap added

comment:3 Changed 10 years ago by A_Pirard

I have written a still unpublished draft related with this request:

I welcome any comment about it.

It contains a list of cases when JOSM shouldn't complain about overlaps of two ways:
1 either they are in different layers (n differs in layer=n)
2 or one of them contains the tag segment=yes
3 or they make the common "wall" between two closed ways, as between buildings (probably the sole exception)

1 and 3 are what this JOSM reports is asking.
I'd be glad to learn from you other exceptions to fill my text.


comment:4 Changed 9 years ago by brycenesbitt

Agreed: there are a number of valid overlaps that JOSM complains about, unnecessarily leading novice mappers to correct conditions that don't need correcting. The common wall issue is one I hit, because to do it otherwise leaves awkward seams between things that share a common wall.

comment:5 Changed 18 months ago by skyper

There is the proposed but inactive multilinestring relation among some others.

Do not know what to do with this ticket. At least, some examples might be useful.

comment:6 Changed 18 months ago by GerdP

Yes, "there are a number of valid overlaps that JOSM complains about" doesn't help.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to A_Pirard
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.