Hi all,
So having worked out the differences thanks to the wiki between the TD and MVT feeds and determined which one is most appropriate for my needs, I'm now moving on to mapping train movements to a geographic location.
I downloaded the NaPTAN csv zip and found that whilst it has very useful data in it, it does not have Lat/Long data, only North/East.
The XML file does have this data in it, however unlike the CSV it is not split into various services so I need to read in the entire XML file (which, at 512M, almost immediately gets punched by OOMKiller on most of my linux boxes!), work out which stops I need and then import those into the database.
I then found the link to
http://trains.barrycarlyon.co.uk/data/locations/ and the MySQL dump that is available there, however unfortunately for me the geo-data is not part of that data set.
I guess my first question is "Can I get a copy of the XML file from anywhere split into chunks in the same way that the CSV file is done?". My second question (which should probably be my first now that I think about it!) is "What is the best source of TIPLOC/CRS data that has the latitude/longitude of each point?" (i.e. is there an alternative to NaPTAN in this respect?).
If anyone can help, I'd be very grateful!
Kind regards,
Matt