Lat: (ASC(MID(A2,2,1))-65)*10 + VAL(MID(A2,4,1)) + (ASC(MID(A2,6,1))-97)/24 + 1/48 - 90
On Jan 12, 2017, at 23:53, kiener@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Greetings and thanks for the welcome to the group!
I've tried searching conversations in this group, but have not found any previous discussions.
I have a MS Access database linked to a Ham Radio logging program. The latitude and longitude in the logging program has the latitude and longitude fields listed in Degree Minute Second format. I would like to convert that to Decimal Degrees. (I need the DD format in order to export data for use in Google Maps Api, which uses the DD format).
I've tried researching for an easy formula, but I find scripts for the conversion in different programming languages. My knowledge of even Visual Basic is nill, so those scripts are beyond me. I'm hope that there may be a simple formula that I could use.
If this is process is too complicated for me, another option is to convert gridsquares into Decimal Degrees. (Gridsquares denote a certain location in the form, for example, EM69tt, denotes a location in Indianapolis, IN). Gridsquares are also a field in the logging program to which I can link.
I have found formulas that work in Excel, but the same functions do not exist in Access (unless by another name). Those formulas:
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Tidak ada komentar:
Posting Komentar