niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » python
Way to get an array of latitude/longitude points (tuples) from a trip
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
kbperry
*nix forums beginner


Joined: 21 Feb 2006
Posts: 18

PostPosted: Wed May 31, 2006 1:25 pm    Post subject: Re: Way to get an array of latitude/longitude points (tuples) from a trip Reply with quote

Quote:
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.

Quote:
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.

Quote:
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.
Back to top
Diez B. Roggisch
*nix forums Guru


Joined: 20 Feb 2005
Posts: 882

PostPosted: Tue May 30, 2006 9:49 pm    Post subject: Re: Way to get an array of latitude/longitude points (tuples) from a trip Reply with quote

kbperry schrieb:
Quote:
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
Back to top
kbperry
*nix forums beginner


Joined: 21 Feb 2006
Posts: 18

PostPosted: Tue May 30, 2006 12:24 pm    Post subject: Way to get an array of latitude/longitude points (tuples) from a trip Reply with quote

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?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 4:54 am | All times are GMT
navigation Forum index » Programming » python
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Trouble Declaring 3D Array in Header File free2klim C++ 1 Fri Jul 21, 2006 4:07 am
No new posts determine pointer to point to array or single item during... yancheng.cheok@gmail.com C++ 5 Fri Jul 21, 2006 1:17 am
No new posts FAQ 4.41 How can I remove duplicate elements from a list ... PerlFAQ Server Perl 0 Fri Jul 21, 2006 1:03 am
No new posts how to convert byte array into integer msosno01@gmail.com C++ 3 Thu Jul 20, 2006 9:07 pm
No new posts how to convert byte array into integer msosno01@gmail.com C++ 1 Thu Jul 20, 2006 9:01 pm

Rebuildable cars | Mortgages uk | Proxy | Watch Naruto Online | Promotional Web Design
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1747s ][ Queries: 20 (0.0639s) ][ GZIP on - Debug on ]