smurfy / fahrplan

QT Application for Public transportation
GNU General Public License v2.0
58 stars 33 forks source link

Request train plan for Hong Kong #107

Open TMavica opened 10 years ago

TMavica commented 10 years ago

maybe this siye can help me the train information www.mtr.com.hk

smurfy commented 10 years ago

JourneyPlanner should be possible, timetable is PDF so not possible. Another problem is, that there is no time informations. only routing infos. :(

List of all stations + id's: http://www.mtr.com.hk/jplanner/core/v4_0/eng/station_info.php Get journey: http://www.mtr.com.hk/jplanner/core/v4_0/eng/jp_info.php?sid=71&eid=41

There is also the MTR Mobile app, which downloads sqlite db files from somewhere. But i did not get the app to work properly on my jolla so i can't say if the app supports time infos.

TMavica commented 10 years ago

yes. there is a android timeline of mtr mobile, so u need know where can dl the splite db?

smurfy commented 10 years ago

What do you mean with "android timeline"?

My "Problem" is, that every other backend uses data and time infos (either departure or arrival time + date) for the search.

After that you can see when do you need to start your journey and when do you arrive.

All i can see for the MTR Website and Android App , is that you can see the routing infos and the aproximate travel time, but without any other timing infos. (The android app displays the approximate time you reach the interchange station)

I could do a simple routing info with the linked urls and have a look at the sqlite files later. It should be possible to findout where the offical app gets the sqlite data.

So simple routing would be, you enter departure and arrival station and then it shows you the interchange stations and how long the trip will take.

frtachi commented 10 years ago

Is backend implementation very time-consuming? Could you look at the following and see if it could be done with a polish website? http://en.e-podroznik.pl/