473,769 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2499
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 "Applicatio n
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.c om 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.f 9.co.uk wrote:
bg*****@gmail.c om 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
7080
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 refuses to install AJAX 1.0? How come just copying the System.Web.Extension .DLLs to the application's BIN diectory would work. I also copied the v1.0.61025\MicrosoftAjaxLibrary\System.Web.Extensions\1.0.61025.0 Javacript
1
1759
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, those controls are: <ajaxToolkit:SomeControl></ ajaxToolkit>
1
1309
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
1997
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 (AJAX Extesions where installed later) the "AJAX"-functionality fails. Though I have the AJAX Extensions in my Tool-Box and everything seems ok it doesn`t work. I can drag and drop ScriptManager, UpdatePanels, ContentTemplates ... but when I run the...
3
1742
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" page with reference to this master page.
1
1125
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
4060
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 godaddy server and that is AJAX enabled.!? My mail address is <email removed>
2
1829
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 I think I have created one by creating a new ASP.NET website and adding a ScriptManager and an UpdatePanel to the page and placing the content of the page inside the UpdatePanel ContentTemplate.. I am trying to rule out reasons why my...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10050
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.