AccraMobile3

Accra Mobile 3 is a project launched in July 2017 to map all the Tro tro lines of Accra, Ghana for the Department of Transport (DoT) of Accra Metropolitan Assembly (AMA) into OpenStreetMap.

SHOW ME THE DATA / SHOW ME THE MAP

It involved the Jungle Bus team, AFD (Agence Française du Développement, French Development Agency), the transit consultant agency Transitec and the local OSM community. The collection and mapping process on field started on 19 July 2017 and finished late September.

This page describes the process and the tools used to run this project.

Results

All the data mapped is available directly in OpenStreetMap :

A map is also available.

A GTFS is created from this data, with OSM2GTFS, and available here. To know more, see the OSM2GTFS for Accra - user manual

Bus stops collection

Bus stops have been collected on the field by 6 OSM contributors. The accounts used are the following:

OSM User Name
accramobileghana1
accramobileghana2
accramobileghana3
accramobileghana4
accramobileghana5
accramobileghana6
accramobileghana7
accramobileghana8
accramobileghana9
accramobileghana10

All the traces are directly uploaded to OpenStreetMap, and we use a custom script to download and rename them all automatically.

Tro tro lines

All the Tro tro lines are listed on this page.

In order to create an unexisting Tro tro line, you can use the dedicated tool created by Jungle Bus directly in this list (by clicking on "create relation").

For every line, 3 relations need to be created: one for the master, one for the outbound and one for the inbound trip. The outbound trip (from "home station" to "destination") will be labelled "A". And the inbound trip (from the "destination station" to the "home station") will be labelled "B".

The GPS trace while collected will be added to the "GPS trace" mention as a link.

Data creation

We consider a bus stop at the exact place where passengers wait for the bus. It is different than the stop position of the vehicle that is not part of our scope.

First step is to load in JOSM all the existing data regarding the stops:

Tro tro stop

A bus stop should be mapped as a simple node with the following tags:

Key Value Mandatory Comment
public_transportplatformyesThis is a waiting area
highwaybus_stopyesThis is a bus stop
busyesyesThis is about bus
name*yesThe name of the bus stop
official_statusunofficialnoFor an implicit bus stop with no written mention at all
shelternonoFor a bus stop with only a pole
shelteryesnoFor a bus stop with a shelter

More details are available at https://wiki.openstreetmap.org/wiki/Tag:public_transport%3Dplatform

You also can use our custom preset for Tro tro stop creation.

Tro tro line

A Tro tro line should be described with 3 relations :

  • A master relation that describes general information such as the network and the number of the line.
Key Value Mandatory Comment
typeroute_masteryesThis is a meta relation
route_masterbusyesThis is about bus
name* e.g. “Trotro 003 : 37 Lorry Park ↔ Tse Addo”"yesThe name of line mentioning its reference number, its 1st and last stop
busunofficialyesAlways used for a Tro tro line
operator*yesName of the company that operates the service
ref"* e.g. “003”"yesThe number of the line (always 3 digits)
frequency* e.g. “7”yesApproximate frequency of Tro tro traffic during traffic peak time (in min)
charge*GHS e.g. “2.1GHS”yesFare of the line

This relation contains as members only the 2 child relations (direction A and B). More details are available at https://wiki.openstreetmap.org/wiki/Relation:route_master

Exception: if the fare is not the same inward and backward, please mention it in the comment section.

  • Two child relations, one for each direction, embedding all bus stops and the route itself.
Key Value Mandatory Comment
typerouteyesThis is a transport relation
routebusyesThis is about bus
name* e.g. “Trotro 003 : Tse Addo → 37 Lorry Park”yesThe name of line mentioning its reference number, its 1st and last stop
busunofficialyesFor a Tro tro line
operator*yesName of the company that operates the service
ref* e.g. “003”yesThe number of the line
from*yesThe name of the first bus stop
to*yesThe name of the last bus stop
travel_time* e.g. “49”yesThe time (in min) to travel from the first to the last stop (computed from the GPX track)
roundtripyes;nonoWhether or not the route start and ends at the same place

More details are available at https://wiki.openstreetmap.org/wiki/Relation:route

Quality Assurance

JOSM validation

While mapping in JOSM, you can use the Jungle Bus validator tool to double check quality.

It has been developed specifically for the project in Accra so it's not a generic tool to use everywhere in the World.

It runs the following tests:

# Warning message What is the problem ?
1Jungle : The route tag is missing (add the tag route = bus/coach/tram/etc)Every transport relation should detail its route type. For AccraMobile3, it would always be route=bus
2Jungle : The route_master tag is missing (add the tag route_master = bus/coach/tram/etc)Every transport master relation should detail its route type. For AccraMobile3, it would always be route_master=bus
3Jungle : The route_master tag is missing (change the route tag to route_master)Every meta relation should have a route_master=bus tag. Please change the route tag to a route_master tag
4Jungle : The network tag is missingEvery meta relation should have a network tag. Please add one
5Jungle : The operator tag is missingEvery meta relation should have an operator tag. Please add one
6Jungle : The ref tag is missingEvery meta relation should have a ref tag. Please add one
7Jungle : The from or to tag is missingEvery meta relation should have a from tag and a to tag. Please add them.
8Jungle : The frequency tag is missingEvery meta relation should have a frequency tag. Please add one
9Jungle : The charge tag is missingEvery meta relation should have a charge tag. Please add one
9+Jungle : The charge tag must end with GHSEvery meta relation should have a charge tag ending with GHS. Please check the value for this tag
10Jungle : The name tag is missingEvery bus stop should have a name tag. Please add one
11Jungle : Is it a bus_stop or a tram_stop ?The tag public_transport=platform is not rendered, please add the legacy tag highway=bus_stop
11+Jungle : Is it a bus_stop ?The tag public_transport=platform is not rendered, please add the legacy tag highway=bus_stop
12Jungle : Is it a passenger waiting point (platform) or a stop_position ?The tag highway=bus_stop is ambiguous. If it’s the position where the bus stops, replace it by public_transport=stop_position. If it’s the position where the passengers are waiting, add public_transport=platform
13Jungle : Add this route relation to a route_master relationAll the line variations (route relations) should be part of a line (route_master relation)
14Jungle : Add the stop to a route relationAll the stops should be in at least a line variation (route relation)
15Jungle : The travel_time tag is missingEvery route relation should have a travel_time tag, in minutes. You can use the GPX track to compute one

Online tools

Brand new control tools have been developed (july 2017) by the french OSM community for checking:

  1. transport relations:
    • Weird members of a route_master: list and map
    • Orphan route relation: list and map
    • Relation without any indication of the schema (V1 or V2): list and map
  2. Line traces:
    • discontinuous line: list and map
    • bus stop weirdly far from its route: list and map
This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.