472,960 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,960 software developers and data experts.

AJAX enabled London Underground route finder

Hi

I have implemented this AJAX enabled route finder for getting from A to
B on the London Underground network, with built in Google Maps for each
station along the way. The AJAX piece allows for auto completion of
station names and performs the search itself. The underlying framework
is Ruby on Rails and scriptaculous.

If you live in London, you might find it useful. Let me know of any
useful feedback.

http://public.ok2life.com/tube/routes

Regards
David
Jun 13 '06 #1
7 2446
great app.

Jun 13 '06 #2
ezusbo wrote:
<snip>
If you live in London, you might find it useful. Let me know
of any useful feedback.

http://public.ok2life.com/tube/routes


LOL

Waterloo to Monument

Includes the proposed rout->

Waterloo
Southwark
London Bridge
Bermondsey
Canada Water
Canary Wharf
North Greenwich
Canning Town
West Ham
Bromley-By-Bow
Bow Road
Mile End
Stepney Green
Whitechapel
Aldgate East
Tower Hill
Monument

That is all the way east to West Ham before coming back west. A 14+ mile
round trip to end up less than 2 miles north-east of where you started.
The shortest proposed rout is 15 stops, going clock-wise round the
centre of London.

Shorter routs would include 1.) Waterloo, London Bridge, Bank, and then
the 100m walk to Monument, or 2.) Waterloo, Embankment, Temple,
Blackfriars, Mansion House, Cannon Street, Monument (i.e only going
directly north an east).

While Waterloo to Bank proposes a nice direct rout using the Waterloo
and City line, which is going to be closed and unusable for the next
year or so.

At least if you use:-

<URL: http://www.tfl.gov.uk/tube/ >

- you usually get the shortest/quickest routs proposed, an estimate of
how long the journey would take, and an explanation of why there is
little chance of actually being able to make the journey by London
underground.

Jun 13 '06 #3

ezusbo wrote:
Hi

I have implemented this AJAX enabled route finder for getting from A to
B on the London Underground network, with built in Google Maps for each
station along the way. The AJAX piece allows for auto completion of
station names and performs the search itself. The underlying framework
is Ruby on Rails and scriptaculous.

If you live in London, you might find it useful. Let me know of any
useful feedback.

http://public.ok2life.com/tube/routes

Regards
David


It didn't find the best (from my POV) route from euston to liverpool
street, which is to walk a block to euston square, then catch a single
train from there ;)

Jun 14 '06 #4
Really nice use of AJAX. Not being a Londoner I typed in some made up
names "Picadilly" to "Herefordshire". I was able to type both in and
hit "Find Routes" before getting any feedback. I got "Application
Error (rails)". You might want to catch that error and put up
something useful to the user.

Then I read the text at the top and started waiting for the feedback
popups when I started typing. Now I know how to get from Temple to
Baker Street.

Bob
ezusbo wrote:
Hi

I have implemented this AJAX enabled route finder for getting from A to
B on the London Underground network, with built in Google Maps for each
station along the way. The AJAX piece allows for auto completion of
station names and performs the search itself. The underlying framework
is Ruby on Rails and scriptaculous.

If you live in London, you might find it useful. Let me know of any
useful feedback.

http://public.ok2life.com/tube/routes


Jun 14 '06 #5

bg*****@gmail.com wrote:
Then I read the text at the top and started waiting for the feedback
popups when I started typing. Now I know how to get from Temple to
Baker Street.


Well, now you know an excessively long route between them - for some
reason changing at embankment to the Bakerloo line is completely missed
by the algorithm used...

Jun 14 '06 #6

Richard Cornford wrote:
ezusbo wrote:
<snip>
If you live in London, you might find it useful. Let me know
of any useful feedback.

http://public.ok2life.com/tube/routes


LOL

Waterloo to Monument

Includes the proposed rout->

