Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The One.Stop.Transport open data platform

The One.Stop.Transport open data platform

The One.Stop.Transport is an open data mobility platform for user-centric Interoperable Web applications.

Useful links:
- http://www.ost.pt
- http://developer.ost.pt
- http://github.ost.pt
- http://developer.ost.pt/api-explorer/
- http://developer.ost.pt/realtime-explorer/
- http://twitter.ost.pt
- http://blog.ost.pt
- http://support.ost.pt

Miguel Laginha

May 20, 2014
Tweet

More Decks by Miguel Laginha

Other Decks in Technology

Transcript

  1. The One.Stop.Transport
    open data platform
    Miguel Laginha – [email protected]

    View Slide

  2. ONE.STOP.TRANSPORT
    The platform

    View Slide

  3. Main goal
    To aggregate data and create services for third
    party developers to create innovative mobility
    applications.

    View Slide

  4. Logical architecture
    One.Stop.Transport
    Aggregation &
    standardization
    Data & Services
    API
    App store & app
    management
    Third-party developer
    End user
    4

    View Slide

  5. Topics
    •  Data
    •  Users
    •  Applications

    View Slide

  6. DATA
    One.Stop.Transport

    View Slide

  7. Data
    •  Transportation
    –  Mass transit
    –  Traffic
    –  Road incidents
    •  POIs / Events
    •  OpenStreetMaps

    View Slide

  8. Open data benefits
    •  Data providers
    •  Service consumers
    •  Developers and
    companies

    View Slide

  9. Open data examples

    View Slide

  10. Open data examples

    View Slide

  11. Open data examples

    View Slide

  12. Open data as default
    To promote continued job growth,
    Government efficiency, and the social good
    [...], the default state of new and
    modernized Government information
    resources shall be open and machine
    readable.

    View Slide

  13. Data standards
    •  GTFS
    •  GTFS-realtime
    •  Datex2 2.0
    •  POI W3C

    View Slide

  14. APIs
    •  Data API
    –  Static data
    –  Realtime data
    •  Services API
    –  Authentication
    –  Journey planner
    –  Webapp integration

    View Slide

  15. APIs

    View Slide

  16. Data flow
    Proprietary
    formats
    Standardisation
    GTFS feeds Data aggregation
    Data storage
    OpenStreetMap
    data
    GTFS-Realtime
    feeds
    Channel orchestration PubSub API
    REST API
    Javascript API
    Services API
    REST API
    Data API
    Data providers
    Journey planner
    One.Stop.Transport backend

    View Slide

  17. Data providers
    •  SMTUC (Coimbra mass transit agency)
    •  CP (major nationwide railroad agency)
    •  Pictonio (tourism events nationwide platform)
    •  BikeEmotion (bike sharing system)
    •  Porto Digital (Porto tourism open data)
    •  MoveAveiro (Aveiro mass transit agency)
    •  Transdev (nationwide intercity bus agency)
    17

    View Slide

  18. USERS
    One.Stop.Transport

    View Slide

  19. Users
    •  1 user for all apps
    (Oauth2)
    •  Explicit authorization for
    private data access
    •  Activity stream
    •  Notifications

    View Slide

  20. APPLICATIONS
    One.Stop.Transport

    View Slide

  21. Marketplace (users)
    •  Search apps
    •  Install apps
    •  Execute apps

    View Slide

  22. Marketplace (developers)
    •  App development
    •  App publishing
    •  Documentation
    •  API explorer

    View Slide

  23. Marketplace (admin)
    •  Review & approval
    •  Access control
    •  Monitoring
    •  Billing

    View Slide

  24. Applications
    •  Web apps
    –  Mobile & responsive
    •  Native mobile apps

    View Slide

  25. Web apps
    •  Hosted apps
    –  Server-side apps
    –  “Special” iframe
    •  Packaged apps
    –  Client-side apps
    –  Hosting provided
    –  W3C Open standards

    View Slide

  26. Extra features
    •  Context sharing
    •  Client-side messaging
    •  Notifications
    •  Style guides

    View Slide

  27. Developer support
    •  Backend area
    •  Developer wiki
    •  Helpdesk forum
    •  Github code
    •  Blog
    •  Twitter

    View Slide

  28. Technical overview
    28
    Authentication & Authorization
    OAuth & user permissions
    Monitoring
    logs & tracking
    Notification
    push & pubsub
    Billing
    for paid apps
    Tourism data
    POI / events
    Mass transit data
    static GTFS format
    Route planning
    app & API
    Mass transit data
    GTFS-realtime data
    Traffic data
    Datex II data
    Backend
    Frontend
    App store & App
    management
    application catalog
    Developer wiki
    for developers
    Support forum
    for developers & users
    Contest management
    Dev challenge
    User management
    for users
    APIs
    Data API
    GTFS, POIs, etc.
    Style guides
    web app integration
    Services API
    web app integration
    OAuth API
    application auth
    Cartographic data
    OpenStreetMaps
    Social stream
    users' activity feed

    View Slide

  29. Technology stack
    •  Django / Python
    •  Apache Wookie
    •  Google caja
    •  Backbone.js
    •  Mustache.js
    •  Oauth 2.0
    •  OpenTripPlanner
    •  Postgis
    •  Redis
    •  LESS
    •  RabbitMQ
    •  Node.js
    29

    View Slide

  30. Links
    •  www.ost.pt
    •  developer.ost.pt
    •  github.ost.pt
    •  twitter.ost.pt
    •  blog.ost.pt
    •  support.ost.pt
    •  developer.ost.pt/api-explorer/
    •  developer.ost.pt/realtime-explorer/
    30

    View Slide

  31. Thank you.

    View Slide