These fields are all optional and need only
be supplied if you would like a direct reply.
Subject
Your email address
Your real name
You must answer this!
If you don't, my spam filtering will
ensure that I never see your email.
What's 8 plus five (in digits only)?
Please make your changes here and then
Editing tips and layout rules.
File: LondonMidlandStations ********> width="50%" After an unpleasant incident on a journey I received a satisfactory response from London Midland. In addition to the apology they sent me some tokens for train travel. Apparently I can exchange them for cash at a London Midland managed station, which is nice, provided it has a ticket office. So I asked: "Which stations are managed by London Midland?" They couldn't say. Which seemed odd. I wondered "How hard can it be?" So I wrote a couple of scripts, scraped the National Rail Enquiries site, and here is the answer. Of course, I also extracted /*all*/ the TrainStationLocations. ******** width="49%" ********< |>> | |>> *Station* <<| | *Code* | |>> *Grid*ref* <<| | |>> *Lat/Long* <<| | |>> *Postcode* <<| | |>> *Ticket* _ *office* <<| | | Acocks Green | ACG | 412100 283000 | 52.445 -1.822 | B27 6EB | |>> Y <<| | | Acton Bridge _ (Cheshire) | ACB | 362400 373100 | 53.254 -2.563 | CW8 2RE | |>> N <<| | | Adderley Park | ADD | 410300 286700 | 52.478 -1.849 | B9 4TG | |>> Y <<| | | Albrighton | ALB | 381700 304000 | 52.633 -2.27 | WV7 3DS | |>> N <<| | | Alvechurch | ALV | 403500 273100 | 52.355 -1.948 | B48 7SE | |>> N <<| | | Apsley | APS | 505600 205400 | 51.737 -0.47 | HP3 9SX | |>> Y <<| | | Aspley Guise | APG | 489200 233500 | 51.992 -0.7 | MK17 8XF | |>> N <<| | | Aston | AST | 407800 289600 | 52.504 -1.885 | B6 7PR | |>> Y <<| | | Atherstone | ATH | 429900 298700 | 52.585 -1.558 | CV9 1BH | |>> N <<| | | Barlaston | BRT | 388500 339000 | 52.948 -2.171 | ST12 9DQ | |>> N <<| | | Barnt Green | BTG | 399400 276700 | 52.388 -2.009 | B45 8PA | |>> N <<| | | Bearley | BER | 419600 254200 | 52.185 -1.713 | CV37 0EU | |>> Y <<| | | Bedford St Johns | BSJ | 504500 248000 | 52.12 -0.473 | MK42 9AN | |>> N <<| | | Bedworth | BEH | 435800 286400 | 52.474 -1.473 | CV12 8JG | |>> N <<| | | Berkhamsted | BKM | 498900 208600 | 51.767 -0.567 | HP4 2AR | |>> Y <<| | | Berkswell | BKW | 429700 283000 | 52.444 -1.563 | CV7 7EF | |>> Y <<| | | Bescot Stadium | BSC | 401500 298000 | 52.579 -1.977 | WS1 4NH | |>> Y <<| | | Bilbrook | BBK | 387600 302900 | 52.623 -2.183 | WV8 1LE | |>> N <<| | | Birmingham Snow Hill | BSW | 406700 287000 | 52.48 -1.902 | B3 2BJ | |>> Y <<| | | Blake Street | BKT | 409600 298400 | 52.583 -1.858 | B74 4EB | |>> Y <<| | | Blakedown | BKD | 384700 276500 | 52.386 -2.224 | DY10 3LF | |>> N <<| | | Bletchley | BLY | 485600 233900 | 51.997 -0.753 | MK3 6DZ | |>> Y <<| | | Bloxwich North | BWN | 400700 302300 | 52.618 -1.99 | WS3 2NR | |>> N <<| | | Bloxwich | BLX | 400700 302300 | 52.618 -1.99 | WS3 2NY | |>> N <<| | | Bordesley | BBS | 410300 286700 | 52.478 -1.849 | B9 4HF | |>> N <<| | | Bournville | BRV | 404900 280500 | 52.422 -1.927 | B30 1LG | |>> Y <<| | | Bow Brickhill | BWB | 489200 233500 | 51.992 -0.7 | MK17 9JN | |>> N <<| | | Bricket Wood | BWO | 515100 203800 | 51.72 -0.333 | AL2 3LN | |>> N <<| | | Bromsgrove | BMV | 396600 269800 | 52.326 -2.049 | B60 2LX | |>> N <<| | | Butlers Lane | BUL | 409600 298400 | 52.583 -1.858 | B74 4RT | |>> Y <<| | | Canley | CNL | 430600 279500 | 52.412 -1.551 | CV5 6BH | |>> Y <<| | | Cannock | CAO | 398800 310200 | 52.689 -2.017 | WS11 8NQ | |>> N <<| | | Cheddington | CED | 491900 224300 | 51.909 -0.664 | LU7 0SQ | |>> N <<| | | Chester Road | CRD | 410700 295000 | 52.552 -1.841 | B73 5JS | |>> Y <<| | | Claverdon | CLV | 427700 259100 | 52.229 -1.595 | CV35 8PE | |>> Y <<| | | Codsall | CSL | 387600 302900 | 52.623 -2.183 | WV8 1BY | |>> N <<| | | Coleshill Parkway | CEH | 420800 290100 | 52.508 -1.694 | B46 1JZ | |>> Y <<| | | Colwall | CWL | 376600 244100 | 52.094 -2.342 | WR13 6RN | |>> N <<| | | Coseley | CSY | 394700 295500 | 52.557 -2.078 | WV14 8XP | |>> Y <<| | | Cosford | COS | 381700 304000 | 52.633 -2.27 | WV7 3EY | |>> N <<| | | Cradley Heath | CRA | 395400 286100 | 52.472 -2.068 | B64 5AL | |>> Y <<| | | Danzey | DZY | 414200 272600 | 52.351 -1.791 | B94 5BE | |>> N <<| | | Droitwich Spa | DTW | 389300 263400 | 52.268 -2.157 | WR9 9BD | |>> Y <<| | | Duddeston | DUD | 408700 288400 | 52.493 -1.873 | B7 4ST | |>> Y <<| | | Dudley Port | DDP | 396400 292800 | 52.532 -2.053 | DY4 8UB | |>> Y <<| | | Earlswood _ (West Midlands) | EWD | 414200 272600 | 52.351 -1.791 | B94 5JS | |>> N <<| | | Erdington | ERD | 409900 292300 | 52.528 -1.854 | B23 6UB | |>> Y <<| | | Fenny Stratford | FEN | 487400 234900 | 52.005 -0.726 | MK1 1BP | |>> N <<| | | Five Ways | FWY | 405200 285400 | 52.467 -1.924 | B15 1SF | |>> Y <<| | | Four Oaks | FOK | 409600 298400 | 52.583 -1.858 | B74 2TD | |>> Y <<| | | Garston _ (Hertfordshire) | GSN | 510300 197100 | 51.661 -0.405 | WD17 1EU | |>> N <<| | | Gravelly Hill | GVH | 409900 292300 | 52.528 -1.854 | B23 7NH | |>> Y <<| | | Great Malvern | GMV | 378200 246200 | 52.113 -2.319 | WR14 3AL | |>> Y <<| | | Hagley | HAG | 391700 282000 | 52.435 -2.122 | DY9 0NX | |>> Y <<| | | Hall Green | HLG | 410800 281000 | 52.427 -1.842 | B28 8AA | |>> Y <<| | | Hampton-in-Arden | HIA | 415400 282100 | 52.436 -1.774 | B92 0BJ | |>> Y <<| | | Hamstead _ (Birmingham) | HSD | 406000 292900 | 52.533 -1.911 | B42 1NJ | |>> Y <<| | | Hartford _ (Cheshire) | HTF | 362400 373100 | 53.254 -2.563 | CW8 1QX | |>> Y <<| | | Hartlebury | HBY | 384700 276500 | 52.386 -2.224 | DY10 4HB | |>> N <<| | | Hednesford | HNF | 400100 312100 | 52.706 -1.999 | WS12 1AZ | |>> N <<| | | Hemel Hempstead | HML | 505600 205400 | 51.737 -0.47 | HP3 9BQ | |>> Y <<| | | Henley-in-Arden | HNL | 415000 265300 | 52.285 -1.779 | B95 5JH | |>> N <<| | | How Wood _ (Herts) | HWW | 515100 203800 | 51.72 -0.333 | AL2 2NG | |>> N <<| | | Jewellery Quarter | JEQ | 405200 288200 | 52.491 -1.924 | B18 6LE | |>> Y <<| | | Kempston Hardwick | KMH | 498800 247700 | 52.118 -0.557 | MK43 9NT | |>> N <<| | | Kidderminster | KID | 384700 276500 | 52.386 -2.224 | DY10 1QZ | |>> Y <<| | | Kings Langley | KGL | 506700 202300 | 51.709 -0.456 | WD4 8LF | |>> Y <<| | | Kings Norton | KNN | 404900 280500 | 52.422 -1.927 | B30 3EG | |>> Y <<| | | Landywood | LAW | 398500 306700 | 52.658 -2.022 | WS6 6JE | |>> N <<| | | Langley Green | LGG | 398100 289400 | 52.502 -2.028 | B69 4LZ | |>> Y <<| | | Lea Hall | LEH | 414500 287000 | 52.48 -1.787 | B33 8JU | |>> Y <<| | | Ledbury | LED | 369600 238600 | 52.044 -2.444 | HR8 1AR | |>> Y <<| | | Leighton Buzzard | LBZ | 491900 224300 | 51.909 -0.664 | LU7 2LY | |>> Y <<| | | Lichfield City | LIC | 412300 310500 | 52.692 -1.818 | WS13 6HX | |>> Y <<| | | Lichfield Trent Valley | LTV | 412300 310500 | 52.692 -1.818 | WS13 6HE | |>> Y <<| | | Lidlington | LID | 498800 247700 | 52.118 -0.557 | MK43 0SA | |>> N <<| | | Long Buckby | LBK | 472000 269900 | 52.322 -0.944 | NN6 7QA | |>> Y <<| | | Longbridge | LOB | 401900 278900 | 52.408 -1.972 | B31 2TW | |>> Y <<| | | Lye _ (West Midlands) | LYE | 391700 282000 | 52.435 -2.122 | DY9 8ES | |>> N <<| | | Malvern Link | MVL | 378200 246200 | 52.113 -2.319 | WR14 1SW | |>> Y <<| | | Marston Green | MGN | 417600 286800 | 52.478 -1.741 | B37 7AB | |>> Y <<| | | Millbrook _ (Beds) | MLB | 505100 237400 | 52.024 -0.468 | MK45 2JH | |>> N <<| | | Milton Keynes Central | MKC | 485100 238800 | 52.041 -0.759 | MK9 1LA | |>> Y <<| | | Northampton | NMP | 476000 261000 | 52.241 -0.887 | NN1 1SP | |>> Y <<| | | Northfield | NFD | 401900 278900 | 52.408 -1.972 | B31 2PY | |>> Y <<| | | Norton Bridge | NTB | 390100 333700 | 52.9 -2.148 | ST15 0XY | |>> N <<| | | Nuneaton | NUN | 437100 291400 | 52.519 -1.453 | CV11 4BU | |>> Y <<| | | Oakengates | OKN | 370300 311500 | 52.7 -2.439 | TF2 6DH | |>> N <<| | | Old Hill | OHL | 395400 286100 | 52.472 -2.068 | B64 6PL | |>> Y <<| | | Olton | OLT | 415400 282100 | 52.436 -1.774 | B92 7AR | |>> Y <<| | | Park Street | PKT | 515100 203800 | 51.72 -0.333 | AL2 2NG | |>> N <<| | | Penkridge | PKG | 390100 312800 | 52.713 -2.147 | ST19 5AN | |>> N <<| | | Perry Barr | PRY | 405600 290700 | 52.514 -1.918 | B20 3JE | |>> Y <<| | | Polesworth | PSW | 422100 301000 | 52.606 -1.673 | B78 1BX | |>> N <<| | | Redditch | RDC | 403100 266800 | 52.299 -1.954 | B97 4RB | |>> Y <<| | | Ridgmont | RID | 498800 247700 | 52.118 -0.557 | MK43 0XP | |>> N <<| | | Rowley Regis | ROW | 397100 287300 | 52.483 -2.042 | B65 0LJ | |>> Y <<| | | Rugeley Town | RGT | 405600 317900 | 52.758 -1.917 | WS15 1BL | |>> N <<| | | Rugeley Trent Valley | RGL | 405600 317900 | 52.758 -1.917 | WS15 3HA | |>> N <<| | | Sandwell & Dudley | SAD | 399800 291400 | 52.52 -2.003 | B70 7JD | |>> Y <<| | | Selly Oak | SLY | 403600 282200 | 52.437 -1.947 | B29 6DW | |>> Y <<| | | Shenstone | SEN | 412600 307300 | 52.663 -1.814 | WS14 0NW | |>> Y <<| | | Shifnal | SFN | 375700 307300 | 52.663 -2.36 | TF11 9QB | |>> N <<| | | Shirley | SRL | 412000 278100 | 52.4 -1.824 | B90 2NE | |>> Y <<| | | Small Heath | SMA | 410100 285800 | 52.47 -1.851 | B10 0DP | |>> Y <<| | | Smethwick Galton Bridge | SGB | 402400 288400 | 52.493 -1.964 | B66 1HU | |>> Y <<| | | Smethwick Rolfe Street | SMR | 402400 288400 | 52.493 -1.964 | B66 2AF | |>> Y <<| | | Spring Road | SRI | 409600 284100 | 52.454 -1.858 | B11 3DP | |>> Y <<| | | St Albans Abbey | SAA | 515800 206900 | 51.748 -0.322 | AL1 2DN | |>> N <<| | | Stechford | SCF | 414500 287000 | 52.48 -1.787 | B33 8AJ | |>> Y <<| | | Stewartby | SWR | 498800 247700 | 52.118 -0.557 | MK43 9LY | |>> N <<| | | Stone _ (Staffs) | SNE | 390100 333700 | 52.9 -2.148 | ST15 8ER | |>> N <<| | | Stourbridge Junction | SBJ | 389500 284700 | 52.46 -2.154 | DY8 1NH | |>> Y <<| | | Stourbridge Town | SBT | 389500 284700 | 52.46 -2.154 | DY8 1EX | |>> Y <<| | | Stratford-upon-Avon | SAV | 419600 254200 | 52.185 -1.713 | CV37 6PL | |>> Y <<| | | Sutton Coldfield | SUT | 410700 295000 | 52.552 -1.841 | B73 6AY | |>> Y <<| | | Tame Bridge Parkway | TAB | 398600 295900 | 52.56 -2.021 | WS10 0LD | |>> Y <<| | | Tamworth | TAM | 421600 305900 | 52.65 -1.681 | B79 7JT | |>> Y <<| | | Telford Central | TFC | 370000 307500 | 52.664 -2.444 | TF3 4LZ | |>> Y <<| | | The Hawthorns | THW | 402400 288400 | 52.493 -1.964 | B66 2HB | |>> Y <<| | | The Lakes _ (Warks) | TLK | 414200 272600 | 52.351 -1.791 | B94 5SE | |>> N <<| | | Tile Hill | THL | 429600 277900 | 52.398 -1.565 | CV4 8AS | |>> Y <<| | | Tipton | TIP | 396400 292800 | 52.532 -2.053 | DY4 8ET | |>> Y <<| | | Tring | TRI | 492400 211600 | 51.795 -0.66 | HP23 5QR | |>> Y <<| | | Tyseley | TYS | 409600 284100 | 52.454 -1.858 | B11 2HH | |>> Y <<| | | University _ (Birmingham) | UNI | 405200 285400 | 52.467 -1.924 | B15 2FB | |>> Y <<| | | Walsall | WSL | 399900 299000 | 52.588 -2.002 | WS2 9JS | |>> Y <<| | | Water Orton | WTO | 420800 290100 | 52.508 -1.694 | B46 1NE | |>> N <<| | | Watford Junction | WFJ | 510300 197100 | 51.661 -0.405 | WD17 1EU | |>> Y <<| | | Watford North | WFN | 512200 197800 | 51.667 -0.377 | WD2 4QN | |>> N <<| | | Wedgwood | WED | 388500 339000 | 52.948 -2.171 | ST12 9ER | |>> N <<| | | Wellington _ (Shropshire) | WLN | 366000 311800 | 52.703 -2.503 | TF1 1BY | |>> Y <<| | | Whitlocks End | WTE | 412000 278100 | 52.4 -1.824 | B90 1PN | |>> N <<| | | Widney Manor | WMR | 414800 279600 | 52.413 -1.782 | B91 3LB | |>> Y <<| | | Wilmcote | WMC | 419600 254200 | 52.185 -1.713 | CV37 9UP | |>> N <<| | | Wilnecote _ (Staffs) | WNE | 422500 302400 | 52.618 -1.667 | B77 5AL | |>> N <<| | | Winsford | WSF | 364800 366100 | 53.19 -2.526 | CW7 3NF | |>> Y <<| | | Witton _ (West Midlands) | WTT | 407800 289600 | 52.504 -1.885 | B6 7BA | |>> N <<| | | Woburn Sands | WOB | 489200 233500 | 51.992 -0.7 | MK17 8UD | |>> Y <<| | | Wolverton | WOL | 481200 240600 | 52.057 -0.816 | MK12 5LJ | |>> Y <<| | | Wood End | WDE | 414200 272600 | 52.351 -1.791 | B94 5DS | |>> Y <<| | | Wootton Wawen | WWW | 415000 265300 | 52.285 -1.779 | B95 6BJ | |>> Y <<| | | Worcester Foregate Street | WOF | 385200 255500 | 52.197 -2.217 | WR1 1DB | |>> Y <<| | | Worcester Shrub Hill | WOS | 387400 256300 | 52.205 -2.184 | WR4 9EJ | |>> Y <<| | | Wylde Green | WYL | 410700 295000 | 52.552 -1.841 | B73 5LA | |>> Y <<| | | Wythall | WYT | 408200 276600 | 52.387 -1.88 | B47 6BY | |>> N <<| | | Yardley Wood | YRD | 410800 281000 | 52.427 -1.842 | B28 0BY | |>> Y <<| | <<| And that's that.