SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
Swisstrains.ch
                         Present, past and future




                                                    Vasile Cotovanu
Zürich, webtuesday.ch                                    Jan 10, 2012
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 !                                  2007 - 2011
           Live positions ?
                   map.local.ch               vehicle
                                           simpleservice
                           JS


Vehicle 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
2007-2011


             Got data ?

Components

 • (Relational) database (SBB timetables)
 • Graphics database (stations and lines)
Text: vehicle-link-station(2007)-2011




stations
 station                  vehicle
                          vehicles

station_id    stops
               link       vehicle_id
  name       many-many      name

             vehicle_id
             station_id
             departure




                                        DEMO
Text: vehicle-link-station    (2007)-2011




        stations
         station                      vehicle
                                      vehicles

        station_id     stops
                        link          vehicle_id
          name        many-many         name

                      vehicle_id
                      station_id
                      departure




SBBCFR 1’8171’485    150’470 20’822   13’232 1’312
                                                     DEMO
Text: populate link, vehicle  2008

stations

                                              vehicles
                                              vehicle

                                              vehicle_id
                                                name


                                  stops
                                   link
                                 many-many

                                 vehicle_id
                                 station_id
                                 departure




                                                           DEMO
All stations
               2008
All stations
               2008
All stations
               2008
All stations
               2008
All stations
                                                    2008




           boat      bus       cablecar   train        tram

stations   265      18,797       549       1,810           477    21,898


vehicles   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
Vectors database   2007-2011




                               DEMO
Fusion Tables   2010




                       DEMO
Integrate DBs   2007




2011
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 + jQuery

UX, 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
Build yourself !


                                           DEMO




git clone git@github.com:vasile/vehicle-simulator.git
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

Más contenido relacionado

Similar a Swisstrains.ch: Present, past and future

HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1
James Pearce
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5
James Pearce
 
Building cross platform mobile web apps
Building cross platform mobile web appsBuilding cross platform mobile web apps
Building cross platform mobile web apps
James Pearce
 
Taste Test: FME 2011 & Beyond
Taste Test: FME 2011 & BeyondTaste Test: FME 2011 & Beyond
Taste Test: FME 2011 & Beyond
Safe Software
 

Similar a Swisstrains.ch: Present, past and future (20)

Automated Visual Testing That Doesn't Suck!
Automated Visual Testing That Doesn't Suck!Automated Visual Testing That Doesn't Suck!
Automated Visual Testing That Doesn't Suck!
 
Selenium-based Visual Test Automation
Selenium-based Visual Test AutomationSelenium-based Visual Test Automation
Selenium-based Visual Test Automation
 
HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1
 
Building Cross Platform Mobile Web Apps
Building Cross Platform Mobile Web AppsBuilding Cross Platform Mobile Web Apps
Building Cross Platform Mobile Web Apps
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5
 
Towards Semantic Virtual Worlds
Towards Semantic Virtual WorldsTowards Semantic Virtual Worlds
Towards Semantic Virtual Worlds
 
Rich User Interaction with SVG
Rich User Interaction with SVGRich User Interaction with SVG
Rich User Interaction with SVG
 
"Frameworks in 2015" Андрей Листочкин
"Frameworks in 2015" Андрей Листочкин"Frameworks in 2015" Андрей Листочкин
"Frameworks in 2015" Андрей Листочкин
 
A Snapshot of the Mobile HTML5 Revolution
A Snapshot of the Mobile HTML5 RevolutionA Snapshot of the Mobile HTML5 Revolution
A Snapshot of the Mobile HTML5 Revolution
 
HTML5 and CartoDB
HTML5 and CartoDBHTML5 and CartoDB
HTML5 and CartoDB
 
Building cross platform mobile web apps
Building cross platform mobile web appsBuilding cross platform mobile web apps
Building cross platform mobile web apps
 
Asp.net mvc - Better User Experience with Kendo UI
Asp.net mvc - Better User Experience with Kendo UIAsp.net mvc - Better User Experience with Kendo UI
Asp.net mvc - Better User Experience with Kendo UI
 
Evaluation and prototyping of an HTML5 Client for iOS devices
Evaluation and prototyping of an HTML5 Client for iOS devicesEvaluation and prototyping of an HTML5 Client for iOS devices
Evaluation and prototyping of an HTML5 Client for iOS devices
 
Advanced Visual Test Automation with Selenium
Advanced Visual Test Automation with SeleniumAdvanced Visual Test Automation with Selenium
Advanced Visual Test Automation with Selenium
 
