S Scantech Well-Known Member Licensed User Longtime User Jul 31, 2019 #1 Anyone knows how to detect GPS speed when walking or driving. I'm really interested in driving speed. I'm trying to filter out distance data from use of walking. Google map does it somehow
Anyone knows how to detect GPS speed when walking or driving. I'm really interested in driving speed. I'm trying to filter out distance data from use of walking. Google map does it somehow
E emexes Expert Licensed User Jul 31, 2019 #2 Should be returned by GPS callback, alongside latitude, longitude, bearing: Last edited: Jul 31, 2019 Upvote 0
S Scantech Well-Known Member Licensed User Longtime User Jul 31, 2019 #3 Can you show any example? Not sure how to deal with it for now. Upvote 0
E emexes Expert Licensed User Jul 31, 2019 #4 go to the top hit and midway through the first post, it's like Erel's seen us coming: 'Starter service Sub GPS_LocationChanged (Location1 As Location) CallSub2(Main, "LocationChanged", Location1) End Sub 'Main activity Public Sub LocationChanged(Location1 As Location) lblLat.Text = "Lat = " & Location1.ConvertToMinutes(Location1.Latitude) lblLon.Text = "Lon = " & Location1.ConvertToMinutes(Location1.Longitude) lblSpeed.Text = $"Speed = $1.2{ Location1.Speed } m/s "$ End Sub Last edited: Jul 31, 2019 Upvote 0
go to the top hit and midway through the first post, it's like Erel's seen us coming: 'Starter service Sub GPS_LocationChanged (Location1 As Location) CallSub2(Main, "LocationChanged", Location1) End Sub 'Main activity Public Sub LocationChanged(Location1 As Location) lblLat.Text = "Lat = " & Location1.ConvertToMinutes(Location1.Latitude) lblLon.Text = "Lon = " & Location1.ConvertToMinutes(Location1.Longitude) lblSpeed.Text = $"Speed = $1.2{ Location1.Speed } m/s "$ End Sub
E emexes Expert Licensed User Jul 31, 2019 #5 to convert metres/second to kilometres/hour, multiply x 3.6 to convert kilometres/hour to miles/hour, divide by 1.609344 trivia: a few decades ago, the inch was redefined to be 2.54 centimetres exactly Last edited: Jul 31, 2019 Upvote 0
to convert metres/second to kilometres/hour, multiply x 3.6 to convert kilometres/hour to miles/hour, divide by 1.609344 trivia: a few decades ago, the inch was redefined to be 2.54 centimetres exactly
E emexes Expert Licensed User Jul 31, 2019 #6 emexes said: trivia: a few decades ago, the inch was redefined to be 2.54 centimetres exactly Click to expand... I thought I'd better check that, and I'm glad I did - turns out it happened in July 1959 ie exactlyish 60 years ago this month. So my recollection was only out by a factor of 2 - even armed with an Australian no worries, close enough attitude, that's a bit of a stretch. :-/ Upvote 0
emexes said: trivia: a few decades ago, the inch was redefined to be 2.54 centimetres exactly Click to expand... I thought I'd better check that, and I'm glad I did - turns out it happened in July 1959 ie exactlyish 60 years ago this month. So my recollection was only out by a factor of 2 - even armed with an Australian no worries, close enough attitude, that's a bit of a stretch. :-/