London Underground with OJP

162 views
Skip to first unread message

Alexander MacLeod

unread,
Jan 2, 2017, 11:26:08 AM1/2/17
to A gathering place for the Open Rail Data community
Dear all, 

I am looking to implement the functionality of planning journeys with London Underground stations into my application. I am using the same OJP service as National Rail Enquires to plan my journeys. For example, if I were to search Covent Garden using the official online journey planner with National Rail Enquires, a tube station will appear as a valid station result.

I am currently using the station codes (found here: http://www.nationalrail.co.uk/stations_destinations/48541.aspx) as my station "bank" in my application. However, I have noticed that this list does not include London Underground CRS codes or equivalent. Would someone able to confirm that London Underground stations do indeed work with the OJP service and if so, would you be able to provide a list of CRS codes or equivalent of London Underground stations that work with the planner?

Many thanks,
Alexander 

andrew.t...@gmail.com

unread,
Jan 3, 2017, 9:44:46 AM1/3/17
to A gathering place for the Open Rail Data community
For long, complicated reasons TfL timetable data isn't currently included within National Rail services. Instead this data is maintained via a series of 'fixed links' using dummy timings and, where necessary, dummy locations. As this data has to be manually maintained it has some limitations:

If the link is between two NR locations (e.g. between Kings Cross and Paddington) then they can be included as the first, last or a middle leg of a journey plan. This can be within any zone.

If the link includes a non-NR location (e.g. between Kings Cross and Oxford Circus) then it can only be at the beginning or end of a journey plan (i.e. will never be returned as a 'middle' leg). These links are limited to underground locations in Zone 1 plus DLR locations (any zone).

A list of these locations is below (the dummy locations are the ones with alphanumeric CRS codes):

Abbey Road,ZAL
Aldgate,ZAD
Aldgate East Lul,ZAE
All Saints,2DA
Angel,ZAN
Baker Street,ZBS
Bank,ZBA
Barbican,ZBB
Bayswater,ZBY
Beckton,3DA
Beckton Park,3DB
Blackwall,2DB
Bond Street,ZBD
Borough,ZBU
Bow Church,2DC
Canary Wharf,2DD
Canning Town,3BA
Chancery Lane,ZCY
Covent Garden,ZCV
Crossharbour,2DE
Custom House,3DD
Cutty Sark,ZAA
Cyprus,3DE
Devons Road,2DF
Earl's Court,ZET
East India,2DG
Edgware Road,ZER
Elverson Road,ZAC
Embankment,ZEK
Euston Square,ZES
Gallions Reach,3DF
Gloucester Road,ZGR
Goodge Street,ZGS
Great Portland Street,ZGP
Green Park,ZGE
Heathrow Underground,ZHJ
Heron Quays,2DH
High Street Kensington,ZHS
Holborn,ZHO
Hyde Park Corner,ZHY
Island Gardens,2DI
King George V,3DG
Knightsbridge,ZKN
Lambeth North,ZLN
Lancaster Gate,ZLA
Langdon Park,2DJ
Leicester Square,ZLS
London City Airport,3DH
Mansion House,ZMH
Marble Arch,ZMA
Monument,ZMM
Mudchute,2DK
Newbury Park,ZNP
Notting Hill Gate,ZNG
Oxford Circus,ZOC
Piccadilly Circus,ZPC
Pimlico,ZPO
Pontoon Dock,3DI
Poplar,2DL
Prince Regent,3DJ
Pudding Mill Lane,ZPM
Queensway,ZQW
Regents Park,ZRP
Royal Albert,3DK
Royal Victoria,3DL
Russell Square,ZRS
Sloane Square,ZLQ
South Kensington,ZSK
South Quay,2DM
St James's Park,ZSS
St Paul's,ZSP
Star Lane,3DM
Temple,ZTM
Tottenham Court Road,ZTC
Tower Gateway,1DA
Tower Hill,ZTH
Warren Street,ZWS
West India Quay,2DN
West Silvertown,3DN
Westferry,2DO
Westminster,ZWM
Reply all
Reply to author
Forward
0 new messages