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

I have created a bus route using the following steps 1. Check if the bus stop is present 2. At the end in the relation field, add a new relation as bus route and under "ref" add the bus route name. 3. If the bus stop is not present then first create the bus stop and then follow step 2.

I am unable to view the corresponding bus route from OPNVKarte. I am able to see the some of the stops being updated. Also when I go to Overpass turbo to extract the bus stops, I can see the bus stops there but not the bus route. Can some one tell me what is it that am doing wrong in the route relation?

asked 17 Apr '20, 11:34

ganesh0709's gravatar image

accept rate: 0%

Hi, You've actually made lots of route relations with a single feature (bus Stop) in them. A bus route relation needs all the route objects, bus stops, sections of highway of the route. With single objects in a route relation you'll never see a linear route.

This is a link to a bus route :- You will see in it all parts that make up the relation.

Route relations are rather difficult for a beginner to start on even experienced mappers can run into problems making them. Also, the iD editor is not the best tool for route relations, many folk have difficulties with it. JOSM editor is much better.

I respectfully think it would be best to revert the changes you've made and start again on relations after gaining a bit more experience.

permanent link

answered 17 Apr '20, 18:09

BCNorwich's gravatar image

accept rate: 20%

Hi, Thank you for the response. I have reverted my route relations but kept the bus stops since they do not need to be deleted.

The main problem that I faced is when I created the route relation for the first stop, I am unable to see the same relation for the second stop when I search for it and that is why I have created multiple relations but ensured all the relations had the same tags.

Is there any reason why I am unable to see the bus route relation when I search for it in the second stop relations ?

Also, as suggested I will try JOSM editor too.

(18 Apr '20, 03:13) ganesh0709

When you click the "+" to add the second stop to a relation, the relation for the first stop should be on the dropdown list.

Do you have the first stop visible in the editor when you are trying to add the second?

The list should have all relations that apply to the downloaded data, but if you are editing across two sessions, the first stop might not be loaded.

(18 Apr '20, 10:59) InsertUser

I added a new relation for the first stop. Then, for the second stop, under relations when I add "+" the first relation that I created came up and I just added it.

Now, under relations I am able to see 2 members i.e both the bus stops. But when I am trying to add the same relation for the third stop, it is not showing up and hence am not able to add that relation.

All stops are visible in the editor and all are under the bus stop type.

(18 Apr '20, 16:33) ganesh0709

That sound like a bug in iD, they have an issue tracker here where you can report the problem.

(21 Apr '20, 20:50) InsertUser

Routes are created as a single relation with all the relevant items added to it. In this case you would need to create a new relation for the first stop, and then add subsequent stops to the same relation you created for the first stop.

Relations can be particularly difficult to edit in iD because you usually have to edit them "backwards" in that you have to select the element first and then "add" the relation (even though you are really adding the element to the relation).

The individual road segments are normally added as well if the bus has a fixed route between stops. The roads should be split at the point the bus route joins or leaves them. Normally all stops are listed in order first, then all ways that make up the route (also in order). You can change the order of members by dragging them up and down in the list so it isn't critical that you start at one end and work your way to the other. The roles for each member should normally be set according to the table on this wiki page.

There are currently two tagging standards for these routes, the older method uses a single relation for both directions and the later method has a different relation for each direction (and for any variations) and then groups all of these into an overarching "route master" relation (PTv2). Both of these have vehement supporters within the community. A tutorial for creating the later type in JOSM can be found here. Note that it is not strictly necessary to list both a stop ("platform") and stop position ("stop") if either of them are not visible 'on the ground'.

permanent link

answered 17 Apr '20, 22:23

InsertUser's gravatar image

accept rate: 19%

Hi ganesh0709,

That's a great effort and full marks for persevering. There's a heck of a lot to learn in OSM and I hope you can bear hearing of further problems.

Please have a look at this Route Manager page for your new route :- I'll try to point out the problems I can see and then you can fix them (with your new skills).

In the right panel zoom to the first segment. Inspect the map at left, there is a gap between segments 1 and 2. There is no connecting highway between these segments. Further the highways in each segment are opposing oneway highways.

Almost the same situation between segment 2 and 3. Except here there the two highways are on different layers as well.

Between segments 3 and 4, the last highway of segment 3 extends past the first highway of segment 4. A short section that highway should be sectioned off and removed from the relation.

Segment 6 shouldn't be in this linear route.

The first highway of segment 7 has a short section of highway that should be sectioned off and removed from the relation.

You can also see the problems if you zoom right into the route on this page

Regards Bernard.

permanent link

answered 22 Apr '20, 08:52

BCNorwich's gravatar image

accept rate: 20%

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 17 Apr '20, 11:34

question was seen: 1,422 times

last updated: 22 Apr '20, 08:52

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