Overpass-API icon indicating copy to clipboard operation
Overpass-API copied to clipboard

Multiple lines with same linenumber

Open MaartenDeen opened this issue 8 years ago • 3 comments

The pt sketch does not handle multiple routes with the same number gracefully. E.g. Limburg bus line 1 is in fact 4 different lines. The different destinations are now separated by or and for every line there is one route line. Buslines with the same departure and endpoint but different intermediate routes are handled better, e.g. Limburg bus line 51 so it seems there is some knowledge of route_master relations.

IMHO it would be better to draw the first example as 4 distinct lines, each with their own stops.

MaartenDeen avatar Dec 23 '16 09:12 MaartenDeen

The sketch tool does not use route_master relations. The very purpose of the network tag is that the ref is unique within each network. Are these lines from different networks? If yes, how do we discriminate between them?

drolbr avatar Jan 12 '17 05:01 drolbr

The lines are in the same network. I agree it is confusing to have non-unique refs in a network, but that's unfortunately the situation here. Maybe making pt sketch master_relation aware would solve it. All lines in a master_relation should be together, but when a ref is not unique and also returns different master_relations, they should be drawn seperately.

MaartenDeen avatar May 17 '19 09:05 MaartenDeen

Not sure if you read this comment: https://github.com/drolbr/Overpass-API/pull/166#issuecomment-297231206

mmd-osm avatar May 17 '19 09:05 mmd-osm