[android] Position jumps unexpectedly because of received network location #5187

Closed
opened 2023-05-18 20:53:02 +00:00 by biodranik · 0 comments
biodranik commented 2023-05-18 20:53:02 +00:00 (Migrated from github.com)

It likely happens when the network provider position with a newer timestamp overrides the GPS position with an older timestamp. Are network timestamps in the future? Is it caused by invalid device time settings?

05-18 09:41:04.799 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L1 hAcc=10 et=+14h28m43s171ms etAcc=+1ms alt=110.27789306640625 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}]
05-18 09:41:04.801 (main) D/LocationHelper: onLocationChanged(): The new Location[gps L1 hAcc=10 et=+14h28m43s171ms etAcc=+1ms alt=110.27789306640625 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}] is worse than the last Location[network L0 hAcc=110 et=+14h29m32s489ms alt=98.0999984741211 vAcc=23 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}]
05-18 09:41:06.063 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[network L2 hAcc=129 et=+14h30m32s812ms alt=99.0 vAcc=35 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}]
05-18 09:41:07.799 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L3 hAcc=10 et=+14h28m46s171ms etAcc=+1ms alt=109.6820068359375 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}]
05-18 09:41:07.801 (main) D/LocationHelper: onLocationChanged(): The new Location[gps L3 hAcc=10 et=+14h28m46s171ms etAcc=+1ms alt=109.6820068359375 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}] is worse than the last Location[network L2 hAcc=129 et=+14h30m32s812ms alt=99.0 vAcc=35 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}]
05-18 09:41:10.803 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L4 hAcc=10 et=+14h28m49s171ms etAcc=+1ms alt=110.2803955078125 vel=0.65 bear=274.8 vAcc=5 sAcc=1 bAcc=25 {Bundle[mParcelledData.dataSize=96]}]
05-18 09:41:10.804 (main) D/LocationHelper: onLocationChanged(): The new Location[gps L4 hAcc=10 et=+14h28m49s171ms etAcc=+1ms alt=110.2803955078125 vel=0.65 bear=274.8 vAcc=5 sAcc=1 bAcc=25 {Bundle[mParcelledData.dataSize=96]}] is worse than the last Location[network L2 hAcc=129 et=+14h30m32s812ms alt=99.0 vAcc=35 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}]
05-18 09:41:13.804 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L5 hAcc=10 et=+14h28m52s171ms etAcc=+1ms alt=109.42266845703125 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}]
It likely happens when the network provider position with a newer timestamp overrides the GPS position with an older timestamp. Are network timestamps in the future? Is it caused by invalid device time settings? ``` 05-18 09:41:04.799 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L1 hAcc=10 et=+14h28m43s171ms etAcc=+1ms alt=110.27789306640625 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}] 05-18 09:41:04.801 (main) D/LocationHelper: onLocationChanged(): The new Location[gps L1 hAcc=10 et=+14h28m43s171ms etAcc=+1ms alt=110.27789306640625 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}] is worse than the last Location[network L0 hAcc=110 et=+14h29m32s489ms alt=98.0999984741211 vAcc=23 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}] 05-18 09:41:06.063 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[network L2 hAcc=129 et=+14h30m32s812ms alt=99.0 vAcc=35 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}] 05-18 09:41:07.799 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L3 hAcc=10 et=+14h28m46s171ms etAcc=+1ms alt=109.6820068359375 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}] 05-18 09:41:07.801 (main) D/LocationHelper: onLocationChanged(): The new Location[gps L3 hAcc=10 et=+14h28m46s171ms etAcc=+1ms alt=109.6820068359375 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}] is worse than the last Location[network L2 hAcc=129 et=+14h30m32s812ms alt=99.0 vAcc=35 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}] 05-18 09:41:10.803 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L4 hAcc=10 et=+14h28m49s171ms etAcc=+1ms alt=110.2803955078125 vel=0.65 bear=274.8 vAcc=5 sAcc=1 bAcc=25 {Bundle[mParcelledData.dataSize=96]}] 05-18 09:41:10.804 (main) D/LocationHelper: onLocationChanged(): The new Location[gps L4 hAcc=10 et=+14h28m49s171ms etAcc=+1ms alt=110.2803955078125 vel=0.65 bear=274.8 vAcc=5 sAcc=1 bAcc=25 {Bundle[mParcelledData.dataSize=96]}] is worse than the last Location[network L2 hAcc=129 et=+14h30m32s812ms alt=99.0 vAcc=35 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=332]}] 05-18 09:41:13.804 (main) D/LocationHelper: onLocationChanged(): provider = AndroidNativeProvider location = Location[gps L5 hAcc=10 et=+14h28m52s171ms etAcc=+1ms alt=109.42266845703125 vel=0.0 vAcc=5 sAcc=0 bAcc=??? {Bundle[mParcelledData.dataSize=96]}] ```
This repo is archived. You cannot comment on issues.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#5187
No description provided.