Behind the scenes of swisstrains.ch

25
Swisstrains.ch Behind the scenes Vasile Cotovanu Oct 24, 2011 1 Tuesday, October 25, 11

description

Presented some history of swisstrains.ch project from "conception" day (early 2007) until today and what is the motivation that drives me to update it 4 years later. The presentation was done during the romanian IT meetup in Zürich.

Transcript of Behind the scenes of swisstrains.ch

Page 1: Behind the scenes of swisstrains.ch

Swisstrains.chBehind the scenes

Vasile CotovanuOct 24, 2011

1Tuesday, October 25, 11

Page 2: Behind the scenes of swisstrains.ch

Agenda

• History

• How

• Today

• Q & A

2Tuesday, October 25, 11

Page 3: Behind the scenes of swisstrains.ch

3Tuesday, October 25, 11

Page 4: Behind the scenes of swisstrains.ch

History

• Robert de Heer

• Live - March, 2007

• local.ch

• SBB follow-up

• CFR (romanian railways)

4Tuesday, October 25, 11

Page 5: Behind the scenes of swisstrains.ch

5Tuesday, October 25, 11

Page 6: Behind the scenes of swisstrains.ch

How

• “LIVE”

• SBB timetables

• Swisstopo maps

• Google Maps API

6Tuesday, October 25, 11

Page 7: Behind the scenes of swisstrains.ch

SBB Timetables

7Tuesday, October 25, 11

Page 8: Behind the scenes of swisstrains.ch

Swisstopo

8Tuesday, October 25, 11

Page 9: Behind the scenes of swisstrains.ch

Railway network

9Tuesday, October 25, 11

Page 10: Behind the scenes of swisstrains.ch

Make them move !

vehiclesimpleservice

map.local.ch

JS

A S1 S2 S3 B

13:10 13:14 13:22 13:30 13:35

Vehicle Tram2

13:26

74%

55%

Polylines S2 - S3

S2

S3

10Tuesday, October 25, 11

Page 11: Behind the scenes of swisstrains.ch

How ?

11Tuesday, October 25, 11

Page 12: Behind the scenes of swisstrains.ch

Figures

• 5,000 km of railways

• 2,000 stations

• 14,000 vehicles

• 150,000 stops

12Tuesday, October 25, 11

Page 13: Behind the scenes of swisstrains.ch

Follow ups

• SBB crawler improved

• Zürich trams “live” in 2009

13Tuesday, October 25, 11

Page 14: Behind the scenes of swisstrains.ch

Improved SBB spider

14Tuesday, October 25, 11

Page 15: Behind the scenes of swisstrains.ch

Improved SBB spider

15Tuesday, October 25, 11

Page 16: Behind the scenes of swisstrains.ch

local.ch “Live” trams

16Tuesday, October 25, 11

Page 17: Behind the scenes of swisstrains.ch

Today

17Tuesday, October 25, 11

Page 18: Behind the scenes of swisstrains.ch

JavaScript

18Tuesday, October 25, 11

Page 19: Behind the scenes of swisstrains.ch

Speed

19Tuesday, October 25, 11

Page 20: Behind the scenes of swisstrains.ch

GIS software

20Tuesday, October 25, 11

Page 21: Behind the scenes of swisstrains.ch

Vector data

21Tuesday, October 25, 11

Page 22: Behind the scenes of swisstrains.ch

Vector data

22Tuesday, October 25, 11

Page 23: Behind the scenes of swisstrains.ch

Whole area

23Tuesday, October 25, 11

Page 24: Behind the scenes of swisstrains.ch

Build yourself !

24Tuesday, October 25, 11

Page 25: Behind the scenes of swisstrains.ch

Thanks !

• http://www.vasile.ch

• https://github.com/vasile

• Q & A

25Tuesday, October 25, 11