Coder Social home page Coder Social logo

Comments (5)

tsteven4 avatar tsteven4 commented on September 27, 2024

Support for reading google takeout timelines was added in 1.9.0: https://www.gpsbabel.org/htmldoc-1.9.0/fmt_googletakeout.html.

gpx has an option to change the precision of elevation values, but requires a source code change to alter the precision of other values such as latitude and longitude: https://www.gpsbabel.org/htmldoc-1.9.0/fmt_gpx.html

from gpsbabel.

TrueArgus13 avatar TrueArgus13 commented on September 27, 2024

Sorry, probably I was not clear enough. I'm talking not about "Semantic Location History" files which contains timeline objects only (actually - as we can see in TimeLine of Google web), but about raw waypoints, which contained in "Takeout\Location History (Timeline)\Records.json" file.

Example:
{
"locations": [{
"latitudeE7": 324564025,
"longitudeE7": 350534863,
"accuracy": 78,
"altitude": 140,
"verticalAccuracy": 16,
"source": "WIFI",
"deviceTag": 1664314150,
"platformType": "ANDROID",
"osLevel": 33,
"serverTimestamp": "2023-11-24T00:08:40.526Z",
"deviceTimestamp": "2023-11-24T00:08:40.071Z",
"batteryCharging": true,
"formFactor": "PHONE",
"timestamp": "2023-11-24T00:00:12.137Z"
}, {
"latitudeE7": 324564025,
"longitudeE7": 350534863,
"accuracy": 100,
"altitude": 140,
"verticalAccuracy": 23,
"source": "WIFI",
"deviceTag": 1664314150,
"platformType": "ANDROID",
"osLevel": 33,
"serverTimestamp": "2023-11-24T00:08:40.526Z",
"deviceTimestamp": "2023-11-24T00:08:40.071Z",
"batteryCharging": true,
"formFactor": "PHONE",
"timestamp": "2023-11-24T00:00:32.137Z"
}, {
....

from gpsbabel.

tsteven4 avatar tsteven4 commented on September 27, 2024

We would entertain a pull request to support this.

A useful reference is https://locationhistoryformat.com/reference/

from gpsbabel.

postmaxin avatar postmaxin commented on September 27, 2024

I implemented using the "Semantic Location History" folder first because it provides both waypoints and tracks, with trips being broken up intelligently, whereas "Records.json" appears to only provide one gigantic track, your all-time Google location tracking data. Just a track, no place names etc. We could include the Records.json data but there are a few challenges:

  • My Records.json going from 2012 until last August is 1.2 gigabytes of JSON, and it's one huge "locations" array. We'd want to stream that efficiently so that we don't always have to load the whole thing at once
  • We would probably want to correlate coordinates with the tracks in the "Semantic Location History" folder based on time. That way, we can keep waypoints etc and the data that Records.json provides is interleaved to produce a more detailed track

from gpsbabel.

TrueArgus13 avatar TrueArgus13 commented on September 27, 2024

@postmaxin
Yes, sometime we need detailed tracks. For example, for geotaggign of photos taken by cameras.
Timestamp filtering is required. "Accuracy" filter is nice-to-have too 😁
For awhile I just parse it to unicsv files (file-per-date) by simple python script and then combine and convert by GPSBabel.

from gpsbabel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.