ICE Wifi-user Heatmap
Capturing Passengers' Connectivity Behavior on Inter-City Express Train
Germany's railway company Deutsche Bahn
operates 247 long distance trains Inter-City Express (ICE) serving approximately 148 Million
passengers, only in 2018. This is a huge number, and is expected to grow even more at the following years.
Probably, the availability of Wifi connections within the ICE train is one of the cause.
Out of curiousity, I downloaded their "Wifi on ICE" data here to get a hint on the
passenger
behavior related to the Wifi facility. The zipped file size is 232Mb, and the real CSV data is around 2Gb
with over 21 millions of rows. So it happened. Displaying all of them would be very costly. So, after a
series of pre-processing steps (see below), only 25 trains with the longest routes is displayed here,
representing 33k rows in the PostGreSQL database.
From those, we can obtain the Wifi-user Heatmap and the tracks, including stops at the train stations and
cities as presented below.
- num: [1..25], def = 25
- show: ['station', else], def = 'city'
The colors depict the heatmap of the wifi-users in the train:
- pure green represents zero,
- pure yellow is 150 users,
- pure red means 300 or above.
Displayed data from train id:
[54038014] [54038022] [54038030] [54038071] [54038154] [54038196] [54038253] [54038295] [54038378] [54038535] [54038600] [54073037] [54117115] [54117180] [54117313] [54117560] [54117594] [54157020] [58031130] [58031247] [58031346] [58031478] [58031486] [58070047] [58070229]
Adjust the number of displayed tracks using the parameter num, and pick train stations over cities to display using show. An example for that is given here.
Cities and train stations outside of Germany is not shown since their coordinates are not listed in the obtained database.