473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Way to get an array of latitude/longitude points (tuples) from a trip

I am not sure if this is the right place for this, but I thought it was
worth a shot.

What I want:
Enter a From: street address and a To: street address, and then specify

an interval (say every half mile). Then, I click a submit button, and
it gives me latitude and longitude points (in order) from the beginning

of my trip to the end of my trip in 1/2 mile increments.
I can't seem to find anything to simulate this, and I am not sure how
to go about coding this either.
BTW - I have used Yahoo geocoding service (to my delight), and while it

is a good service, I don't see a way to do this unless we knew every
street address in 1/2 mile increments.

Are there any Python modules that would assist with dealing with
latitude and longitude?
Can anyone out there help?

May 30 '06 #1
2 2505
kbperry schrieb:
I am not sure if this is the right place for this, but I thought it was
worth a shot.

What I want:
Enter a From: street address and a To: street address, and then specify

an interval (say every half mile). Then, I click a submit button, and
it gives me latitude and longitude points (in order) from the beginning

of my trip to the end of my trip in 1/2 mile increments.
I can't seem to find anything to simulate this, and I am not sure how
to go about coding this either.
BTW - I have used Yahoo geocoding service (to my delight), and while it

is a good service, I don't see a way to do this unless we knew every
street address in 1/2 mile increments.

Are there any Python modules that would assist with dealing with
latitude and longitude?
Can anyone out there help?


The problem is not the latitude/longitude. It would be trivial to
compute the great circle, thus the length of the trip between A and B
and divide it in smaller pieces to get 1-mile-distances.

But unless you own an Aircraft & are important enough to take flights
the direct route without air traffic control getting mad at you (aka:
you are George W. Bush or some other bigwig goverment guy), this won't
do you much good. What you needed would be a vectormap of the streets so
that you could do route planning. Which is expensive to get.

So I guess you are better off trying to find someone who offers that as
part of the service.
Diez
Diez

May 30 '06 #2
The problem is not the latitude/longitude. It would be trivial to
compute the great circle, thus the length of the trip between A and B
and divide it in smaller pieces to get 1-mile-distances.
Yeah, I am starting to wish we drove in straight lines.
But unless you own an Aircraft & are important enough to take flights
the direct route without air traffic control getting mad at you (aka:
you are George W. Bush or some other bigwig goverment guy), this won't
do you much good. What you needed would be a vectormap of the streets so
that you could do route planning. Which is expensive to get.
It just seems odd with all of the map software out there, that this
isn't available.
So I guess you are better off trying to find someone who offers that as
part of the service.


I wonder how expensive that would be....probably way out of our price
range.

May 31 '06 #3

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

Similar topics

1
by: jack | last post by:
not sure exactly where I should ask this question, but im looking for a database of Australian Postcodes that included the longitude/latitude. Does anyone know of such a thing? Preferably...
4
by: YS Sze | last post by:
If you know the exact longitude and latitude for a specific location, would anyone think it'd make any sense to find out if this set of location numbers is really part of the Fibonacci series or...
5
by: elyob | last post by:
Hi, I've got a database that outputs markers on a google map project. The problem I am encountering is that some businesses have been located the same latitude and longitude, therefore markers...
6
by: bill | last post by:
I am about to start on a module that will accept a location from a user, use Google geolocation services to get the lat/lon and then compute the distance from the site visitor to about 100 kennels...
1
by: radskate360 | last post by:
Hi I am newer to programming and need a bit of help with this program. OK, heres the directions. The distance between two places on earth can be calculated by using their latitudes and...
5
parshupooja
by: parshupooja | last post by:
Hello, Can any one how to calculate longitude and latitude of two addresses in asp.net C# Plz Help, thanks
5
by: arial | last post by:
Hi all, I have a sql .bak file which i need to convert into xml file. can someone help with this? pointing out to some tutorial or some suggetion on how to start? Thak you,
1
by: alan5 | last post by:
I want to answer on the topic australian postcode db with longitude/latitude posted by jack. He wrote: not sure exactly where I should ask this question, but im looking for a database of...
1
omerbutt
by: omerbutt | last post by:
hi i am trying to store the longitude and latitude i have made the table with 3 columns codes, longitude , latitude and the type for longitude and latitude is decimal(15,11) but there are different...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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,...

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.