OpenStreetMap

Adelaide Public Transport

Posted by PaulSchulz on 30 June 2020 in English (English)

I am revisiting Adelaide Bus Routes.

There was going to be a huge restructure of the existing routes, but it has since been called off, so I am looking at adding more of the existing routes, as there is not a lot that has been put in.

I would love to hear from anyone who may be interested in helping getting this data as complete as we can.

Location: Mawson Lakes, City of Salisbury, South Australia, 5095, Australia

Comment from ToniE on 30 June 2020 at 10:05

Hi Paul,

I could help by adding “Adelaide Bus Routes” to the PTNA tool (https://ptna.openstreetmap.de) so you can get an overview of what is already mapped and secondly compare it with what exists in reality (target-actual analysis). Best source of what exists in reality would having GTFS data.

Br Toni

Comment from ToniE on 1 July 2020 at 09:20

Thanks for the link. Will be available at PTNA this evening (CEST). We have to take care of the licensing and proper attribution though.

For the “actual” analysis, I would like to know which of the 19 Local Government Areas (LGAs) around Adelaide are covered by Adelaide Metro, i.e. which “admin_level=6” boundary relations to include into the overpass-api query for the downlad of the data.

Something like this here

“area[boundary=administrative][admin_level=6][name~’(Dachau München Ebersberg Erding Starnberg Freising Tölz Wolfratshausen Fürstenfeldbruck)’]”

or

“area[boundary=administrative][wikidata~’^(Q12094 Q12079 Q12746 Q12713 Q12697 Q11922 Q74768 Q347)$’]”

I’ve seen this list on Wikipedia (german version)

Adelaide Hills Council
City of Adelaide
City of Burnside
City of Campbelltown
City of Charles Sturt
City of Holdfast Bay
City of Marion
City of Mitcham
City of Norwood, Payneham & St Peters
City of Onkaparinga
City of Playford
City of Port Adelaide Enfield
City of Prospect
City of Salisbury
City of Tea Tree Gully
City of Unley
City of West Torrens
Town of Gawler
Town of Walkerville

Comment from ToniE on 1 July 2020 at 09:24

“area[boundary=administrative][admin_level=6][name~’(Dachau|München|Ebersberg|Erding|Starnberg|Freising|Tölz|Wolfratshausen|Fürstenfeldbruck)’]”

or

“area[boundary=administrative][wikidata~’^(Q12094|Q12079|Q12746|Q12713|Q12697|Q11922|Q74768|Q347)$’]”

Comment from PaulSchulz on 1 July 2020 at 11:47

Thank you all for your comments.

@ToniE Adelaide Metro covers all of the councils you have indicated. That’s a good list. For more details, see: https://en.wikipedia.org/wiki/Local_government_areas_of_South_Australia#Metropolitan_Adelaide”

My questions: - Given GTFS feed, are there any tools to help use the data (or is the licensing an issue)?

I am currently entering the routes by hand, but there are a lot of ways which need to be split while I’m mapping.

Thank you again

Comment from ToniE on 1 July 2020 at 12:33

Hi Paul,

no, I haven’t seen any tools yet which might help converting GTFS into an OSM relation.

The GTFS data of Adelaide Metro provides shape data which helps a lot finding the route. The shape and stop information can be downloaded as GPX file and then be used in JSOM to “work” along the route.

Kindly see here for an example (bus 190) (button: bottom left side). There is much more information on this trip/variant on this page though.

For the PTNA analysis, you can down load the CSV list of all existing routes here

In the PTNA analysis (example bus 190 you will later on find links called “PTNA” for each relation which leads to a page (example bus 190 which looks very similar to the GTFS analysis of a trip, but then based on OSM data rather than on GTFS data.

The PTNA analysis is currently limited to “City of Adelaide” only, I will extend the search area later.

Br Toni

Comment from PaulSchulz on 1 July 2020 at 17:44

That GTFS mapping tool is awesome (very useful), and will help a lot.

I was working from the route maps supplied in the PDF timetables published by Adelaide Metro.

Also.. I added wikidata entries to the Local Government Areas (for your filter). (Sorry, I have yet to grok the Overpass filter syntax.)

(def councils { “Adelaide Hills Council” {:wikidata “Q353997”} “City of Adelaide” {:wikidata “Q1094063”} “City of Burnside” {:wikidata “Q1016835”} “City of Campbelltown” {:wikidata “Q1030580”} “City of Charles Sturt” {:wikidata “Q1066185”} “City of Holdfast Bay” {:wikidata “Q1624414”} “City of Marion” {:wikidata “Q1812769”} “City of Mitcham” {:wikidata “Q1279553”} “City of Norwood, Payneham & St Peters” {:wikidata “Q56477743”} “City of Onkaparinga” {:wikidata “Q1812778”} “City of Playford” {:wikidata “Q976355”} “City of Port Adelaide Enfield” {:wikidata “Q1533526”} “City of Prospect” {:wikidata “Q1537228”} “City of Salisbury” {:wikidata “Q947334”} “City of Tea Tree Gully” {:wikidata “Q2062776”} “City of Unley” {:wikidata “Q1766439”} “City of West Torrens” {:wikidata “Q1813391”} “Town of Gawler” {:wikidata “Q1847617”} “Town of Walkerville” {:wikidata “Q1521840”} }

Comment from PaulSchulz on 1 July 2020 at 17:46

(def councils
  {
   "Adelaide Hills Council"                 {:wikidata "Q353997"}
   "City of Adelaide"                       {:wikidata "Q1094063"}
   "City of Burnside"                       {:wikidata "Q1016835"}
   "City of Campbelltown"                   {:wikidata "Q1030580"}
   "City of Charles Sturt"                  {:wikidata "Q1066185"}
   "City of Holdfast Bay"                   {:wikidata "Q1624414"}
   "City of Marion"                         {:wikidata "Q1812769"}
   "City of Mitcham"                        {:wikidata "Q1279553"}
   "City of Norwood, Payneham & St Peters"  {:wikidata "Q56477743"}
   "City of Onkaparinga"                    {:wikidata "Q1812778"}
   "City of Playford"                       {:wikidata "Q976355"}
   "City of Port Adelaide Enfield"          {:wikidata "Q1533526"}
   "City of Prospect"                       {:wikidata "Q1537228"}
   "City of Salisbury"                      {:wikidata "Q947334"}
   "City of Tea Tree Gully"                 {:wikidata "Q2062776"}
   "City of Unley"                          {:wikidata "Q1766439"}
   "City of West Torrens"                   {:wikidata "Q1813391"}
   "Town of Gawler"                         {:wikidata "Q1847617"}
  "Town of Walkerville"                    {:wikidata "Q1521840"}
   }

Comment from ToniE on 1 July 2020 at 19:16

Thanks for the wikidata, I will use that - it’s shorter and more precise. Actually, one version of my filter retrieved also data from “City of Campbelltown” south-east of Sydney, I had to exclude that by its wikidata != ‘…’.

I assume you already noticed https://wiki.openstreetmap.org/wiki/Public_transport_in_Adelaide/Analysis/Adelaide_Metro_Routes , an OSM wiki page where you and other local mappers can play around with the structure and keep it up-to-date over time.

Comment from skyper on 4 July 2020 at 13:52

PaulSchulz wrote:

My questions: - Given GTFS feed, are there any tools to help use the data (or is the licensing an issue)?

I am currently entering the routes by hand, but there are a lot of ways which need to be split while I’m mapping.

I fear there is no direct help but you can try the JOSM plugin PT-Assistant. JOSM plugin Public transport might work if you have a shape file. Converting to GPX and adding all needed tags to the file could work, but I did not try, yet.

For GTFS tags in JOSM, there is the external preset Public transport GTFS as help.

Greetings skyper

Login to leave a comment