Taste Test: FME 2011 & Beyond
Taste Test: FME 2011 & BeyondTaste Test: FME 2011 & Beyond
Taste Test: FME 2011 & Beyond
 
Chaos Testing with F# and Azure by Rachel Reese at Codemotion Dubai
Chaos Testing with F# and Azure by Rachel Reese at Codemotion DubaiChaos Testing with F# and Azure by Rachel Reese at Codemotion Dubai
Chaos Testing with F# and Azure by Rachel Reese at Codemotion Dubai
 
Building Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web AppsBuilding Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web Apps
 
Introduction to the azure service bus eai edi features
Introduction to the azure service bus eai edi featuresIntroduction to the azure service bus eai edi features
Introduction to the azure service bus eai edi features
 
HTML5 and the dawn of rich mobile web applications
HTML5 and the dawn of rich mobile web applicationsHTML5 and the dawn of rich mobile web applications
HTML5 and the dawn of rich mobile web applications
 
Evaluation and prototyping of an HTML5 Client for iOS devices
Evaluation and prototyping of an HTML5 Client for iOS devicesEvaluation and prototyping of an HTML5 Client for iOS devices
Evaluation and prototyping of an HTML5 Client for iOS devices
 

Más de Vasile Cotovanu

Más de Vasile Cotovanu (6)

MapKit and SwissTrains
MapKit and SwissTrainsMapKit and SwissTrains
MapKit and SwissTrains
 
AppBuilders Zürich Meetup - What's New in iOS9: ClockKit
AppBuilders Zürich Meetup - What's New in iOS9: ClockKitAppBuilders Zürich Meetup - What's New in iOS9: ClockKit
AppBuilders Zürich Meetup - What's New in iOS9: ClockKit
 
Swisstrains
SwisstrainsSwisstrains
Swisstrains
 
TEDx Grenoble - City Open Data
TEDx Grenoble - City Open DataTEDx Grenoble - City Open Data
TEDx Grenoble - City Open Data
 
Behind the scenes of swisstrains.ch
Behind the scenes of swisstrains.chBehind the scenes of swisstrains.ch
Behind the scenes of swisstrains.ch
 
Zürich trams LIVE
Zürich trams LIVEZürich trams LIVE
Zürich trams LIVE
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 

Swisstrains.ch: Present, past and future

  • 1. Swisstrains.ch Present, past and future Vasile Cotovanu Zürich, webtuesday.ch Jan 10, 2012
  • 2. Agenda • Today • Past • Next • Q &A 90s 2007 2008 2009 2010 2011 2012+
  • 3. Today 2011 DEMO
  • 4. Layers 2011
  • 5. Layers 2011
  • 6. Layers 2011
  • 7. Layers 2011 DEMO
  • 8. Make them move ! 2007 - 2011 Live positions ? map.local.ch vehicle simpleservice JS Vehicle 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. 2007-2011 Got data ? Components • (Relational) database (SBB timetables) • Graphics database (stations and lines)
  • 10. Text: vehicle-link-station(2007)-2011 stations station vehicle vehicles station_id stops link vehicle_id name many-many name vehicle_id station_id departure DEMO
  • 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 departure SBBCFR 1’8171’485 150’470 20’822 13’232 1’312 DEMO
  • 12. Text: populate link, vehicle 2008 stations vehicles vehicle vehicle_id name stops link many-many vehicle_id station_id departure DEMO
  • 13. All stations 2008
  • 14. All stations 2008
  • 15. All stations 2008
  • 16. All stations 2008
  • 17. All stations 2008 boat bus cablecar train tram stations 265 18,797 549 1,810 477 21,898 vehicles 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. Vectors database 2007-2011 DEMO
  • 19. Fusion Tables 2010 DEMO
  • 20. Integrate DBs 2007 2011
  • 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 + jQuery UX, 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. Build yourself ! DEMO git clone git@github.com:vasile/vehicle-simulator.git
  • 23. One more feature ! 2011 • Backlinking: follow vehicle by name • Inject a custom vehicle (i.e. MySuperTrain) DEMO
  • 27. Next steps • Lausanne, watch out :) • #opendata • swisstrains.ch • GeoAdmin API (Swisstopo) • Simcity-like ? (Remember local.ch Live Trams ?)
  • 28. Thanks ! • http://www.vasile.ch • http://twitter.com/vasile23 • https://github.com/vasile