Seems I got a slight problem with this:
'VC = Abs(Cos(DEGTORAD(VCOURSE))
If VC < 0.000001 Then
DLONG = VDistance / Cos(LaA)
LaB = LaA
Else '*** NOT E/W COURSE
'*** CALCULATE NEW LATITUDE
DLAT = Abs(VDistance * Cos(DegToRad(VCourse)
'*** CONVERT TO DEGREES
DLAT = DLAT / 60
'*** CONVERT TO RADIANS
DLAT = Abs(DegToRad(DLAT))
If NSA = "S" Then
If VCourse < 90 Then
LaB = LaA + DLAT
Else If VCourse < 180 Then
LaB = LaA - DLAT
Else If VCourse < 270 Then
LaB = LaA - DLAT
Else
LaB = LaA + DLAT
End If
Thx for your hlp
Best regards
WmC
'VC = Abs(Cos(DEGTORAD(VCOURSE))
If VC < 0.000001 Then
DLONG = VDistance / Cos(LaA)
LaB = LaA
Else '*** NOT E/W COURSE
'*** CALCULATE NEW LATITUDE
DLAT = Abs(VDistance * Cos(DegToRad(VCourse)
'*** CONVERT TO DEGREES
DLAT = DLAT / 60
'*** CONVERT TO RADIANS
DLAT = Abs(DegToRad(DLAT))
If NSA = "S" Then
If VCourse < 90 Then
LaB = LaA + DLAT
Else If VCourse < 180 Then
LaB = LaA - DLAT
Else If VCourse < 270 Then
LaB = LaA - DLAT
Else
LaB = LaA + DLAT
End If
Thx for your hlp
Best regards
WmC