this post was submitted on 18 Sep 2023
44 points (97.8% liked)

OpenStreetMap community

4216 readers
30 users here now

Everything #OpenStreetMap related is welcome: software releases, showing of your work, questions about how to tag something, as long as it has to do with OpenStreetMap or OpenStreetMap-related software.

OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

Join OpenStreetMap and start mapping: https://www.openstreetmap.org.

There are many communication channels about OSM, many organized around a certain country or region. Discover them on https://openstreetmap.community

https://mapcomplete.org is an easy-to-use website to view, edit and add points (such as shops, restaurants and others)

https://learnosm.org/en/ has a lot of information for beginners too.

founded 5 years ago
MODERATORS
44
submitted 1 year ago* (last edited 1 year ago) by notExactlyI20 to c/[email protected]
 

I'm on a crusade to add all of the bus routes in my city (hopefully all of my country in a future), but there is no easily way as to "draw line here/add a node here as bus stop, tag as bus route X, rinse and repeat" as far as I know right?.

Would love some recommendations from other pros at OSM :)

all 14 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 1 year ago (2 children)

This is how I do it. First I add all the stops in order for one direction. Then I create a bus route relation and select the roads buses go on. I add them to the relation. I then do the other way around as another relation. Then I create a route master and add the two bus route relations to the route master.

[–] VanitasTheUnversed 5 points 1 year ago (3 children)

Your bus' route isn't on their website?

Where I live, we have a map of the entire public transit.

[–] [email protected] 13 points 1 year ago* (last edited 1 year ago)

Even if it is on the website, it's still nice to have it in OSM so it's available to mapping apps that use OSM data. It's very possible that OP intends to copy the information from the transit / city website into the OSM database.

[–] notExactlyI20 11 points 1 year ago* (last edited 1 year ago) (1 children)

We don't have a website for that in my country (at least, not officialy supported). Bus routes are usually learned by memory/asked to strangers or relatives. That's why I want to add it to osm.

[–] [email protected] 4 points 1 year ago

That's a very good idea. My home town is using a janky list of nodes in a Google My Maps and it's so frustrating to use. I added the routes to OSM and they updated their website to reference my work.

[–] [email protected] 1 points 1 year ago

Where I live, there is a random collection of buses, all privately operated, with no route maps, no website, and no head office.

[–] [email protected] 3 points 1 year ago (1 children)

If the routes are published with GTFS (which they probably are), I bet there's a tool to get it done!

[–] [email protected] 1 points 1 year ago (1 children)

How do you find out if the routes are published with GTFS? Sorry if it's a simple question, I'm new to this :)

[–] [email protected] 2 points 1 year ago (1 children)

Check your local transit authority's website and find the GTFS endpoint urls

[–] [email protected] 1 points 1 year ago

Thanks for replying :)

I've tried looking, but it's over my head for now. As far as I can tell though, it's not available through my local bus operator. This is from the download section of their site:

'Downloads are currently available as industry standard TransXChange files for schedules and NetEx files for fares.'

So they seem to be static downloads rather than a live link. I'm in South Wales, in the UK, and while the local councils give out the contracts, they don't seem to deal with much past that.

It doesn't help that technology wise, we may as well still be in the 90s here :(

Never mind, I'll keep digging, and try to get the maps around me updated :)

[–] [email protected] 1 points 1 year ago

@notExactlyI20
If you want to use JOSM Trufi has a tutorial:
https://mapping-bus-routes.readthedocs.io/en/latest/mapping-routes/

OsmAnd has one as well, but I don't think stopping positions are actually needed:
https://osmand.net/blog/guideline-pt/