473,770 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

USA time distance and map search script

Hi All,

In an application I write, I need to have some mapping service, where I can
select two locations, which shall calculate the distance and mainly the
time(could be approximate) to travel from one place to another. Is there any
ASP scripts or DLLs(APIs) provided or sold by any third party mapping
service?

Have anyone come across such requirments? Your experience and suggestions
will help me much.

Many thanks and Regards,
Benny
Jul 22 '05 #1
3 1616
Gazing into my crystal ball I observed "Benny" <ag*****@lycos. com>
writing in news:#m******** ******@TK2MSFTN GP14.phx.gbl:
Hi All,

In an application I write, I need to have some mapping service, where I
can select two locations, which shall calculate the distance and mainly
the time(could be approximate) to travel from one place to another. Is
there any ASP scripts or DLLs(APIs) provided or sold by any third party
mapping service?

Have anyone come across such requirments? Your experience and
suggestions will help me much.

Many thanks and Regards,
Benny


Although it's not exactly what you need there is an article on Store
Locator at <http://www.aspfaq.com/show.asp?id=252 7>. I would think if you
knew the longitude and latitude for each place, you could figure the
distance and therefore travel time between the two points.

This brings back memories of "word problems" where you had to figure out
how fast train A was going in order to find out at what time train B was
going to cross it at some location. I _hated_ "word problems" when I was a
kid, and now I have to use them all the time. Good thing I paid attention.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #2
Thanks Adrienne.
I have done a restraunt search with zip code and longitude& latitude, But
not with mapping. (Click the locations in map and do the rest). Mapquest
provides that API, but do not know if that is customizable to my need.

I like your word problems example. You are right, many which we hate in
childhood will be used when we are grown up. :-)

Benny
Macronimous.com
Web & PDA solutions!

"Adrienne" <ar********@sbc global.net> wrote in message
news:Xn******** *************** *****@207.115.6 3.158...
Gazing into my crystal ball I observed "Benny" <ag*****@lycos. com>
writing in news:#m******** ******@TK2MSFTN GP14.phx.gbl:
Hi All,

In an application I write, I need to have some mapping service, where I
can select two locations, which shall calculate the distance and mainly
the time(could be approximate) to travel from one place to another. Is
there any ASP scripts or DLLs(APIs) provided or sold by any third party
mapping service?

Have anyone come across such requirments? Your experience and
suggestions will help me much.

Many thanks and Regards,
Benny


Although it's not exactly what you need there is an article on Store
Locator at <http://www.aspfaq.com/show.asp?id=252 7>. I would think if you
knew the longitude and latitude for each place, you could figure the
distance and therefore travel time between the two points.

This brings back memories of "word problems" where you had to figure out
how fast train A was going in order to find out at what time train B was
going to cross it at some location. I _hated_ "word problems" when I was
a
kid, and now I have to use them all the time. Good thing I paid
attention.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jul 22 '05 #3


Benny wrote:
Hi All,

In an application I write, I need to have some mapping service, where I can
select two locations, which shall calculate the distance and mainly the
time(could be approximate) to travel from one place to another. Is there any
ASP scripts or DLLs(APIs) provided or sold by any third party mapping
service?

Have anyone come across such requirments? Your experience and suggestions
will help me much.


You can calculate a straight line distance using a zip code to
longtitude/latitude conversion. You probably will have to buy the
database.

Jul 22 '05 #4

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

Similar topics

4
3816
by: Xenophobe | last post by:
I have successfully created a zip code radius search, but the performance is unacceptable. I have two tables. The first is 52K zip codes w/lat and long. The second is 3K national business addresses. Using the zip code 10010, it takes almost 60 seconds to return 122 businesses within a 25 mile radius. This slowdown is almost entirely due to the query radius distance formula.
7
11025
by: csumner | last post by:
I am trying to use the haversine function to find the distance between two points on a sphere, specifically two zip codes in my database. I'm neither horribly familiar with SQL syntax nor math equations :), so I was hoping I could get some help. Below is what I'm using and it is, as best as I can figure, the correct formula. It is not however, giving me correct results. Some are close, others don't seem right at all. Any ideas? SET...
0
2254
by: gary_dr | last post by:
What's so special about istream_iterator that prevents me from determining the distance between two of them. In the code below, search() does return a foundAt iterator that points to the location in question, but distance() still always returns zero. However reading a chunk of file into a vector and searching the vector produces an iterator that distance() will measure properly. Evidently , it is not possible to measure the distance ...
9
3446
by: Sandy | last post by:
Hello - I need either a cheap tool or code & DB that calculates, eg. within 50-mile radius of a zip code. Anyone have any suggestions? -- Sandy
4
2319
by: fastback66 | last post by:
Evidently per the C++ standard, it is not possible to measure the distance between two stream iterators, because two non-end-of-stream iterators are equal when they are constructed from the same stream. I still don't quite understand why that fact is true. But... I wish to find the first occurance of some sequence in an existing stream. For the moment this stream is a file on disk, but later may be a stream from another process. Anyway,...
8
17827
by: giloosh | last post by:
how would i get the distance and angle between 2 points on the screen. For example: what is the distance between (100,50) and (250,70) what i really wanna do is see how far the current mouse position is from a given object and what the angle is between them. Any help please? Thanks, Gil
26
7212
by: Lionel B | last post by:
Hi, Anyone know if the Standard has anything to say about the time complexity of size() for std::set? I need to access a set's size (/not/ to know if it is empty!) heavily during an algorithm and was thus wondering whether I'd be better off tracking the size "manually" or whether that'd be pointless. Thanks,
11
4092
by: Dirntknow | last post by:
Further to my recent post in this newsgroup i've got to admit i'm struggling. I've no experience with javascript or it's workings. What i'd like is a simple converter to allow a user to input the distance travelled in miles and the time in hours and minutes, the result being an average speed. What i'd appreciate is for someone to write the script for me and post here if possible. I am willing to learn but don't know where to start and i've...
33
5577
by: desktop | last post by:
In the C++ standard sec 23.1.2 table 69 it says that erase(q) where q is a pointer to an element can be done in amortized constant time. I guess that is not worst case since std::set is practically a red-black tree where insert/delete takes O(lg n) time. Or are there some other explanation for this complexity?
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10259
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
10101
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
10038
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
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.