google-data-analyses icon indicating copy to clipboard operation
google-data-analyses copied to clipboard

no points found

Open robinscheurwater opened this issue 3 years ago • 6 comments

Google renamed the json file to Records.json.

Also the timestamp key is renamed. Therefore the total number of points keeps returning zero.

robinscheurwater avatar Apr 29 '22 13:04 robinscheurwater

Yes, I had to rewrite the cycle that creates the timestampMs list. Timestamp is no longer in milliseconds in the json file so it has to be converted

delagra avatar Jun 18 '22 22:06 delagra

@delagra care sharing your updated code?

YanisKyr avatar Jul 07 '22 08:07 YanisKyr

Yes, I had to rewrite the cycle that creates the timestampMs list. Timestamp is no longer in milliseconds in the json file so it has to be converted

Hello, I would be great if you can share that block of code with the rest of us. I had already found that this was the issue, but as I'm not familiar with Python, I didn't manage to get it working.

Thanks

Highlanderix avatar Dec 21 '22 03:12 Highlanderix

Yes, I had to rewrite the cycle that creates the timestampMs list. Timestamp is no longer in milliseconds in the json file so it has to be converted

@delagra Would greatly appreciate some insight on how to re-write this... I tried removing milliseconds; no dice.

I'm hesitant to start combing through the JSON cause it's so big LOL... thanks in advance if you don't mind sharing this :)

dwaycik avatar Dec 29 '22 17:12 dwaycik

The file definition for Records.json seems to be in question. https://locationhistoryformat.com/reference/records/#/$defs/locationRecord/ The author may have meant to say he is working on it.

johnfoxii avatar Feb 02 '23 15:02 johnfoxii

Hello, after some tinkering with Python for something else, I give this a try and managed to get it working : https://github.com/matthieuheitz/google-data-analyses/pull/13 . Enjoy !

Highlanderix avatar Jun 12 '23 09:06 Highlanderix