ForTheLoveOf
Established Member
- Joined
- 7 Oct 2017
- Messages
- 6,416
After my enquiry recently about the availability of fare maps, i.e. graphical representation of the TOCs that set each fare and the prices/restrictions etc. thereof, I have developed upon @Doctor Fegg 's very excellent GitHub project:
I can now create fare maps showing price per mile for the highest, lowest or average SOR/SVR etc., fare maps showing colour-coded SVR/CDR restrictions by highest/lowest/average such fare, as well as maps showing the fare setter for the highest and lowest fare, or the combination of all fare setters.
Currently this only works on my own server when I manually enter the CRS code of each station whose data/maps I wish to see, and then compile a file of all the fares for that station. However, I could automate this to make an interactive website where you can enter the CRS code and see a selected map.
Would there be any interest in a project such as the above, or alternately an API whereby other utilities could plug into this? I can share example fare maps if this is not deemed too risky to good-value fares! Obviously if there is no interest then there is little point in me doing this, but if many are interested then I may consider developing this.
Thanks for any comments.
I did this a couple of years ago, using the data from https://github.com/dracos/split-ticket, and plotting several different 'queries' from my home station: restrictions, prices, availability, setters, that sort of thing. With a little bit of Ruby/Python hackery, it was easy to create an SVG file for each query. Quite useful to find little islands of reasonable regional TOC-controlled fares in otherwise extortionate CrossCountry-controlled areas, for example....
I can now create fare maps showing price per mile for the highest, lowest or average SOR/SVR etc., fare maps showing colour-coded SVR/CDR restrictions by highest/lowest/average such fare, as well as maps showing the fare setter for the highest and lowest fare, or the combination of all fare setters.
Currently this only works on my own server when I manually enter the CRS code of each station whose data/maps I wish to see, and then compile a file of all the fares for that station. However, I could automate this to make an interactive website where you can enter the CRS code and see a selected map.
Would there be any interest in a project such as the above, or alternately an API whereby other utilities could plug into this? I can share example fare maps if this is not deemed too risky to good-value fares! Obviously if there is no interest then there is little point in me doing this, but if many are interested then I may consider developing this.
Thanks for any comments.