John,

Do you have the latitude and longitude values of each of your locations?
If so, the math is explained pretty well at
http://www.darkshire.org/~jhkim/public_html/programming/zipcodes/math.ht
ml. If you need the latitude and longitude values, you can get a zip
code level list at http://www.zipcodedownload.com/. This site also has
sample code but not in RPG or SQL.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of SirJohn
Sent: Sunday, June 03, 2007 5:05 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] locations near you?

Greetings,
I am looking at some app that will show all the locations near a
starting
point. I mean, here is my address, find all the iSeries user groups that
are
within 50 miles of me. I have searched, googled and it appears that I
should of paid more attention in math class. I found that lat and lon
and
sin and cos are big in this.

Does anyone have something in RPG or SQL on the iSeries that will do
this?

Tia,
John


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.