carlosbergillos / locationhistoryformat Goto Github PK
View Code? Open in Web Editor NEWCollaborative format definition and documentation for Google Location History files.
Home Page: https://locationhistoryformat.com
License: MIT License
Collaborative format definition and documentation for Google Location History files.
Home Page: https://locationhistoryformat.com
License: MIT License
Hey,
I'm currently working on my masterthesis where I process the Google Location History. I stumbled across this Project (sadly a little bit late) and I love it. Your work helped me quite a bit to understand the data.
In the ActivityType Segment it is written that some types are sub-activity of IN_VEHICLE. From my finding I can confirm this. However I would add to this that IN_BUS and IN_CAR is is also a sub-activity of IN_FOUR_WHEELER_VEHICLE. If analyzed my data an for every activity IN_FOUR_WHEELER_VEHICLE was included IN_BUS and IN_CAR added up to the exact confidence of IN_FOUR_WHEELER_VEHICLE.
I also found that IN_FOUR_WHEELER_VEHICLE and IN_TWO_WHEELER_VEHICLE add up to IN_ROAD_VEHICLE (plus minus 1, which is probably a rounding mistake)
Also in a lot of cases (there are also a lot of cases where it not the case) IN_FOUR_WHEELER_VEHICLE, IN_TWO_WHEELER_VEHICLE and IN_RAIL_VEHICLE add up to IN_VEHICLE. In the cases where these values don't add up they are always bigger than IN_VEHICLE.
The hierarchy probably looks like this.
IN_VEHICLE
โ โ
โ โ
โ โ
โ โ
IN_RAIL_VEHICLE โโโโโโโโ โโโโโโโโโบ IN_ROAD_VEHICLE
โ โ
โ โ
โ โ
โ โ
IN_FOUR_WHEELER_VEHICLE โโโ โโโบ IN_TWO_WHEELER_VEHICLE
โ โ
โ โ
โ โ
โ โ
IN_CAR โโโ โโโโบ IN_BUS
[
{
"type": "IN_VEHICLE",
"confidence": 97
},
{
"type": "IN_ROAD_VEHICLE",
"confidence": 97
},
{
"type": "IN_FOUR_WHEELER_VEHICLE",
"confidence": 59
},
{
"type": "IN_CAR",
"confidence": 42
},
{
"type": "IN_TWO_WHEELER_VEHICLE",
"confidence": 37
},
{
"type": "IN_BUS",
"confidence": 17
},
{
"type": "STILL",
"confidence": 1
},
{
"type": "UNKNOWN",
"confidence": 1
},
{
"type": "IN_RAIL_VEHICLE",
"confidence": 1
}
]
So there is definitely more to the story than there are subtypes to IN_VEHICLE. I hope this helped and please let me know if I should do some further testing.
This is a great initiative to document the location history data format spec.
Wondering if you or others have built anything using it and if there is a place to add those usage in this project to see those references.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.