×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




...this is the best option IMO, you can probably do what you want in a single SQL statement.

________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Booth Martin <booth@xxxxxxxxxxxx>
Sent: 25 February 2020 23:20
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Get latitude/longitude from address for free

SQL has a "... from json_table(systools.httpgetclob(:URL, ..."
function. A fairly simple RPG program will get that info for you if you
find a web service you like. Then you're good from then on.


******

On 2/25/2020 3:05 PM, Jeff Crosby wrote:
Haven't needed this ability in bulk for several years. But shortly I will
have use for geocoding ~300 addresses. The web service(s) I used several
years (with lots of help from Doug Handy several times!) are no longer
working/available.

This is essentially a one-time need in bulk. In a normal month we'll need
5 or 6 done and just do it by googling.

It would be great if SQL had something like this to embed in RPG (excuse if
the syntax is off):

Select Latitude, Longitude Into :lat, :long From https://geocodeforfree
Where Address = :address

but that ain't gonna happen.

Thanks.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&amp;data=02%7C01%7C%7C8cbace1a0d864c37f16608d7ba40f21c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637182660404874108&amp;sdata=g%2BaAQsodfUnC%2BvtDAnTWZ%2B%2BEIbkYGci3FU1%2BrohNoeA%3D&amp;reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&amp;data=02%7C01%7C%7C8cbace1a0d864c37f16608d7ba40f21c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637182660404874108&amp;sdata=3NjJ3WZG%2FRYr0waCxoPn%2B8AHOJag6DsZTk28lXy1ieA%3D&amp;reserved=0.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com&amp;data=02%7C01%7C%7C8cbace1a0d864c37f16608d7ba40f21c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637182660404874108&amp;sdata=L395OM%2FlBrNQW67S%2FHp%2FNIthr6FU6O33QSK5DcmHyrM%3D&amp;reserved=0

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-2026 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.