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

# France bus routes and squares?

 1 Hi, Take a look at relation 1083434, it has a tag route_master = bus which means it refers to some bus routes and in this case: Relation Bus 89 : Porte de France → Gare de Vanves-Malakoff (1246645) Relation Bus 89 : Gare de Vanves-Malakoff → Porte de France (1246644) Which means there are directional routes between two addresses. Now that being said, if you look at Bus 89 : Gare de Vanves-Malakoff → Porte de France, you will see a square (Place d'Alleray) that is included fully in the route! And same goes for the reverse direction of the other route! Now my questions: Is this correct practice? How do you actually calculate the bus route? It's not like the bus goes round and round before it continues the path, and we all know that squares are mostly uni-directional. Is there a tag that I should be looking into that helps me resolve this? Any helps would be appreciated. Thanks. :) This question is marked "community wiki". asked 05 Jun '14, 08:57 Aram Azhari 106●4●5●11 accept rate: 0% I recently saw a comment to the effect that some software will process such relations correctly (probably on IRC). However, if the relation is used directly for visualising the route then, as here, it will look wrong. (05 Jun '14, 10:57) SK53 ♦ 1 Visualization of the road itself is the less worrying factor for us. But let's say if you want to animate a bus moving on the route, then the case is that the bus has to follow a path and given that the square here is only one line, you cannot easily find where to exit. I mean I may be able to analyze the square and find out, but that is not preferred and only puts more weight on the system. So another question is, if this is a mistake, shall we fix it ? (05 Jun '14, 11:01) Aram Azhari @SK53 At least JOSM is able to handle such relations correctly, e.g. when ordering their elements. But I would expect difficulties in several end user applications. (05 Jun '14, 11:52) scai ♦ @scai What do you mean by handling? The order is not the issue here. If you read the post again, the issue is the incorrect inclusion of extra geometry. In JOSM you can add as many lines as you like and call it a relation, but JOSM does not check if you have actually created an incorrect bus route. It sometimes even gets worse. The person who draws the route tends to choose various line direction when drawing and as a result, current ending of a line may have a common node with the ending of the next line in the order! (05 Jun '14, 12:11) Aram Azhari 1 JOSM actually allows you to check if the bus relation is correct. First you have the relation editor sort the route. Then there is the column with the arrows/lines and the roundabout symbol you can see in the picture in my answer below. (05 Jun '14, 12:27) cartinus

 0 In order to be usable by data consumers that don't have special handling to visualize the route, the roundabout Place d'Alleray would need to be split and the relations would need to be modified to include only the segment(s) actually crossed to get from an entrance to exit. answered 05 Jun '14, 12:00 Mike N 2.9k●2●22●54 accept rate: 17% 1 When importing OSM data into a routing database ways have to be split at every junction. We don't split the ways at every junction in the OSM data either to make this easier for them. Similarly this is a "problem" that has to be fixed by the application and not by changing the data. (05 Jun '14, 12:21) cartinus

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×25
×16
×12

question asked: 05 Jun '14, 08:57

question was seen: 3,910 times

last updated: 12 Jun '14, 13:43

### Related questions

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