Page 1 of 1

Train network heatmap

Posted: 21 Mar 2013 23:08
by Pajasas
Hello

I like to build complex train networks and was wondering whether there is a way to visualize rail usage or something like heatmap? For analyzing the network, finding bottlenecks or unused parts.

I it's not done yet, then one idea i've thought of would be to have an counter for each field and increment it when train passes over it. It's got a problem with bridges/tunnels but it would be enough for what I'm interested in :) Any idea how hard would it be to code that?

Thanks in advance, have a nice day :)

Pajasas

Re: Train network heatmap

Posted: 22 Mar 2013 01:44
by Eddi
Not entirely sure this is what you mean, but there is a patch that highlights signals where trains wait a lot

Re: Train network heatmap

Posted: 22 Mar 2013 07:18
by Arie-
It's in dutch, but someone once made a program which analyses the OpenTTD memory datastructure which allows for heatmaps. There's a link to a github account in that post, perhaps it's of some use to you.

Re: Train network heatmap

Posted: 22 Mar 2013 07:42
by ZxBiohazardZx
the dutch its mostly bla bla bla about the game and why he started the program, the actual program is on the souces linked (dropbox & github)

Re: Train network heatmap

Posted: 25 Mar 2013 09:44
by Pajasas
Eddi wrote:Not entirely sure this is what you mean, but there is a patch that highlights signals where trains wait a lot
Arie- wrote:It's in dutch, but someone once made a program which analyses the OpenTTD memory datastructure which allows for heatmaps. There's a link to a github account in that post, perhaps it's of some use to you.
Thanks for links, both are useful and inspirational on how to get done what I want (to have better/more information about my train network performance [or I just think it could produce cool visual representation of it :) ]).