SEARCH
TOOLBOX
LANGUAGES
KSubway

KSubway

From Chaehyun

(Difference between revisions)
Jump to: navigation, search
(Overview)
(Korea Subway Positioning System)
 
(28 intermediate revisions not shown)
Line 1: Line 1:
= Korea Subway Positioning System =  
= Korea Subway Positioning System =  
 +
== Final Demo page ==
 +
* http://chaehyun.kr/ksubway/
== Overview ==  
== 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.  
+
This is my experimental result about subway positioning system. In Korea, some local governments construct a bus positioning system and provide real time bus positions to public. It is really useful when you wait a bus in a bus station.  
[http://210.96.13.82/bms/web/main.jsp?menu=rbi Seoul Bus Information System]
[http://210.96.13.82/bms/web/main.jsp?menu=rbi Seoul Bus Information System]
-
[[image:seoul_bus.png]]
+
[[image:seoul_bus.png|600px|center]]
[http://www.gbis.go.kr/ Gyungi Bus Information System]
[http://www.gbis.go.kr/ Gyungi Bus Information System]
-
[[image:gis.png]]
+
[[image:gis.png|600px|center]]
-
<<<<<<<<<pic>>>>>>>>>>>
+
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.
-
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.  
+
[[image:next_train.png|center]]
-
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 except few cases like rush hour or an accident.  
+
But they do not provide any OpenAPI system so that 3rd party developers can make a useful application with real time positions of subways.  
-
#. The time tables of all trains are crawled through the subway operator’s website.  
+
Therefore, I try to estimate a real time position of each subway. The idea is simple. A subway in Korea arrives at and departs from a station in time exactly in most cases. Using this timetable and positions of each station, we can estimate the positions of subways in that time. Here are my progresses.  
-
#. And each station’s 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.  
+
-
Here is a demonstration video which shows you a brief concept of this system.  
+
== Progress ==
 +
=== 2009. 11. 15 ===
 +
* The timetable of all stations is crawled through the subway operator’s website.
 +
* http://www.seoulmetro.co.kr/station/trainschedule.action?stationId=0226&mainLine=2
 +
[[image:timetable_station.png|center]]
-
To do list)
+
* Positions of each station are gathered by Yahoo Korea’s openapi.
 +
* http://kr.open.gugi.yahoo.com/
-
Incorrect path information of a train
+
=== 2009. 11. 16 ===
 +
* Display real time positions of subway trains in line #2 using Google Map API.
 +
* http://www.youtube.com/watch?v=P7IfE46lyiM
 +
{{#ev:youtube|P7IfE46lyiM}}
-
sql information is provided...
+
* Detailed timetables of each train 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
 +
[[image:timetable_train.png|center]]
-
== Progress ==
+
=== 2009. 11. 25 ===
-
=== 2009. 11. 15 ===
+
* Positions of junction stations which have more than one position are corrected by [http://chaehyun.kr/ksubway/refineStationInfo.php refineStationInfo.php] (currently, the update behavior is blocked).
-
* 프로젝트 시작
+
 
 +
[[image:refineJunctionStation.png|center|600px]]
 +
 
 +
=== 2009. 12. 02 ===
 +
* Smart UI is appended.
 +
** You can choose each subway line in which you want to check the current positions of subways.
 +
[[image:ui.png|center]]
 +
** Status (stop or remaining time for departing) of a train which stops at a station is displayed.
 +
[[image:statusInfo.png|center]]
-
=== 2009. 11. 16 ===  
+
== Results ==
-
* http://www.seoulmetro.co.kr/station/trainschedule.action?stationId=0226&mainLine=2
+
* Demo page http://chaehyun.kr/ksubway
-
* 지하철 시간표 crawling
+
* Source Code http://code.google.com/p/ksubway/source/browse/#svn/trunk
-
* 역정보 crawling
+
* Final Demonstration Video
-
* Yahoo API  http://kr.open.gugi.yahoo.com/document/poisearch.php 를 사용하여, 역의 위치 정보 수집
+
{{#ev:youtube|bJjfNay-56E}}
-
=== 2009. 11. 17 ===
+
==To do list ==
 +
(writing now..)
 +
* Incorrect path information of a train...
 +
* sql information must be provided...

Latest revision as of 02:20, 21 September 2011

Contents

Korea Subway Positioning System

Final Demo page

Overview

This is my experimental result about subway positioning system. In Korea, some local governments construct a 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 they do not provide any OpenAPI system so that 3rd party developers can make a useful application with real time positions of subways.

Therefore, I try to estimate a real time position of each subway. The idea is simple. A subway in Korea arrives at and departs from a station in time exactly in most cases. Using this timetable and positions of each station, we can estimate the positions 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 one position are corrected by refineStationInfo.php (currently, the update behavior is blocked).
RefineJunctionStation.png

2009. 12. 02

  • Smart UI is appended.
    • You can choose each subway line in which you want to check the current positions of subways.
Ui.png
    • Status (stop or remaining time for departing) of a train which stops at a station is displayed.
StatusInfo.png

Results

To do list

(writing now..)

  • Incorrect path information of a train...
  • sql information must be provided...