/StopPoint/naptanid missing lines


#1

Hi,

I’m attempting to use the /StopPoint/naptanid API with bus stop naptanids to find the lines that a passenger can change on to from a given bus stop.

Most of the time, this is great. As an example, the naptanid 490000123B at Kentish Town station returns lines “Northern” and “Thameslink”. Just what I’m after.

Unfortunately though, a large number of stops return a handy list of bus lines that call there, and the fact that Help Points are mentioned on the platforms, but no non-bus lines are shown.

Examples of naptanids which exhibit this missing data are 490001108W (Fenchurch Street Station) and 490000094B (Gunnersbury station).

I did think that this was a TfL thing, and that lines aren’t shown at non-TfL stations, but 490001237G (Raynes Park Station) correctly returns “South Western Railway” as a line.

Am I misusing this API, or is there a data problem?

Thanks,

John


#2

Hello @JohnSmith,

I can’t see any issues with the Fenchurch Street lines - C2C & bus 40 are both showing there.

“lines”: [
{
"$type": “Tfl.Api.Presentation.Entities.Identifier, Tfl.Api.Presentation.Entities”,
“id”: “40”,
“name”: “40”,
“uri”: “/Line/40”,
“type”: “Line”,
“crowding”: {
"$type": “Tfl.Api.Presentation.Entities.Crowding, Tfl.Api.Presentation.Entities”
}
},
{
"$type": “Tfl.Api.Presentation.Entities.Identifier, Tfl.Api.Presentation.Entities”,
“id”: “c2c”,
“name”: “c2c”,
“uri”: “/Line/c2c”,
“type”: “Line”,
“crowding”: {
"$type": “Tfl.Api.Presentation.Entities.Crowding, Tfl.Api.Presentation.Entities”
}
}
],

In terms of Gunnersbury, I’ve tried using the top level Naptan to find the lines - https://api.tfl.gov.uk/StopPoint/910GGNRSBRY - this does give the Overground & District back, but no buses.

We’ll take a look at the data under ticket SVC-5079.

Thanks,
James


#3

Thanks @jamesevans, it is odd though that I agree that the Fenchurch St stop now shows c2c, when it definitely didn’t at the weekend! I’ve got literally tens of similar issues, would you like me to send them to you too if they’re still wrong?

Regards,

John


#4

Hi @JohnSmith,

Not sure what was happening at the weekend - potentially engineering works?

If you can let me know of the others, I can check some of those out too.

Thanks ,
James


#5

Hi @jamesevans,

There are quite a lot of these… these are the stops where the bus_stops.csv file lists an interchange by the ‘#’ or ‘<>’ symbols, but I can’t find a rail or tube line by calling StopPoint/naptanid

