Grid Square to Grid Square Distances
Jul 19th 2020, 01:31 | |
NZ3OJoined: Apr 4th 1998, 00:00Total Topics: 0 Total Posts: 0 |
On the Contest Rules, it talks about a public "standard algorithm" for calculating the distance between two 6-character Grid Squares, but I do not find that anywhere on the site. Has the ARRL published the Grid Square distance calculation? 73, Byron |
Jul 19th 2020, 07:20 | |
W1VTSuper Moderator Joined: Apr 4th 1998, 00:00Total Topics: 0 Total Posts: 0 |
http://www.w1ghz.org/ http://www.w1ghz.org/new/bd_2004.zip http://www.arrl.org/grid-squares |
Jul 19th 2020, 11:37 | |
NZ3OJoined: Apr 4th 1998, 00:00Total Topics: 0 Total Posts: 0 |
Thank you. The QST Article is helpful for understanding how to map Grid Squares to Longitude and Latitude and vice-versa, but the BD_2004 code requires a lot of interpretation. Is there no specification of how to calculate the distance? I do understand we cannot just do a straight line between two points. I appreciate your support. |
Jul 19th 2020, 17:13 | |
NZ3OJoined: Apr 4th 1998, 00:00Total Topics: 0 Total Posts: 0 |
This has the precise code I needed. Seems accurate. I am now designing the Grid Square conversion to add to it. Thank you. 73, Byron https://www.plumislandmedia.net/mysql/stored-function-haversine-distance-computation/ |