<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Ed ’n’ all.
<div class=""><br class="">
</div>
<div class="">Couple of points.</div>
<div class=""><br class="">
</div>
<div class="">1. Yes, you can download NaPTAN from <a href="http://data.gov" class="">
data.gov</a> under OGL. What you need to know for rail station entrances is that while the rail station data is all together with codes formed 9100<TIPLOC> (e.g. 9100LHONSEA for Leigh-on-sea), the station entrances are all maintained locally and hence have
 local codes. For example, Leigh-on-sea has two entrances, 1580LHONSEA0 and 1580LHONSEA1. My offer was to provide all of those (essentially static) data in one place as a set of e.g. geoJSON features.</div>
<div class=""><br class="">
</div>
<div class="">2. Yes, you can download traveline data under OGL as well, the TNDS. The standard (TransXChange, or TXC) is complex rather than nasty - it potentially covers a lot of bases. I have perhaps mentioned in the past that I am the standards support
 advisor for the DfT, so I am happy to provide advice on TXC if anyone wishes to direct mail me with questions. I also have a powerpoint presentation as an introduction to the standard if people would like to know more. But there is one point I want to stress,
 which is that the traveline data as downloadable only list stops - you cannot get route tracks out of it. So you can plot stop to stop, but there is no indication of routing. For SE, EM and EA I have access to data outside of TNDS which has (reasonable but
 not 100% accurate) track data in it. My offer was also to provide this as geoJSON. For ease I was going to keep it simple - this bus does these routes - without any attempt to determine whether it was every 5 minutes or once every other week. But for relations,
 this ought to be sufficient. I do need someone to mount them somewhere, though, so that they can be used for comparison with OSM. Rather selfishly, I would also like to take corrections back into my data set.</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class="">Regards,</div>
<div class="">Stuart Reynolds</div>
<div class="">for traveline south east & anglia</div>
</div>
<div class=""><br class="">
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 10 Jul 2017, at 17:20, Ed Loach <<a href="mailto:edloach@gmail.com" class="">edloach@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="">Ew. Bus route relations are a real time consuming pain to maintain. It is possible to get both the Naptan data and the Traveline data under OGL<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><a href="https://data.gov.uk/dataset/traveline-national-dataset" style="color: purple; text-decoration: underline;" class="">https://data.gov.uk/dataset/traveline-national-dataset</a><o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><a href="https://data.gov.uk/dataset/naptan" style="color: purple; text-decoration: underline;" class="">https://data.gov.uk/dataset/naptan</a><o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="">(though one requires you to register for an ftp login to download it, and you need to remember to convert to WGS84 where appropriate).<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="">The Traveline data conforms to a nasty standard which I can in some cases read using a program I’ve written to display all the route variants for a given service number. For other routes I’ve resorted to trying to parse the XML in a text editor.
 If I get chance I’ll see if I can get the code I wrote into github (possibly<span class="Apple-converted-space"> </span><a href="http://vb.net/" style="color: purple; text-decoration: underline;" class="">VB.Net</a>, possibly C# depending how long ago I wrote
 it). You stick the route files in a folder, browse to that folder to get a list on the left, click on one of the files to get a list of route variations top left, and see more information on a selected route variation below once selected. That shows stop references
 you can get from the naptan set if you can’t already find them in OSM.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="">I’d also recommend documenting the relations and when they were last revised. I subscribed to an email from Essex County Council which should report route changes, but I don’t think I’ve kept up to date with those. I occasionally also hunt similar
 news on the Suffolk website. Checking<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><a href="https://wiki.openstreetmap.org/wiki/Tendring(Essex)/Bus_Routes" style="color: purple; text-decoration: underline;" class="">https://wiki.openstreetmap.org/wiki/Tendring(Essex)/Bus_Routes</a><o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="">I’ve not done the May changes I read about and haven’t even got the new X76 service in the table. I’ve only included routes that pass through the Tendring district which is where I live. If you have more active mappers nearby you might want to
 combine the pages (e.g. if there were a Colchester  or Ipswich mapper doing bus routes I’ve already done some which cross the district boundary).<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class="">For national express routes I just include stops as I’m not sure how fixed the routes between them are – I’ve caught for example one from London back to Clacton and when it got nearer Clacton it only stopped at the stops where drop offs had been
 booked, and didn’t divert for example to Jaywick but took a shorter route to Great Clacton. (That example doesn’t happen to be in that wiki page for some reason – I need to check the 484 is still running.)<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<a name="_MailEndCompose" class=""><span class=""><o:p class=""> </o:p></span></a></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><span class="">As it mentions on the Tendring routes wiki page I mentioned above I had hoped to automate the validation – write a program to point at the wiki page, the latest naptan and traveline datasets, and then download each route master
 relation and its route member relations in turn and check whether they are still correct. This is still probably months (years?) from even being started.<o:p class=""></o:p></span></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><span class=""><o:p class=""> </o:p></span></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><span class="">Ed<o:p class=""></o:p></span></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span class=""><span class=""><o:p class=""> </o:p></span></span></div>
<span class=""></span>
<div style="border-style: none none none solid; border-left-width: 1.5pt; border-left-color: blue; padding: 0cm 0cm 0cm 4pt;" class="">
<div class="">
<div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><span lang="EN-US" class="">From:</span></b><span lang="EN-US" class=""><span class="Apple-converted-space"> </span>Brian Prangle [<a href="mailto:bprangle@gmail.com" class="">mailto:bprangle@gmail.com</a>]<span class="Apple-converted-space"> </span><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>10 July 2017 12:52<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>Talk GB <<a href="mailto:talk-gb@openstreetmap.org" class="">talk-gb@openstreetmap.org</a>><br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>[Talk-GB] Quarterly Project Summer 2017 July-Sept<o:p class=""></o:p></span></div>
</div>
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Hi everyone<o:p class=""></o:p></p>
</div>
<p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif;">
This will be to improve bus route relations and station entrances, by popular vote on OSMUK Loomio channel.<o:p class=""></o:p></p>
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Bus route relations can be tricky for the uninitiated ( and even for the initiated ) so perhaps this quarterly project could do with its own wiki page, pointing to existing tutorials or developing some new ones. Any volunteers?<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Regards<o:p class=""></o:p></p>
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Brian<o:p class=""></o:p></div>
<div class="">
<div class="">
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
</div>
</div>
</div>
</div>
</div>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Talk-GB
 mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="mailto:Talk-GB@openstreetmap.org" class="">Talk-GB@openstreetmap.org</a></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="https://lists.openstreetmap.org/listinfo/talk-gb" class="">https://lists.openstreetmap.org/listinfo/talk-gb</a></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>