Exports Routes (locations & miles & dates) from Google to Excel

as all of us know, Google take care of where you are going while your mobile follow you.
I want to grab this information (destination,dates and number of miles) into Excel.
Any idea?
François VDCIcT service DeskAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Davy ParidaensCommented:
If your smartphone is connected to a goegle account then you can retreive your location history here:
maps.google.com/locationhistory
download-copy-of-all-your-data.jpgDeselect everything exept your Location History you can download it in History.json and then use that data.

regards!

grtz,

Davy
François VDCIcT service DeskAuthor Commented:
Tks. euh... what's History.Json ? how to use it?
Davy ParidaensCommented:
Hi François,

History.json is the export of your locations that you visited.
You can use the following Json parser:
https://www.codeproject.com/Articles/828911/Recursive-VBA-JSON-Parser-for-Excel


https://github.com/VBA-tools/VBA-JSON
A tutorial on how to use VBA-JSON:
https://www.youtube.com/watch?v=CFFLRmHsEAs&feature=youtu.be

grtz,

Davy
Davy ParidaensCommented:
Hi François,

Another method is to export to KML.

KML.JPG
Then use the following method to import in to excel:
1- Download the kml file
2- rename the file to .xml
3- from excel 2007 go to Data > From Other Sources > From XML Data Source
4- Browse to where you saved the file to impoort into excel.
5- Excel will prompt that it can find the schema and will try to make it by it's own, accept it.
and you should see your data imported successfully
Hope this few steps help you to acheive your task
Davy ParidaensCommented:
Hi François,

I wouldn't  use excel as there is a tremendous amount of data. You can use MS SQL expres and the Management studio:

https://www.microsoft.com/en-us/sql-server/sql-server-editions-express

https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms

Let me know if you need any help with the instalation and the import.

grtz,

Davy

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Google

From novice to tech pro — start learning today.