TfNSW Data Imports
See Import/Guidelines and Automated Edits code of conduct for more information. Imports/automated edits which do not follow these guidelines might be reverted!
This page aims to track any requests for imports of Transport for New South Wales datasets people may have. Thanks to a waiver from Transport for New South Wales, datasets owned by Transport for New South Wales can be freely imported into OpenStreetMap.
Bus Stops
Many bus stops in New South Wales are mapped but are not properly named/tagged. In some cases, the location of bus stops may be slightly inaccurate.
Thanks to a Transport for New South Wales dataset, this data can be imported, improving the accuracy of the thousands of bus stops around New South Wales on Open Street Map. However, OSM mappers in New South Wales are carrying out this import by suburbs, to ensure the accuracy of the imported data and so as not to go against the import guidelines. If you are curious as to what changes the import makes, an example changeset can be found here.
The following mappers are working on this import: @Ortho is hot: -- willing to import suburbs on request
Process
Data from the most recent TfNSW GTFS dataset should be converted into an OpenData friendly format:
- Extract stops.txt from the downloaded ZIP file
- Convert the file into a CSV (The file already has the correct formatting, just change the extension to .csv)
- Exclude rows that match the following patterns:
location_type
==1
(These are train stations)parent_station
has a value (These are train station platforms)stop_code
is empty (These appear to be interstate stops for ACT & QLD)- Note: Pre-processing may need to be centralised and done with scripts.
- Perform the following data mappings (columns not mentioned should be removed from the CSV):
- ref =
stop_id
- gtfs_id =
stop_id
(Note: This is the same as ref) - name =
stop_name
- Note: Talk-au has questioned whether names should be expanded from their truncated form (e.g.
St
intoStreet
, andOpp
intoopposite
). @Aharvey: suggested to import as-is, as these can be fixed later on
- Note: Talk-au has questioned whether names should be expanded from their truncated form (e.g.
latitude
=stop_lat
longitude
=stop_lon
- ref =
- Add these extra values to all stops:
Imports should be done via JOSM with the OpenData and Conflation plugins:
- Download existing OSM data for the suburb you wish to import as a separate layer (1)
- Open the CSV in JOSM in a new layer (2) using WGS84
- Remove all bus stops from layer 2 that are outside the suburb boundaries
- The DCS Administrative Boundaries Suburb layer is useful for identifying the exact suburb boundary
- Perform conflation of layers 1 & 2 on highway=bus_stop
- Perform a search on layer 1 for highway=bus_stop
- Open the "Configure conflation settings" dialog
- Select "Freeze" on the "Reference" layer (this sets the pre-existing bus stops to be your reference).
- Perform a search on layer 2 for highway=bus_stop
- Select "Freeze" on the "Subject" layer (this sets the new bus stops to be imported as your subject).
- Select "Generate matches"
- Sort the Conflation Matches panel by "Tags", to show conflicts
- For any stops with "Conflicts", select "Conflate" to manually resolve tag conflicts
- "Conflate" the remaining stops with "No Conflicts"
- Upload changes
- The changeset must contain the source: source=TfNSW GTFS
- The changeset comment should start with something like
Imported bus stops from TfNSW GTFS for <suburb>
. Optionally be more verbose if conflation with existing stops occurred, or you adjusted some lat/longs.
Imported Suburbs
Imported suburbs have moved here
Import Requests
~~~~
. Thanks for your cooperation.Blackheath, 2785 Jt15s (talk) 03:57, 25 October 2020 (UTC)Ortho is hot (talk) 01:43, 26 October 2020 (UTC) imported in 93033406Leura, 2780 2hu4u (talk) 22:01, 26 October 2020 (UTC)Ortho is hot (talk) 22:18, 11 November 2020 (UTC) imported in 93954055Katoomba, 2780 2hu4u (talk) 03:19, 27 January 2021 (UTC)Werrington, 2747 Jack465 (talk) 07:47, 12 November 2021 (UTC)Ortho is hot (talk) 08:07, 12 November 2021 (UTC) imported in 113683769Werrington Downs, 2747 Jack465 (talk) 07:47, 12 November 2021 (UTC)Ortho is hot (talk) 08:07, 12 November 2021 (UTC) imported in 113683769Werrington County, 2747 Jack465 (talk) 07:47, 12 November 2021 (UTC)Ortho is hot (talk) 08:07, 12 November 2021 (UTC) imported in 113683769- Blaxland, 2774 Jack465 (talk) 05:53, 27 April 2022 (UTC)
- Glenbrook, 2773 Jack465 (talk) 05:53, 27 April 2022 (UTC)
--Place your request above this line--
Park & Ride
The Park & Ride dataset is available here (account required). Given the (current) lack of detail with the dataset (name, suburb, and corresponding GTFS ID), as well as representations with just nodes, this dataset is not particularly suited to an important. It may be helpful as a reference, as well as to determine if there are missing parking lots from OSM. As OpenStreetMap has existing tagging schemes for these facilities, tagging should be done as follows:
amenity=parking parking=* park_ride=yes access=customers name=*