{"action":"opened","issue":{"url":"https://api.github.com/repos/mendhak/gpslogger/issues/339","labels_url":"https://api.github.com/repos/mendhak/gpslogger/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/mendhak/gpslogger/issues/339/comments","events_url":"https://api.github.com/repos/mendhak/gpslogger/issues/339/events","html_url":"https://github.com/mendhak/gpslogger/issues/339","id":98693509,"number":339,"title":"Discarded inaccurate first point + distance filter = 0 points logged","user":{"login":"Doooc","id":13620469,"avatar_url":"https://avatars.githubusercontent.com/u/13620469?v=3","gravatar_id":"","url":"https://api.github.com/users/Doooc","html_url":"https://github.com/Doooc","followers_url":"https://api.github.com/users/Doooc/followers","following_url":"https://api.github.com/users/Doooc/following{/other_user}","gists_url":"https://api.github.com/users/Doooc/gists{/gist_id}","starred_url":"https://api.github.com/users/Doooc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doooc/subscriptions","organizations_url":"https://api.github.com/users/Doooc/orgs","repos_url":"https://api.github.com/users/Doooc/repos","events_url":"https://api.github.com/users/Doooc/events{/privacy}","received_events_url":"https://api.github.com/users/Doooc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-03T08:08:15Z","updated_at":"2015-08-03T08:08:15Z","closed_at":null,"body":"If the accuracy and distance filters are both used, AND the very first point logged is discarded due to the accuracy filter, then all future (accurate) points will be discarded due to the distance filter thinking we've traveled 0.0 metres. 0 points will be logged.\r\n\r\nExcerpt from debug log:\r\n\r\n14:06:26 DEBUG GpsLoggingService.OnLocationChanged:756 - Has description? false, Single point? false, Last timestamp: 0\r\n14:06:26 WARN  GpsLoggingService.OnLocationChanged:790 - Only accuracy of 6.0 m. Point discarded.\r\n14:06:26 INFO  GpsLoggingService.SetStatus:696 - Inaccurate point discarded.\r\n14:06:26 DEBUG GeneralLocationListener.onGpsStatusChanged:130 - 16 satellites\r\n14:06:26 DEBUG GeneralLocationListener.onGpsStatusChanged:112 - GPS Event First Fix\r\n14:06:26 INFO  GpsLoggingService.SetStatus:696 - Fix obtained\r\n14:06:27 DEBUG GeneralLocationListener.onGpsStatusChanged:130 - 16 satellites\r\n14:06:27 DEBUG GpsLoggingService.OnLocationChanged:756 - Has description? false, Single point? false, Last timestamp: 0\r\n14:06:27 INFO  GpsLoggingService.OnLocationChanged:828 - Location to update: [snip]\r\n14:06:27 INFO  GpsLoggingService.ResetCurrentFileName:685 - Filename: 20150803140623\r\n14:06:27 DEBUG GpsLoggingService.WriteToFile:938 - Calling file writers\r\n14:06:27 INFO  Utilities.PopulateAppSettings:149 - Getting preferences\r\n14:06:27 DEBUG GpsLoggingService.SetAlarmForNextPoint:917 - Set alarm for 0 seconds\r\n14:06:27 DEBUG Kml22WriteHandler.run:215 - Finished writing to KML22 File\r\n14:06:27 DEBUG GeneralLocationListener.onGpsStatusChanged:130 - 16 satellites\r\n14:06:28 DEBUG GpsLoggingService.OnLocationChanged:756 - Has description? false, Single point? false, Last timestamp: 1438581987521\r\n14:06:28 INFO  GpsLoggingService.SetStatus:696 - Only 0.0 m traveled. Point discarded.\r\n14:06:28 WARN  GpsLoggingService.OnLocationChanged:821 - Only 0.0 m traveled. Point discarded.\r\n14:06:28 DEBUG GpsLoggingService.SetAlarmForNextPoint:917 - Set alarm for 0 seconds\r\n14:06:28 DEBUG GeneralLocationListener.onGpsStatusChanged:130 - 16 satellites\r\n14:06:29 DEBUG GpsLoggingService.OnLocationChanged:756 - Has description? false, Single point? false, Last timestamp: 1438581987521\r\n14:06:29 INFO  GpsLoggingService.SetStatus:696 - Only 0.0 m traveled. Point discarded.\r\n14:06:29 WARN  GpsLoggingService.OnLocationChanged:821 - Only 0.0 m traveled. Point discarded.\r\n"}}