G GaryK4 Member Licensed User Longtime User Jan 8, 2018 #1 If I have a map location (lat & long) is it possible to get the altitude? I know that LocationChanged gives me an altitude, but I want the altitude for a non current location. When I do Log(marker_location.AltitudeValid) it return false. It should be false because it initializes to zero. I don't see any method to get the true altitude.
If I have a map location (lat & long) is it possible to get the altitude? I know that LocationChanged gives me an altitude, but I want the altitude for a non current location. When I do Log(marker_location.AltitudeValid) it return false. It should be false because it initializes to zero. I don't see any method to get the true altitude.
eurojam Well-Known Member Licensed User Longtime User Jan 9, 2018 #2 You can use the NMEA String and extract the altitude - which will be very inaccurate by the way... You can define a event for the gps: Code: Copy Sub myGPS_NMEA (TimeStamp As Long, Sentence As String) Log(Sentence) End Sub and then search the $GPGGA Sentence: http://aprs.gids.nl/nmea/#gga Upvote 0
You can use the NMEA String and extract the altitude - which will be very inaccurate by the way... You can define a event for the gps: Code: Copy Sub myGPS_NMEA (TimeStamp As Long, Sentence As String) Log(Sentence) End Sub and then search the $GPGGA Sentence: http://aprs.gids.nl/nmea/#gga
Erel B4X founder Staff member Licensed User Longtime User Jan 9, 2018 #3 Not without finding a database or web service with this data (DTM). Upvote 0