Upload
vasile-cotovanu
View
1.398
Download
1
Tags:
Embed Size (px)
Citation preview
Swisstrains.chPresent, past and future
Vasile CotovanuJan 10, 2012
Zürich, webtuesday.ch
Agenda
• Today
• Past
• Next
• Q & A
90s 2007 2008 2009 2010 2011 2012+
Today 2011
DEMO
Layers 2011
Layers 2011
Layers 2011
Layers 2011
DEMO
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
Live positions ?2007 - 2011
Got data ?2007-2011
• (Relational) database (SBB timetables)
• Graphics database (stations and lines)
Components
Text: vehicle-link-station
station
station_idname
vehicle
vehicle_idname
link
many-many
vehicle_idstation_iddeparture
(2007)-2011
stops
stations vehicles
DEMO
Text: vehicle-link-station
station
station_idname
vehicle
vehicle_idname
link
many-many
vehicle_idstation_iddeparture
(2007)-2011
stops
stations vehicles
DEMO
1’817 13’232150’4701’485 1’31220’822
SBBCFR
Text: populate link, vehicle
vehicle
vehicle_idname
link
many-many
vehicle_idstation_iddeparture
2008
stops
stations
vehicles
DEMO
All stations 2008
All stations 2008
All stations 2008
All stations 2008
All stations 2008
boat bus cablecar train tram
stations
vehicles
stops
265 18,797 549 1,810 477 21,898
2,534 144,150 220,669 16,498 18,461 402,312
8,013 2,433,815 447,806 177,520 417,510 3,484,664
Vectors database 2007-2011
DEMO
Fusion Tables 2010
DEMO
Integrate DBs2007
2011
Changes roundup
2007 2011
Textual DB crawler
Map Engine
Map layers
JS Engine
UX, page speed, look’n’feel
Graphics DB tools
DBs integration tools
Versioning
PHP, MySQL, Ruby, SQLite
GMaps API v2, custom (messy) map helpers v3 API, geometry library
Own generated polylines, points Fusion Tables
Mess :) No 3rd party library More structured, ordered + jQuery
OK-ish (in the beginning) IT ROCKS BIG TIME !
Geomedia + swisstopo layers QGIS, OpenLayers, GMaps, GEarth, etc
FME, ODBC, MS Access :) Ruby, GDAL
Power of CTRL-Z Git - master/dev/sbb/cfr
One more feature ! 2011
• Backlinking: follow vehicle by name
• Inject a custom vehicle (i.e. MySuperTrain)
DEMO
Passion (obsession)
Passion (obsession)
Passion (obsession)
Next steps
• Lausanne, watch out :)
• #opendata
• swisstrains.ch
• GeoAdmin API (Swisstopo)
• Simcity-like ? (Remember local.ch Live Trams ?)
Thanks !
• http://www.vasile.ch
• http://twitter.com/vasile23
• https://github.com/vasile