廷續城巴專營權需要求開放數據

城巴正在申請廷續專營權,運輸署應加入提供開放數據條款,配合香港發展智慧城市。筆者準備好一份意見書,透過開源香港 OSHK 與友會一同提交給運輸署。

本會Open Source Hong Kong聯同香港創意開放科技協會 (COTA) 在本星期初,以電郵方式向運輸處提交本會對城巴和大嶼山巴士廷續專營權的意見,藉著這次公眾諮詢,要求公共巴士經營商提供開放數據 Open Data 以及 API,方便大眾自由地了解日常公共巴士運作情況。 以下是本會提交的意見書副本

致: 運輸處
副本: 莫乃光立法會議員
提交日期: 2014/09/16

巴士專營權條款規定
城巴及大嶼山巴士專營權意見書 (香港創意開放科技協會)

近年市民關注大眾公共運輸系統服務表現,例如專營巴士脫班問題等。同時近年全球發展開放數據 (Open Data),在公共巴士服務上,歐美以至台灣也有實例,利用開放數據來提供公共巴士服務資料給大眾。 為了有效讓社會公眾了解城巴有限公司 (城巴) 及新大嶼山巴士有限公司 (大嶼山巴士) 的服務情況,我們要求運輸署在延續城巴及大嶼山巴士條款上,必需在新專營權開始前加入提供以下開放數據,讓公眾自由查詢和使用。

  1. 各路線每天的排班數據。
  2. 各路線班次從巴士總站離站時間的實時開放數據。
  3. 各路線班次到達終點站時間的實時開放數據。
  4. 提供 API (Application Programming Interface) 讓開發者以程式存取所有開放數據。

並在新專營權開始後兩年內提供:

  1. 加入到達各站時間的實時開放數據。

上述開放數據的定義為:

  1. 可以容易在互聯網上取得。
  2. 令用家安心的合法授權條款。
  3. 數據內容使用公開標準 (例如 json、XML 等格式)。

意見提交者:
1. Dr. Haggen So, President, 香港創意開放科技協會有限公司
2. Mr. Sammy Fung, President, Open Source Hong Kong。

本文城巴圖片由Siriuskong以CC-BY-SA 3.0授權使用該圖片。

OpenDataHK.make.03 Presentation Night

I presented open Hong Kong weather data project hk0weather and Hong Kong air quality data project hkaqhi at OpenDataHK.make.03 presentation tonight.

I showed the Django CMS admin UI of both projects to 30+ audiences.

In last month, rainfall data is added to hk0weather project, and REST API for air pollution data of latest hour or specified hour (date/time), and last 24 hours of air pollution data from a single station.

Both projects are released in open source at GitHub, you can install and use it freely.
https://github.com/sammyfung/hk0weather
https://github.com/sammyfung/hkaqhi

Anyone who are interested to above projects, demonstration, open data or web scraping, please feel freely to contact with me at [email protected].

Hong Kong Open Weather Data

Select_weather_data_to_change_Django_site_admin_-_2014-05-11_02.53.29

In Hong Kong, weather data is not ready for open, only 7 RSS feeds of latest news/updates from different weather reports are available on Data.One. which I presented at BarCampHK 2013, and announced my open source project hk0weather to be an interim solution of Hong Kong Open Weather Data.

hk0weather provides few open source web scrapers and parsers to scrap Hong Kong Observatory web pages, and parse data into useful machine readable data format.

Last week, I made parsed weather data stored to Django, so we can read data on Django web admin. And Hong Kong rainfall data is added to hk0weather early this week.

You are welcome to contact with me to look at demonstrations and develop your own front-end to use data produced by my software.