Waterloo
Southwark
London Bridge
Bermondsey
Canada Water
Canary Wharf
North Greenwich
Canning Town
West Ham
Bromley-By-Bow
Bow Road
Mile End
Stepney Green
Whitechapel
Aldgate East
Tower Hill
Monument

That is all the way east to West Ham before coming back west. A 14+ mile
round trip to end up less than 2 miles north-east of where you started.
The shortest proposed rout is 15 stops, going clock-wise round the
centre of London.

Shorter routs would include 1.) Waterloo, London Bridge, Bank, and then
the 100m walk to Monument, or 2.) Waterloo, Embankment, Temple,
Blackfriars, Mansion House, Cannon Street, Monument (i.e only going
directly north an east).

While Waterloo to Bank proposes a nice direct rout using the Waterloo
and City line, which is going to be closed and unusable for the next
year or so.

At least if you use:-

<URL: http://www.tfl.gov.uk/tube/ >

- you usually get the shortest/quickest routs proposed, an estimate of
how long the journey would take, and an explanation of why there is
little chance of actually being able to make the journey by London
underground.


Yes you are right, I have had feedbacks about this on the other forums
too. I will be incorporating this knowledge into the application soon.
People have been helpful in sending me these walkable shortcuts, like
Bank to Monument, Lancaster Gate to Paddington etc. I guess the system
is only as smart as the information it contains, and currently this is
limited to tube stations only.

David

David

Jun 14 '06 #7

ne**@chthonic.f9.co.uk wrote:
bg*****@gmail.com wrote:
Then I read the text at the top and started waiting for the feedback
popups when I started typing. Now I know how to get from Temple to
Baker Street.


Well, now you know an excessively long route between them - for some
reason changing at embankment to the Bakerloo line is completely missed
by the algorithm used...


Will try to do better in the future. Most of the common searches seem
to work OK, as you can see from the link "Today's Searches", but the
application is currently oblivious to walkable shortcuts. I am planning
on adding this in the near future, and also a feedback facility so you
guys can tell me exactly where I went wrong.

Thanks for the feedbacks.

David

Jun 14 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: =?Utf-8?B?QnJpYW4gRWR3YXJkcw==?= | last post by:
I don't see a managed newsgroup for just AJAX, so hopefully this is the best place to ask this question. Is there a sure-fire way to deploy an ASP.NET AJAX-Enabled web site to a web host who...
1
by: mark4asp | last post by:
Which should I use: 1. "ASP.NET AJAX-Enabled Web Site" or 2. "AJAX Control Toolkit Web Site"? In the first, controls from the control toolkit start as: <cc1:SomeControl></cc1> In the 2nd,...
1
by: =?Utf-8?B?QXR1bA==?= | last post by:
When I am going to include reference for ajax extension library in my existing web application in .net framework 1.1, it gives error message. How can I make my asp.net 1.1 application ajax enabled ?
2
by: m.schaeffer | last post by:
Hello, my problem is, that if i create a new website with Visual Studio 2005 and I choose "AJAX enabled Website" everything works fine. But if I try to do the same with an existing Website...
3
by: Mike TI | last post by:
Oct 20, 2007 01:00pm Hi all When you create an Ajax enabled web site, the application creates the default page with a "Script Manager". I created a Master Page. I then created a "Home"...
1
by: =?Utf-8?B?Sm9obg==?= | last post by:
I need to make my existing web site (developed using ASP.NET 2.0) AJAX enabled. Where can I find detailed (step by step) information to make the web site AJAX enabled? Thanks.
1
vikysaran
by: vikysaran | last post by:
Hello, i'm getting few error on my AJAX enabled application when i'm uploading it to GoDaddy server. Its firsttime I'm using godaddy hosting. can anybody send me web.config file that's working on...
2
by: CharlieChilds | last post by:
Hi, I use Visual Web Developer 2008 Express. I am following which uses VWD2005 and says to create an Ajax enabled website. There is no specifically named "Ajax enabled template" in VWD 2008 Express...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.