SEARCH
TOOLBOX
LANGUAGES
KSubway

KSubway

From Chaehyun

(Difference between revisions)
Jump to: navigation, search
(Korea Subway Positioning System)
Line 33: Line 33:
{{#ev:youtube|P7IfE46lyiM}}
{{#ev:youtube|P7IfE46lyiM}}
-
* The time tables of all trains are crawled through the subway operator’s website.  
+
* 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
* http://www.seoulmetro.co.kr/station/stationtrainschedule.action?eng=&stTrainNo=2030&mainLine=2&inoutTag=1&weekTag=1&stationId=0226
[[image:timetable_train.png|center]]
[[image:timetable_train.png|center]]
 +
=== 2009. 11. 25 ===
 +
* Positions of junction stations which have more than two positions are corrected by [http://code.google.com/p/ksubway/source/browse/trunk/refineStationInfo.php?spec=svn16&r=16 refineStationInfo.php].
 +
[[image:refineJunctionStation.png|center]]
-
=== 2009. 11. 17 ===
 
-
* The time table of each train position is gathered by Yahoo’s open api system.
 
-
#. Positions of junction stations which have more than two positions are corrected by hand.
 
#. The position of subway is estimated using current time, time table of trains, and a position of a station.  
#. The position of subway is estimated using current time, time table of trains, and a position of a station.  

Revision as of 14:13, 25 January 2010

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.

Seoul Bus Information System

Seoul bus.png

Gyungi Bus Information System

Gis.png

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.

Next train.png

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

Timetable station.png

2009. 11. 16

Timetable train.png

2009. 11. 25

  • Positions of junction stations which have more than two positions are corrected by refineStationInfo.php.
RefineJunctionStation.png


  1. . The position of subway is estimated using current time, time table of trains, and a position of a station.

Here is a demonstration video which shows you a brief concept of this system.

To do list)

Incorrect path information of a train

sql information is provided...

Progress

2009. 11. 15

* 프로젝트 시작

2009. 11. 16

* http://www.seoulmetro.co.kr/station/trainschedule.action?stationId=0226&mainLine=2 
* 지하철 시간표 crawling
* 역정보 crawling
* Yahoo API  http://kr.open.gugi.yahoo.com/document/poisearch.php 를 사용하여, 역의 위치 정보 수집

2009. 11. 17