maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] TRAVELAPP providing status/routing/map viewer (https://talk.maemo.org/showthread.php?t=41590)

krk969 2010-01-20 20:27

[ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
5 Attachment(s)
TravelApp is now available in the extras-testing repository.
now repackaged for PR1.2 and promoted. http://maemo.org/packages/package_in...avelapp/0.1-7/
Please test/vote by clicking the link above to promote this to extras.

app website : http://travelapp.passiongarage.co.uk


The idea is to make a generic app that can display air/train/bus timings and routes between stations and a map viewer.

At the moment ive developed the app to display London Underground tube information/map and routing only since I live here :).

Im happy to develop it for other popular locations/services.
That being the case I will be needing assistance regaring the data interfaces( eg: sites that provide api's to get xml/html output of data) as I wont be well informed about other locations.

Ive tried to make it as user friendly as possible, but im open to suggestions to improve the interface as well.

I will update something on air travel in the UK as soon as I find someplace that provides api's to extract data from their websites. This is what Im working on at the moment for this app.

Ive used an API provided by www.tubeupdates.com to provide the data for London Tubes.

Main Highlights of the app
1. Provides status of the tube lines
2. Provides the route to be taken between any 2 tube stations
*EDIT* VIA option now avilable in version 0.1-2
3. Has a Map viewer with zoom.
4. Will add a button to open any custom map in the next update ( shortly ).


As always, feedback/comments/suggestions are most welcome.

cheers

R-R 2010-01-20 20:38

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
I'll try to see if there is a way to access the data on the STM.info web site.
(for Montreal).

Is this working live as i understand and you just query search fields on web sites?

ie, the mobile site here: http://m.stm.info/stm/?lang=en

krk969 2010-01-20 20:43

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
Quote:

Originally Posted by R-R (Post 485095)
I'll try to see if there is a way to access the data on the STM.info web site.
(for Montreal).

Is this working live as i understand and you just query search fields on web sites?

ie, the mobile site here: http://m.stm.info/stm/?lang=en

yeah for the london underground trains at the moment I query websites using station inputs as parameters and display the data here in the app slightly formatted for easy reading and quick loading.
If you succeed to find something for Montreal it would be trivial to add it. :) . Let me try the site you gave me.

*EDIT* can you also give me examples so I can enter them in the website to retrieve something ;)
The metro lines look simple to add , just html output looks like.

cheers

R-R 2010-01-20 21:07

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
Quote:

Originally Posted by krk969 (Post 485111)
yeah for the london underground trains at the moment I query websites using station inputs as parameters and display the data here in the app slightly formatted for easy reading and quick loading.
If you succeed to find something for Montreal it would be trivial to add it. :) . Let me try the site you gave me.

*EDIT* can you also give me examples so I can enter them in the website to retrieve something ;)
The metro lines look simple to add , just html output looks like.

cheers

hehe, sure :-)

A bus number exemple:

55 is the St-Laurent street bus, you have to choose either north or south.
(which i think is stupid because if you don't know and put east, it's going to say invalid bus route ... you have to guess!)

On that bus line you have different stops, for example where St-Laurent street intersects Rachel, you have the stop # 52103.

Now that stop number can also be used on the site and will show schedule for 2 other bus (29 and 363) that also stop at this ... stop.
(that is if you don't specify 55 again to exclude the 2 others).

Also, the results seem to have been half translated from french to English (nuit for night, nord for north, etc) but it doesn't really matter for schedule time ;-)

I know there is at least 1 or 2 iPhone apps doing this but I think the XML part is not out yet, at least, it's mentioned in the comments as a request but that was more than a year ago... And looking at the HTML on the search result page, it looks to be a pain to parse!

As for the metro, basically we don't have schedule, just first / last train time, so that's pretty simple. They're working on something more real time, just can't figure out where it is (or if it's public yet :-/)


EDIT:

There is also http://www.stm.info/english/bus/a-index.htm
which is another way to access bus schedule just by bus number and only then picking direction / stop

Slocan 2010-01-20 21:36

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
Here is a short description for an api for Vancouver, Canada:
http://www.mweisman.com/transit.html
With the Olympics coming in very soon, some might find it useful :).

krk969 2010-01-20 21:36

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
Quote:

Originally Posted by R-R (Post 485206)
hehe, sure :-)


There is also http://www.stm.info/english/bus/a-index.htm
which is another way to access bus schedule just by bus number and only then picking direction / stop

the bus schedule in the link you mentioned here above and metro schedule looks easy to add to this app.

krk969 2010-01-20 21:39

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
Quote:

Originally Posted by Slocan (Post 485294)
Here is a short description for an api for Vancouver, Canada:
http://www.mweisman.com/transit.html
With the Olympics coming in very soon, some might find it useful :).

nice one for vancouver, exactly the api's thats needed.
olympics here in 2012, even this app wont help the travel chaos thats gonna happen here ;)

twaelti 2010-01-20 22:16

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
I believe it would make much more sense to port metro to the N900 instead of developing something ourselves.

qwerty12 2010-01-20 22:19

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
Quote:

Originally Posted by twaelti (Post 485396)
I believe it would make much more sense to port metro to the N900 instead of developing something ourselves.

Not gonna happen. Quoting http://www.nanika.net/metro/MetroO-en.html, it's "not planned [for tablets]" and it's not open source.

krk969, please add screenshots. :)

krk969 2010-01-20 22:38

Re: [ANNOUNCE] TRAVELAPP providing status/routing/map viewer
 
Quote:

Originally Posted by qwerty12 (Post 485403)
Not gonna happen. Quoting http://www.nanika.net/metro/MetroO-en.html, it's "not planned [for tablets]" and it's not open source.

krk969, please add screenshots. :)

screenshots added qwerty12

twaelti,
the app was is not only intended for london underground, ive made it generic as possible so even maemo-ians ( if I may use this term :p ) from other countries can use it.

*EDIT* my apologies , just noticed that Metro provides data for transport world over.

Also it would show details about other modes of transport as well depending on how openly the data is provided.
TFL does not provide routing data publicly.
The biggest pain ive had was to convince some companies in the UK to allow me to use their data . I finally got a go-ahead today :) that I may use the data for TFL routing that I found , so its released today in extras-devel.


All times are GMT. The time now is 06:17.

vBulletin® Version 3.8.8