KSubway
From Chaehyun
Contents |
Korea Subway Positioning System
Overview
This is my experimental result about subway positioning system. In Korea, some local governments construct bus positioning system and provide real time bus positions to public. It is really useful when you wait a bus in a bus station.
However, subway is a different story. I am pretty sure that a subway operator has a system which estimates where each subway is, because it shows when the next station arrives in a station inside.
But it does not provide any OpenAPI system so that a 3rd party developers can make a useful application with real time positions of subway.
Therefore, I try to estimate a real time position of each subway. The idea is simple. Subways in Korea arrive at and depart from a station in time exactly in most cases. Using this time table and position of each station, we can estimate the position of subways in that time. Here are my progresses.
Progress
2009. 11. 15
- The time tables of all stations are crawled through the subway operator’s website.
- http://www.seoulmetro.co.kr/station/trainschedule.action?stationId=0226&mainLine=2
- Positions of each station are gathered by Yahoo Korea’s openapi.
- http://kr.open.gugi.yahoo.com/
2009. 11. 16
- Display the real time positions of subways in line #2 using Google Map API.
- http://www.youtube.com/watch?v=P7IfE46lyiM
- Detailed time tables of each trains are crawled through the subway operator’s website.
- http://www.seoulmetro.co.kr/station/stationtrainschedule.action?eng=&stTrainNo=2030&mainLine=2&inoutTag=1&weekTag=1&stationId=0226
2009. 11. 25
- Positions of junction stations which have more than one position are corrected by refineStationInfo.php (currently, the update behavior is blocked).
2009. 12. 02
- Smart UI is appended.
- You can choose each line number in which you want to check the current positions of subways.
- Status (stop or remaining time for departing) of a train which stops at a station is displayed.
Results
- http://chaehyun.kr/ksubway
- Final Demonstration Video
To do list
(writing now..)
- Incorrect path information of a train...
- sql information must be provided...