Swisstrains.ch: Present, past and future

1,918 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,918
On SlideShare
0
From Embeds
0
Number of Embeds
36
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Swisstrains.ch: Present, past and future

  1. 1. Swisstrains.ch Present, past and future Vasile CotovanuZürich, webtuesday.ch Jan 10, 2012
  2. 2. Agenda • Today • Past • Next • Q &A90s 2007 2008 2009 2010 2011 2012+
  3. 3. Today 2011 DEMO
  4. 4. Layers 2011
  5. 5. Layers 2011
  6. 6. Layers 2011
  7. 7. Layers 2011 DEMO
  8. 8. Make them move ! 2007 - 2011 Live positions ? map.local.ch vehicle simpleservice JSVehicle Tram2 A S1 S2 13:26 S3 B 13:10 13:14 13:22 13:30 13:35 74% 55% Polylines S2 - S3 S3 S2
  9. 9. 2007-2011 Got data ?Components • (Relational) database (SBB timetables) • Graphics database (stations and lines)
  10. 10. Text: vehicle-link-station(2007)-2011stations station vehicle vehiclesstation_id stops link vehicle_id name many-many name vehicle_id station_id departure DEMO
  11. 11. Text: vehicle-link-station (2007)-2011 stations station vehicle vehicles station_id stops link vehicle_id name many-many name vehicle_id station_id departureSBBCFR 1’8171’485 150’470 20’822 13’232 1’312 DEMO
  12. 12. Text: populate link, vehicle 2008stations vehicles vehicle vehicle_id name stops link many-many vehicle_id station_id departure DEMO
  13. 13. All stations 2008
  14. 14. All stations 2008
  15. 15. All stations 2008
  16. 16. All stations 2008
  17. 17. All stations 2008 boat bus cablecar train tramstations 265 18,797 549 1,810 477 21,898vehicles 2,534 144,150 220,669 16,498 18,461 402,312 stops 8,013 2,433,815 447,806 177,520 417,510 3,484,664
  18. 18. Vectors database 2007-2011 DEMO
  19. 19. Fusion Tables 2010 DEMO
  20. 20. Integrate DBs 20072011
  21. 21. Changes roundup 2007 2011 Textual DB crawler PHP, MySQL, Ruby, SQLite Map Engine GMaps API v2, custom (messy) map helpers v3 API, geometry library Map layers Own generated polylines, points Fusion Tables JS Engine Mess :) No 3rd party library More structured, ordered + jQueryUX, page speed, look’n’feel OK-ish (in the beginning) IT ROCKS BIG TIME ! Graphics DB tools Geomedia + swisstopo layers QGIS, OpenLayers, GMaps, GEarth, etc DBs integration tools FME, ODBC, MS Access :) Ruby, GDAL Versioning Power of CTRL-Z Git - master/dev/sbb/cfr
  22. 22. Build yourself ! DEMOgit clone git@github.com:vasile/vehicle-simulator.git
  23. 23. One more feature ! 2011• Backlinking: follow vehicle by name• Inject a custom vehicle (i.e. MySuperTrain) DEMO
  24. 24. Passion (obsession)
  25. 25. Passion (obsession)
  26. 26. Passion (obsession)
  27. 27. Next steps• Lausanne, watch out :)• #opendata• swisstrains.ch• GeoAdmin API (Swisstopo)• Simcity-like ? (Remember local.ch Live Trams ?)
  28. 28. Thanks !• http://www.vasile.ch • http://twitter.com/vasile23• https://github.com/vasile

×