Open MaartenDeen opened 7 years ago
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?
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.
Not sure if you read this comment: https://github.com/drolbr/Overpass-API/pull/166#issuecomment-297231206
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.