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 full-size slide

  2. ONE.STOP.TRANSPORT
    The platform

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  5. Topics
    •  Data
    •  Users
    •  Applications

    View full-size slide

  6. DATA
    One.Stop.Transport

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  9. Open data examples

    View full-size slide

  10. Open data examples

    View full-size slide

  11. Open data examples

    View full-size 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 full-size slide

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

    View full-size slide

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

    View full-size slide

  15. 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 full-size slide

  16. 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 full-size slide

  17. USERS
    One.Stop.Transport

    View full-size slide

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

    View full-size slide

  19. APPLICATIONS
    One.Stop.Transport

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  27. 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 full-size slide

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

    View full-size slide

  29. 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 full-size slide