490000094B GUNNERSBURY STATION <> #
490010149J HOLLAND RD / KENSINGTON OLYMPIA STN <> #
490004026B BIRDHURST ROAD / SOUTH CROYDON STATION #
490001258A BIRDHURST ROAD / SOUTH CROYDON STATION #
490011275C PURLEY WAY / WADDON STATION #
490011275D PURLEY WAY / WADDON STATION #
490013603C PURLEY OAKS STATION #
490013603N PURLEY OAKS STATION #
490003152E ALBERT BRIDGE / CADOGAN PIER
490012082A WEST HAMPSTEAD STN<> / BROADHURST GDNS
490012617E STATION ROAD / CHINGFORD STATION #
490014875C WOOD LANE / HIGHGATE STATION <>
490014875D WOOD LANE / HIGHGATE STATION <>
490000065C EAST ACTON STATION<> / FITZNEAL STREET
490015471B WOOD GREEN STATION<> / RIVER PARK ROAD
490009371Y SOUTH HAMPSTEAD STATION # / LOUDOUN ROAD
490009371W SOUTH HAMPSTEAD STATION # / LOUDOUN ROAD
490007086B GALLEYWALL ROAD / SOUTH BERMONDSEY STN#
490011719A ROTHERHITHE NEW RD / STH BERMONDSEY STN#
490015157V PUTNEY BRIDGE STN <> / GONVILLE STREET
490010626C TURKEY STREET STATION #
490019454S TOTTENHAM HIGH ROAD / BRUCE GROVE STN #
490015465D NOTTING HILL GATE STN <> / HILLGATE ST
490015465E NOTTING HILL GATE STN <> / HILLGATE ST
490015039B NOTTING HILL GATE STN <> / PEMBRIDGE RD
490003057S1 STREATHAM COMMON STATION #
490001128L AMHURST ROAD / HACKNEY DOWNS STATION #
490001281G LEIGHAM COURT RD / STREATHAM HILL STN #
490001281H LEIGHAM COURT RD / STREATHAM HILL STN #
490004037BE BIRSTALL ROAD / SEVEN SISTERS STN <> #
490001112B FOREST HILL STATION # / LONDON ROAD
490009136D LEYTON HIGH ROAD / LEYTON STATION <>
490015199B GANTS HILL STATION <> / WOODFORD AVENUE
490000085A GANTS HILL STATION <>/ WOODFORD AVENUE
490006576B ENFIELD BUS GARAGE / SOUTHBURY STATION #
490006377SD MANOR ROAD / NORTH SHEEN STATION #
490005329SG CAVENDISH ROAD / CLAPHAM SOUTH STN <>
490005329SH CAVENDISH ROAD / CLAPHAM SOUTH STN <>
490001285D VICTORIA ROAD / SURBITON STATION #
490005945K DALSTON LANE / DALSTON JUNCTION STN #
490015151H MILE END STATION <>/ BOW ROAD
490013767D TRAFALGAR SQUARE / CHARING CROSS STN <>#
490000148G KING WILLIAM STREET / MONUMENT STN <>
490009772N HIGH BARNET STATION<> / MEADWAY
490015174A MORDEN ROAD / SOUTH WIMBLEDON STATION <>
490003789G FELTHAM STATION # / VICTORIA ROAD
490006659E REDBRIDGE STATION <>
490000250D WANSTEAD HIGH ST / WANSTEAD STATION <>
490000094D GUNNERSBURY STATION # <>
490000118D HOUNSLOW WEST STN <> / VICARAGE FARM RD
490010689OJ GREAT TITCHFIELD ST / OXFORD CIRCUS STN <>
490015502N MARYLEBONE STATION <> #
490015502P MARYLEBONE STATION <> #
490004862R CATFORD & CATFORD BRIDGE STATIONS #
490015243Y KILBURN HIGH RD STN # / CAMBRIDGE AVENUE
490007102NE GALSWORTHY ROAD / NORBITON STATION #
490015505C OAKWOOD STATION <> / CHASE ROAD
490010209B NEW ELTHAM STATION # / FOOTSCRAY ROAD
490003789H FELTHAM STATION # / VICTORIA ROAD
490003324B ANGEL CORNER / SILVER STREET STATION#
490003324A ANGEL CORNER / SILVER STREET STATION#
490008435E PUTNEY BRIDGE STN <>/ FULHAM HIGH STREET
490000227A SUDBURY HILL STN <> / HORSENDEN AVE
490001112E FOREST HILL STATION # / DARTMOUTH ROAD
490001216P PORTLAND ROAD / NORWOOD JCT STATION #
490001027BA BIRKBECK STATION # >T<
490001027BB BIRKBECK STATION # >T<
490001334B STATION ROAD / WEST WICKHAM STATION #
490001334A BECKENHAM ROAD / WEST WICKHAM STATION #
490001128M HACKNEY DOWNS STATION # / DALSTON LANE
490009136C LEYTON HIGH ROAD / LEYTON STATION <>
490006398J BETHNAL GRN RD / SHOREDITCH HIGH ST STN #
490006184E DOWNS ROAD / BELMONT STATION #
490006184F DOWNS ROAD / BELMONT STATION #
490011114BC POPLAR RECREATION GRD / POPLAR STN [DLR]
490011114AD POPLAR RECREATION GROUND [DLR]
490001058F CHARLTON STATION # / WOOLWICH ROAD
490000239H TUFNELL PARK STATION<> / BRECKNOCK ROAD
490001205A NEW ELTHAM STATION # / FOOTSCRAY ROAD
490012254A SOUTHBOROUGH ROAD / BICKLEY STATION #
490012122B BROMLEY ROAD / SHORTLANDS STATION #
490001225C HIGH STREET / PENGE WEST STATION #
490012640M FLEET STREET / CITY THAMESLINK #
490006475B ELGIN AVENUE / MAIDA VALE STATION <>
490014215N STRATFORD HIGH ST STN [DLR] / CARPENTERS RD
490001007AA ANERLEY ROAD / ANERLEY STATION #
490004815S STRATFORD HIGH ST [DLR]/ CARPENTERS ROAD
490012605C STATION APPROACH / SOUTH RUISLIP STN <>#
490015157T PUTNEY BRIDGE STN <> / GONVILLE STREET
490000130K2 SLOANE STREET / KNIGHTSBRIDGE STATION <>
490006170S HAGGERSTON STATION # / DOWNHAM ROAD
490007154S HOXTON STATION # / GEFFRYE MUSEUM
490006726N HOXTON STATION >LOL< / GEFFRYE MUSEUM
490001252C HOWBURY LANE / SLADE GREEN STATION #
490000130KC KNIGHTSBRIDGE STATION <> / HARRODS
490001013D NORTHALL ROAD / BARNEHURST STATION #
490001013C NORTHALL ROAD / BARNEHURST STATION #
490013344P PUTNEY PIER >R<
490013344Q PUTNEY PIER >R<
490001220D ORPINGTON BUS STATION #
490015165A CLAREMONT ROAD / SURBITON STATION #
490013260B THE BERRYLANDS / BERRYLANDS STATION #
490013260A THE BERRYLANDS / BERRYLANDS STATION #
490000223B SOUTH LAMBETH ROAD / STOCKWELL STN <>
490000070B EDGWARE STATION <> / STATION ROAD
490011570A RIDDLESDOWN SCHOOL / RIDDLESDOWN STN #
490011570B RIDDLESDOWN SCHOOL / RIDDLESDOWN STN #
490011065W2 HOPE STREET - PLANTATION WHARF PIER >R<
490011065E HOPE STREET / PLANTATION WHARF PIER >R<
490001069M CLAPHAM JUNCTION STATION #
490000051G CLAPHAM NTH & HIGH STREET STNS <> #
490000234E MITCHAM ROAD / TOOTING BROADWAY STN <>
490015177H HATHERLEY CRESCENT / SIDCUP STATION #
490001097D ELTHAM STATION # / SHERARD ROAD
490006532E ELTHAM STATION # / LASSA ROAD
490015177L SIDCUP STATION # / STATION ROAD
490001281A STREATHAM HILL STN # / STREATHAM HILL
490000229S LOWER ROAD / SURREY QUAYS STATION <>
490015513K TOOTING BROADWAY <> / STH THAMES COLLEGE
490001053M CATFORD & CATFORD BRIDGE STATIONS #
490001053P CATFORD & CATFORD BRIDGE STATIONS #
490004862S CATFORD & CATFORD BRIDGE STATIONS #
490001112A FOREST HILL STATION # / LONDON ROAD
490000223F CLAPHAM ROAD / STOCKWELL STATION <>
490001112D FOREST HILL STATION # / LONDON ROAD
490010164S VAUXHALL BRIDGE ROAD / VICTORIA STN <>#
490000112M KINGSWAY / HOLBORN STATION <>
490006211B EAST ACTON STATION <> / ERCONWALD STREET
490013890W TYRWHITT ROAD / ST JOHNS STATION #
490000151H LONDON ROAD / MORDEN STATION <>
490015390G LONDON ROAD / MORDEN STATION <>
490001089E4 CHERRY ORCHARD RD / EAST CROYDON STN # >T<
490006532K ELTHAM STATION # / LASSA ROAD
490001220F ORPINGTON BUS STATION #
490001220E ORPINGTON BUS STATION #
490013160R TATE BRITAIN / MILLBANK MILLEN’M PIER >R<
490013160N TATE BRITAIN / MILLBANK MILLEN’M PIER >R<
490000094A GUNNERSBURY STATION <> #
490015429S SPRINGBANK ROAD / HITHER GREEN STATION#
490013702D TOLWORTH TOWER / TOLWORTH STATION #
490015165B SURBITON STATION #
490015495E DOLLIS PARK / FINCHLEY CENTRAL STN <>
490015060L CLAPHAM JUNCTION STATION #
490010337D STONEBRIDGE PARK STN <> # / POINT PLACE
490012254B SOUTHBOROUGH ROAD / BICKLEY STATION #
490001112F FOREST HILL STATION # / DEVONSHIRE ROAD
490001281D STREATHAM HILL STN # / STREATHAM HILL
490011278S ST MARY’S CHURCH / PUTNEY PIER >R<
490011278R ST MARY’S CHURCH / PUTNEY PIER >R<
490000234C MITCHAM ROAD / TOOTING BROADWAY STN <>
490012591CP CROUCH HILL STATION # / HANLEY ROAD
490006170N1 HAGGERSTON STATION >LOL<
490000223M CLAPHAM ROAD / STOCKWELL STATION <>
490006135T DORSET SQUARE / MARYLEBONE STATION <> #
490006135U DORSET SQUARE / MARYLEBONE STATION<> #
490000144R MARBLE ARCH STATION <> / PARK LANE
490012066A SHEPHERD’S BUSH MARKET STATION <>
490012066B SHEPHERD’S BUSH MARKET STATION <>
490009644E GRAHAM ROAD / HACKNEY CENTRAL #
490014050A VICTORIA BUS STATION # <>
490007281U PUTNEY BRIDGE STN <> / GONVILLE STREET
490013798N TRINITY AVENUE / BUSH HILL PARK STN #
490005945L KINGSLAND HIGH STREET / DALSTON JCT #
490014050B VICTORIA BUS STATION <> #
490014050C VICTORIA BUS STATION <> #
490000173RF OXFORD CIRCUS STN <> / MARGARET STREET
490000026E BOROUGH STATION <> / GREAT DOVER STREET
490009813D MOLLISON AVENUE / PONDERS END #
490010976C QUEENSWAY / PETTS WOOD STATION #
490010976B QUEENSWAY / PETTS WOOD STATION #
490001252A FOREST ROAD / SLADE GREEN STATION #
490015173D STH KENSINGTON STN <> / OLD BROMPTON RD
490000252R WARREN STREET STATION <> / EUSTON ROAD
490012020A ST GEORGE’S TOWN HALL / SHADWELL STN <>
490000082T CANFIELD GARDENS / FINCHLEY ROAD STN <>
490000098A HAMPSTEAD STATION <>/ HAMPSTEAD HIGH ST
490010689KB GREAT TITCHFIELD ST / OXFORD CIRCUS STN <>
490000173OQ OXFORD CIRCUS STN <> / HAREWOOD PLACE
490014050D VICTORIA BUS STATION # <>
490011133N PORTMAN STREET / MARBLE ARCH STATION <>
490008875KH KNIGHTSBRIDGE STATION <> / HARRODS
490015174B MORDEN ROAD / SOUTH WIMBLEDON STATION <>
490011111T POPLAR HIGH STREET / BLACKWALL [DLR]
490012591CO CROUCH HILL STATION # / HANLEY ROAD
490015196OF OXFORD CIRCUS STATION <> / JOHN LEWIS
490001227L PLUMSTEAD HIGH STREET / PLUMSTEAD STN #
490013843S TURKEY STREET STATION #
490013843N TURKEY STREET STATION #
490011278N ST MARY’S CHURCH / PUTNEY PIER >R<
490000036R CAMDEN TOWN STATION<> / CAMDEN STREET
490000092W2 ROCKWARE AVENUE / GREENFORD STATION <> #
490001001D HARROW MANORWAY / ABBEY WOOD STATION #
490015388D STATION SQUARE / PETTS WOOD STATION #
490006919K FOREST HILL STATION # / WALDRAM CRESCENT
490013060Q SUTTON STATION # / THE QUADRANT
490014043A VICARAGE RD / WANDLE PARK TRAM STOP >T<
490001227E PLUMSTEAD ROAD / PLUMSTEAD STATION #
490001227F PLUMSTEAD ROAD / PLUMSTEAD STATION #
490003917D BERESFORD SQ / WOOLWICH ARSENAL STN [DLR]
490015147S2 PICARDY MANORWAY / BELVEDERE STATION #
490010947N HEATH STREET / HAMPSTEAD STATION <>
4900019445 BINFIELD ROAD / STOCKWELL STATION <>
490001097C ELTHAM STATION # / SHERARD ROAD
490001201D NEW BARNET STATION # / STATION ROAD
490010192W NEW BARNET STATION # / STATION ROAD
490011802D RUSKIN AVENUE / WELLING STATION #
490004922C CENTRAL AVENUE / WELLING STATION #
490001097S ELTHAM BUS STATION #
490001097A ELTHAM BUS STATION #
490001020N BELMONT STATION # / BRIGHTON ROAD
490001069D CLAPHAM JUNCTION STATION #
40004410116B WHYTELEAFE & UPPER WARLINGHAM STNS #
40004410116A WHYTELEAFE & UPPER WARLINGHAM STNS #
490011270M PURLEY STATION # / PURLEY HIGH STREET
490013437S THE KENLEY HOTEL / KENLEY STATION #
490013437W THE KENLEY HOTEL / KENLEY STATION #
490001258F RUSKIN PARADE / SOUTH CROYDON STATION #
490006377SE MANOR ROAD / NORTH SHEEN STATION #
490013701C TOLWORTH TOWER / TOLWORTH STATION #
490001020S BELMONT STATION # / BRIGHTON ROAD
490015074Z TOWER HILL / TOWER GATEWAY STATION [DLR]
490019455S STONEBRIDGE RD / SEVEN SISTERS STN <> #
490006475A ELGIN AVENUE / MAIDA VALE STATION <>
490000023J BLACKFRIARS STATION<># / NORTH ENTRANCE
490000051B CLAPHAM NORTH & HIGH STREET STNS <> #
490007616N HACKBRIDGE CORNER / HACKBRIDGE STATION #
490000142A MANOR HOUSE STATION <> / WOODBERRY GROVE
490000144H MARBLE ARCH STATION <> / EDGWARE ROAD
490003880A LOWER ROAD / BELVEDERE STATION #
490006615L ERITH STATION # / WEST STREET
490000026F BOROUGH STATION <> / GREAT DOVER STREET
490013586W WADDON STATION #
490013586E WADDON STATION #
490001007AB ANERLEY ROAD / ANERLEY STATION #
490007616C HACKBRIDGE CORNER / HACKBRIDGE STATION #
490012708F ST GEORGE’S SQUARE / PIMLICO STATION <>
490012708G ST GEORGE’S SQUARE / PIMLICO STATION <>
490014496M WESTMINSTER CATHEDRAL / VICTORIA STN <> #
490009536N MARYLAND STATION # / MANBEY GROVE
490015386E PRINCE REGENT STATION [DLR]
490008165C HIGH HOLBORN / CHANCERY LANE STATION <>
490012640L FLEET STREET / CITY THAMESLINK #
490001108E FENCHURCH STREET STATION #
490009443F CITY THAMESLINK STN # / LUDGATE CIRCUS
490007596L POULTRY / BANK STATION <> [DLR]
490015193D OLD STREET STN <># / MOORFIELDS EYE HOSP
490015202M GANTS HILL STATION <>/ CRANBROOK ROAD
490015202N GANTS HILL STATION <>/ CRANBROOK ROAD
490000148T GRACECHURCH STREET / MONUMENT STATION <>
490006768W RIVERSIDE QUARTER PIER >R<
490006768E RIVERSIDE QUARTER PIER >R<
490009843F CLAPHAM JUNCTION STATION # / FALCON ROAD
490009843G CLAPHAM JUNCTION STATION # / FALCON ROAD
490015175A SLOANE STREET / SLOANE SQUARE STATION <>
490003621D GOODMAYES ROAD / GOODMAYES STATION#
490013541A WHITECHAPEL STN <> / ROYAL LONDON HOSP
490009873D WHITECHAPEL STN <> # / ROYAL LONDON HOSP
490010121N MUNDAY ROAD / ROYAL VICTORIA [DLR]
490000062A EALING BROADWAY STN <> # / HAVEN GREEN
490014459B WESTFERRY STATION [DLR]
490012165S DOUBLETREE DOCKLANDS / NELSON DOCK PIER >R<
490012165N DOUBLETREE DOCKLANDS / NELSON DOCK PIER >R<
490000145LA MARYLEBONE STATION <>
490009139A LEYTONSTONE STN <> / GROVE GREEN ROAD
490009139B LEYTONSTONE STN <> / GROVE GREEN ROAD
490009139 LEYTONSTONE STATION <>/ GROVE GREEN ROAD
490000145L MARYLEBONE STATION <> #
490001169N KIDBROOKE STATION # / HENLEY CROSS
490015042U WARREN STREET STATION <>/ EUSTON ROAD
490000132P BAYLIS ROAD / LAMBETH NORTH STATION <>
490001089E8 DINGWALL ROAD / EAST CROYDON STATION #
490005070N IMPERIAL WHARF STATION# / IMPERIAL ROAD
490001334C RED LODGE ROAD / WEST WICKHAM STATION #
490001334D RED LODGE ROAD / WEST WICKHAM STATION #
490001235B RAINHAM STATION #
490001235A RAINHAM STATION #
490003101D ADDINGTON VILLAGE INTERCHANGE >T<
490003101A ADDINGTON VILLAGE INTERCHANGE >T<
490003101E ADDINGTON VILLAGE INTERCHANGE >T<
490002061B MUDCHUTE STATION [DLR] / SPINDRIFT AVE
490012020B ST GEORGE’S TOWN HALL / SHADWELL STN <>
490002004E AMPERE WAY TRAM STOP >T< / VALLEY PARK
490001058H CHARLTON STN # / CHARLTON CHURCH LANE
490000008R ARCHWAY STATION <> / HOLLOWAY ROAD
490000223A SOUTH LAMBETH ROAD / STOCKWELL STN <>
490007913Z4 EALING BROADWAY STN <> # / HAVEN GREEN
490001058J CHARLTON STN # / CHARLTON CHURCH LANE
490001267N2 ST HELIER STATION #
490014043B VICARAGE RD / WANDLE PARK TRAM STOP >T<
40004409050A BANSTEAD STATION #
40004409050B BANSTEAD STATION #
490014498S WESTMINSTER STN <> / WESTMR PIER >R<
490000130KE KNIGHTSBRIDGE STATION <> / HARRODS
490006170S1 HAGGERSTON STATION #
490013767C TRAFALGAR SQ / CHARING CROSS STN <> #
490013767A TRAFALGAR SQ / CHARING CROSS STN <> #
490004348D GREEN STREET / BRIMSDOWN STATION #
490004348C GREEN STREET / BRIMSDOWN STATION #
490001213C MARIGOLD ROAD / NORTHUMBERLAND PARK #
490001213D MARIGOLD ROAD / NORTHUMBERLAND PARK #
490016757N BROOKSBY’S WALK / HOMERTON STATION #
490006727E FALKIRK STREET / HOXTON STATION #
490001252N FOREST ROAD / SLADE GREEN STATION #
490016613S IMPERIAL WHARF STN # / CHELSEA HARBOUR
490013701N TOLWORTH STATION # / WOODLAND WAY
490014164A WALTHAMSTOW BUS STATION <>
490000249B WALTHAMSTOW BUS STATION <>
490014164C WALTHAMSTOW BUS STATION <> #
490000249E WALTHAMSTOW BUS STATION <> #


Most bus stops near stations return incorrect lat/lon in /Stoppoint