https://wiki.openraildata.com//api.php?action=feedcontributions&user=Harry+Wood&feedformat=atomOpen Rail Data Wiki - User contributions [en-gb]2024-03-29T10:29:02ZUser contributionsMediaWiki 1.33.1https://wiki.openraildata.com//index.php?title=Project&diff=238Project2012-11-07T11:07:03Z<p>Harry Wood: handy redirect</p>
<hr />
<div>#REDIRECT [[Projects]]</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Talk:SCHEDULE&diff=186Talk:SCHEDULE2012-10-16T11:04:03Z<p>Harry Wood: link for</p>
<hr />
<div>''discuss [[SCHEDULE]] page here:''<br />
<br />
''Note: Content was moved to [[Can I take a cycle on this train?]] page''<br />
----</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Can_I_take_a_cycle_on_this_train%3F&diff=185Can I take a cycle on this train?2012-10-16T11:03:19Z<p>Harry Wood: Remove superfluous heading</p>
<hr />
<div>We'd like to be able to determine if<br />
# Yes, I can take a bicycle on board<br />
# No, I can't or<br />
# I need to book my bike in advance<br />
<br />
This information has recently been collated for the UK at http://www.nationalrail.co.uk/passenger_services/cyclists/2012CyclingbyTrain.pdf.<br />
<br />
As part of LOCO2's Off the Rails hackday we began to codify the information in this PDF into a format that can be used to programatically determine which restrictions apply to carrying my bike. The idea is that you only use the information in a train's SCHEDULE record and the information in this Google Fusion Table:<br />
<br />
* https://docs.google.com/spreadsheet/ccc?key=0AmGNdVG13yM4dFl5aV9nZXdRdEtrZEhibWhDR3B0QlE<br />
<br />
If the service is a Rail Replacement Bus then No, you can't take a bike.<br />
<br />
== Pseudo-code ==<br />
<br />
<nowiki>function CanCarryBike()<br />
{<br />
SELECT * FROM BikeRules WHERE Operating_Co IS atoc_code<br />
<br />
foreach rule in rules {<br />
if (joining station or leaving station in rule.Stations<br />
AND eval(rule.Logic)) {<br />
return rule.Bike;<br />
}<br />
}<br />
return 'Yes';<br />
}</nowiki><br />
<br />
== Use-case ==<br />
<br />
Our goal is to enable a route-finder like http://www.opentraintimes.com/ to have a<br />
<br />
[x] with a bike<br />
<br />
checkbox that would avoid routes and times where bikes are not allowed.<br />
<br />
== Folding bikes ==<br />
<br />
Please note that you can '''always''' carry a folded-up folding bike inside a bag on any train in the UK.</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Talk:SCHEDULE&diff=184Talk:SCHEDULE2012-10-16T11:02:43Z<p>Harry Wood: blank discussion page</p>
<hr />
<div>''discuss [[SCHEDULE]] page here:''<br />
----</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Talk:Can_I_take_a_cycle_on_this_train%3F&diff=183Talk:Can I take a cycle on this train?2012-10-16T11:02:12Z<p>Harry Wood: blank discussion page</p>
<hr />
<div>''Discuss [[Can I take a cycle on this train?]] page here:''<br />
----</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Can_I_take_a_cycle_on_this_train%3F&diff=181Can I take a cycle on this train?2012-10-16T11:01:41Z<p>Harry Wood: Harry Wood moved page Talk:Can I take a cycle on this train? to Can I take a cycle on this train?: oopse move to 'main' namespace</p>
<hr />
<div>= Can I take a cycle on this train? =<br />
<br />
We'd like to be able to determine if<br />
# Yes, I can take a bicycle on board<br />
# No, I can't or<br />
# I need to book my bike in advance<br />
<br />
This information has recently been collated for the UK at http://www.nationalrail.co.uk/passenger_services/cyclists/2012CyclingbyTrain.pdf.<br />
<br />
As part of LOCO2's Off the Rails hackday we began to codify the information in this PDF into a format that can be used to programatically determine which restrictions apply to carrying my bike. The idea is that you only use the information in a train's SCHEDULE record and the information in this Google Fusion Table:<br />
<br />
* https://docs.google.com/spreadsheet/ccc?key=0AmGNdVG13yM4dFl5aV9nZXdRdEtrZEhibWhDR3B0QlE<br />
<br />
If the service is a Rail Replacement Bus then No, you can't take a bike.<br />
<br />
== Pseudo-code ==<br />
<br />
<nowiki>function CanCarryBike()<br />
{<br />
SELECT * FROM BikeRules WHERE Operating_Co IS atoc_code<br />
<br />
foreach rule in rules {<br />
if (joining station or leaving station in rule.Stations<br />
AND eval(rule.Logic)) {<br />
return rule.Bike;<br />
}<br />
}<br />
return 'Yes';<br />
}</nowiki><br />
<br />
== Use-case ==<br />
<br />
Our goal is to enable a route-finder like http://www.opentraintimes.com/ to have a<br />
<br />
[x] with a bike<br />
<br />
checkbox that would avoid routes and times where bikes are not allowed.<br />
<br />
== Folding bikes ==<br />
<br />
Please note that you can '''always''' carry a folded-up folding bike inside a bag on any train in the UK.</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Talk:Can_I_take_a_cycle_on_this_train%3F&diff=182Talk:Can I take a cycle on this train?2012-10-16T11:01:41Z<p>Harry Wood: Harry Wood moved page Talk:Can I take a cycle on this train? to Can I take a cycle on this train?: oopse move to 'main' namespace</p>
<hr />
<div>#REDIRECT [[Can I take a cycle on this train?]]</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Can_I_take_a_cycle_on_this_train%3F&diff=179Can I take a cycle on this train?2012-10-16T11:01:18Z<p>Harry Wood: Harry Wood moved page Talk:SCHEDULE to Talk:Can I take a cycle on this train?: seem like a good wiki page in it's own right (not a 'talk' page)</p>
<hr />
<div>= Can I take a cycle on this train? =<br />
<br />
We'd like to be able to determine if<br />
# Yes, I can take a bicycle on board<br />
# No, I can't or<br />
# I need to book my bike in advance<br />
<br />
This information has recently been collated for the UK at http://www.nationalrail.co.uk/passenger_services/cyclists/2012CyclingbyTrain.pdf.<br />
<br />
As part of LOCO2's Off the Rails hackday we began to codify the information in this PDF into a format that can be used to programatically determine which restrictions apply to carrying my bike. The idea is that you only use the information in a train's SCHEDULE record and the information in this Google Fusion Table:<br />
<br />
* https://docs.google.com/spreadsheet/ccc?key=0AmGNdVG13yM4dFl5aV9nZXdRdEtrZEhibWhDR3B0QlE<br />
<br />
If the service is a Rail Replacement Bus then No, you can't take a bike.<br />
<br />
== Pseudo-code ==<br />
<br />
<nowiki>function CanCarryBike()<br />
{<br />
SELECT * FROM BikeRules WHERE Operating_Co IS atoc_code<br />
<br />
foreach rule in rules {<br />
if (joining station or leaving station in rule.Stations<br />
AND eval(rule.Logic)) {<br />
return rule.Bike;<br />
}<br />
}<br />
return 'Yes';<br />
}</nowiki><br />
<br />
== Use-case ==<br />
<br />
Our goal is to enable a route-finder like http://www.opentraintimes.com/ to have a<br />
<br />
[x] with a bike<br />
<br />
checkbox that would avoid routes and times where bikes are not allowed.<br />
<br />
== Folding bikes ==<br />
<br />
Please note that you can '''always''' carry a folded-up folding bike inside a bag on any train in the UK.</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Talk:SCHEDULE&diff=180Talk:SCHEDULE2012-10-16T11:01:18Z<p>Harry Wood: Harry Wood moved page Talk:SCHEDULE to Talk:Can I take a cycle on this train?: seem like a good wiki page in it's own right (not a 'talk' page)</p>
<hr />
<div>#REDIRECT [[Talk:Can I take a cycle on this train?]]</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=User:Rob_Finean&diff=178User:Rob Finean2012-10-16T11:00:10Z<p>Harry Wood: bulleted list syntax</p>
<hr />
<div>I am a chartered systems engineer with 15 years experience in the aerospace industry and 20+ years designing mobile communications services and technology and managing their implementation worldwide. I have Masters and Doctorate degrees in Electronic Engineering and Satellite Communications and I manage both outsourcing to multiple international contractors and agile development in close-knit teams.<br />
<br />
* I led Pogo's award-winning mobile web browser development, which our startup took from proof-of-concept prototype in 2001 to product launch in just nine months.<br />
*I led T-Mobile's web'n'walk launch in 2005 to let smartphone customers out of the "walled garden" into the real Internet.<br />
* In 2006 I put in the content adaptation infrastructure that allowed 3 to catch up with web'n'walk and offer the real Internet on all their customers' phones. Over the next few years I rolled the service out to markets in 4 continents where Apple's new iPhone (2007) was either exclusive to one competitor's network or just too expensive for people to afford.<br />
*I still develop interesting and useful mobile Internet applications and always welcome a chat with anyone about this.</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Dbpedia&diff=173Dbpedia2012-10-13T17:57:39Z<p>Harry Wood: Introducing SPARQL</p>
<hr />
<div>'''dbpedia''' provides SPARQL querying interface into structured data taken from wikipedia. For example wikipedia has a lot of train stations as articles with templates in a consistent format.<br />
<br />
[http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=select+%3Fstation+%3Ffarezone%0D%0Awhere+%7B%0D%0A%3Fstation+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FfareZone%3E+%3Ffarezone+.%0D%0A%3Fstation+%3Chttp%3A%2F%2Fdbpedia.org%2Fproperty%2Fsystem%3E+%22LUL%22%40en+.%0D%0A%7D%0D%0Alimit+1000&format=text%2Fhtml&timeout=0 example query getting tube stations]<br />
<br />
<pre><br />
select ?station ?farezone<br />
where {<br />
?station <http://dbpedia.org/ontology/fareZone> ?farezone .<br />
?station <http://dbpedia.org/property/system> "LUL"@en .<br />
}<br />
limit 1000<br />
</pre><br />
<br />
[http://www.xml.com/pub/a/2005/11/16/introducing-sparql-querying-semantic-web-tutorial.html Introducing SPARQL]</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Dbpedia&diff=170Dbpedia2012-10-13T17:24:26Z<p>Harry Wood: example dbpedia query</p>
<hr />
<div>'''dbpedia''' provides SPARQL querying interface into structured data taken from wikipedia. For example wikipedia has a lot of train stations as articles with templates in a consistent format.<br />
<br />
[http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=select+%3Fstation+%3Ffarezone%0D%0Awhere+%7B%0D%0A%3Fstation+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FfareZone%3E+%3Ffarezone+.%0D%0A%3Fstation+%3Chttp%3A%2F%2Fdbpedia.org%2Fproperty%2Fsystem%3E+%22LUL%22%40en+.%0D%0A%7D%0D%0Alimit+1000&format=text%2Fhtml&timeout=0 example query getting tube stations]<br />
<br />
<pre><br />
select ?station ?farezone<br />
where {<br />
?station <http://dbpedia.org/ontology/fareZone> ?farezone .<br />
?station <http://dbpedia.org/property/system> "LUL"@en .<br />
}<br />
limit 1000<br />
</pre></div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Help:Contents&diff=169Help:Contents2012-10-13T17:19:50Z<p>Harry Wood: fix sp</p>
<hr />
<div>You've found a page for help on how to use this wiki. This wiki uses MediaWiki software, so for the moment we will refer you to...<br />
<br />
<big>'''[http://www.mediawiki.org/wiki/Help:Contents MediaWiki user help]'''</big>.</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Main_Page&diff=166Main Page2012-10-13T16:44:53Z<p>Harry Wood: stick a "recent changes" box on the Main Page. This works well for small wiki communities</p>
<hr />
<div><div style="background:#F7F7F7; border:solid 1px #999; padding:10px; width:450px; float:right;"><br />
'''Recent Changes to the wiki:'''{{Special:Recentchanges/5}}<br />
'''[[Special:Recentchanges|...more Recent Changes]]'''<br />
</div><br />
__NOTOC__<br />
= Open Rail Data Wiki =<br />
<br />
You've come to the right place if you're looking for information on [http://en.wikipedia.org/wiki/Open_data Open Data] available from Great Britain's rail industry.<br />
<br />
== Data already open ==<br />
<br />
=== Network Rail ===<br />
<br />
* [http://datafeeds.networkrail.co.uk/ Real-time running data]. This platform provides real-time train movement information from Network Rail's internal systems. You will need a reasonable level of technical skill to interpret the data. There is [http://wiki.openraildata.info/index.php/About_the_feeds community-written documentation about the feeds] available, as well as [[reference data]].<br />
* [http://www.networkrail.co.uk/aspx/10563.aspx Sectional Appendicies], containing detailed information of lines, routes, junctions and permitted speeds.<br />
* [http://www.networkrail.co.uk/browseDirectory.aspx?dir=\Timetables\Working%20Timetable%20(WTT)&root=\Timetables\Working%20Timetable%20(WTT) Working Timetables] - schedules for passenger, empty passenger, freight and infrastructure trains.<br />
* [http://www.networkrail.co.uk/aspx/3741.aspx Rules of the Route/Rules of the Plan], Data relating to planned engineering blockades and constraints on timetable planning.<br />
<br />
=== Railway Safety and Standards Board ===<br />
<br />
* [http://www.rgsonline.co.uk/ RGS Online], providing access to current and withdrawn Railway Group Standards (the 'Rule Book'), Rail Industry Approved Codes of Practice (RACOPs), guidance notes and and Rail Industry Standards.<br />
<br />
=== Office of Rail Regulation ===<br />
<br />
* [http://www.rail-reg.gov.uk/server/show/nav.1863 National Rail Trends], including Signals Passed at Danger (SPADs), volume of freight movement, historical Public Performance Measure data, passenger train revenue and temporary speed restrictions.<br />
<br />
=== ATOC ===<br />
<br />
* [http://data.atoc.org/ Passenger timetable data] from [http://www.atoc.org/ ATOC]<br />
<br />
=== Transport for London ===<br />
<br />
* [http://www.tfl.gov.uk/businessandpartners/syndication/default.aspx TfL Developer Area], where you can sign up for access to numerous feeds, including live traffic camera images, real-time bus arrivals, Tube departure boards, station locations, a journey planner and tube disruption data.</div>Harry Woodhttps://wiki.openraildata.com//index.php?title=Help:Contents&diff=165Help:Contents2012-10-13T16:43:07Z<p>Harry Wood: link the mediawiki user help. Some of this was written by me! Note: it's public domain. could be copied here</p>
<hr />
<div>You've found a page for help on how to use this wiki. This wiki uses MediaWiki software, so for the moment we will refer you too<br />
<br />
<big>'''[http://www.mediawiki.org/wiki/Help:Contents MediaWiki user help]'''</big>.</div>Harry Wood