Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 11th, 2009, 04:44 PM
techker techker is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2005
Posts: 561 techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 2 h 42 m 53 sec
Reputation Power: 17
Google maps

hey guys i need to make a small application the remembers my start adresse and when i put a go to adresse it tels me the km and time?

is that possible

Reply With Quote
  #2  
Old June 12th, 2009, 05:42 AM
Tentuxius's Avatar
Tentuxius Tentuxius is offline
More powar to you!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2004
Location: United Kingdom
Posts: 693 Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 21 h 49 m
Reputation Power: 201
Send a message via Yahoo to Tentuxius
Yes, it's absolutely possible.

But you'll need more information than "an address". You need location information, something that tells you the precise point at location A and location B... Then you can use maths to work out the distance between the two points.

You can either get a measuring tape and begin to plot your local area by hand, or you can buy this information from those reselling geographical data such as post-codes, addresses, etc.

Some such services will sell you a bulk load of data, whereas others will allow you to pay-per-lookup.

We have address data for our local area that includes the lattitude and longitude, and so we're able to work out distances between two addresses.

Hope this helps.
Comments on this post
medialint agrees: Your sig: if($Tiredness > TIREDNESS_MAX) $CupOfTea++; I like it ... I gave up coffee a while ago
(love it too much) and have become a tea drinker too. Haven't caught a cold in the 3+ years since
(lemon helps .. pissy tea) :-)
Skipt agrees: This prob won't put your rep points at 20,000 but it will give you at least 200 rep power...
__________________
PHP Code:
if($Tiredness TIREDNESS_MAX$CupOfTea++; 

If you found what I've said helpful, I'm interested in reputation points!

Reply With Quote
  #3  
Old June 14th, 2009, 05:57 PM
techker techker is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2005
Posts: 561 techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 2 h 42 m 53 sec
Reputation Power: 17
so ya i would put as default my address then we would just need to put the destination address.

but when i ment google can't we use googles api to do this?

Reply With Quote
  #4  
Old July 22nd, 2009, 08:32 AM
Tentuxius's Avatar
Tentuxius Tentuxius is offline
More powar to you!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2004
Location: United Kingdom
Posts: 693 Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level)Tentuxius User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 21 h 49 m
Reputation Power: 201
Send a message via Yahoo to Tentuxius
Sorry about the huge delay in getting back to you.

The answer is yes, the Google API will allow you to do geographical lookups... All the information you need is here, http://code.google.com/apis/maps/do....html#Geocoding

Hope you got on with this okay.

Reply With Quote
  #5  
Old July 22nd, 2009, 10:16 AM
techker techker is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2005
Posts: 561 techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level)techker User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 2 h 42 m 53 sec
Reputation Power: 17
thx for the reply i wil check it out.

cause on the google exaple it shows pre determind addresss. to go to.

i need to imbed my address and a field to input anither address then it tels me the distance between my address and the address in the input box.

Reply With Quote
  #6  
Old July 23rd, 2009, 07:36 AM
Axweildr's Avatar
Axweildr Axweildr is offline
'fie' on me, allege-dly
Dev Shed God 15th Plane (12000 - 12499 posts)
 
Join Date: Mar 2003
Location: in da kitchen ...
Posts: 12,277 Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)Axweildr User rank is General 56th Grade (Above 100000 Reputation Level)  Folding Points: 143856 Folding Title: Super Ultimate Folder - Level 1Folding Points: 143856 Folding Title: Super Ultimate Folder - Level 1Folding Points: 143856 Folding Title: Super Ultimate Folder - Level 1Folding Points: 143856 Folding Title: Super Ultimate Folder - Level 1Folding Points: 143856 Folding Title: Super Ultimate Folder - Level 1Folding Points: 143856 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Months 1 Week 3 Days 13 h 14 m 41 sec
Reputation Power: 4721
Send a message via Google Talk to Axweildr
Orkut
important distinctions - is that as the crow flies, or as a car drives ... can have serious implications for mileage algorithms ...
__________________
--Ax
without exception, there is no rule ...
Heavy Haulage Ireland
Targeted Advertising Cookie Optout (TACO) extension for Firefox
The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones


09 F9 11 02
9D 74 E3 5B
D8 41 56 C5
63 56 88 C0
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
-- Jamie Zawinski
Detavil - the devil is in the detail, allegedly, and I use the term advisedly, allegedly ... oh, no, wait I did ...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Google maps


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT