Following on from my interest in using the S class data, I am now looking to map the headcode from C class movements to it's relevent schedule.
I have come up with the below idea to do this and welcome any feedback or better suggestions.
1. Allocate first two or three digits of tiploc stanox codes to a describer area - in my case X7, Lewes Seaford and Southease all start with 88, I can probably use the third digit as well for more precision. An array if an area has more than one number.
2. Using the area (X7) and headcode from the C class message, look for trust movement (0003) within a time that contains the headcode, but also starts with a stanox (2 digits), or reports at a stanox (3 digits) of the stanox I have mapped to my describer area.
Im guessing this should work in most cases except for the vary small proportion of trains that might use the same HC on same area at the same time - if any.
Would this be a good way of going about this?