GithubHelp home page GithubHelp logo

theopolisme / location-history-visualizer Goto Github PK

View Code? Open in Web Editor NEW
885.0 51.0 224.0 81 KB

Visualize your Google Location History using an interactive heatmap

Home Page: https://locationhistoryvisualizer.com/heatmap/

CSS 24.65% JavaScript 38.36% HTML 36.99%
location-history heatmap

location-history-visualizer's Introduction

location-history-visualizer

Available online: locationhistoryvisualizer.com/heatmap/

A tool for visualizing your complete, consolidated, collected Google Location History.

It works directly in your web browser โ€“ no software to download, no packages to install. Everyone deserves to know what data is being collected about them, without having to fiddle with cryptic pieces of software.

location-history-visualizer takes raw Google Takeout output and produces a heatmap of all of your location data over time, overlaid on an interactive map.

Packages used

  • leaflet.js, for rendering the interactive map
  • leaflet.heat, for rendering the heatmap overlay
  • filestream, for dealing with gigantic Google Takeout files
  • oboe.js, for processing said gigantic files
  • browserify, for helping filestream work properly in the browser

License

Copyright (C) 2014 Theopolisme [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

location-history-visualizer's People

Contributors

abhisuri97 avatar theopolisme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

location-history-visualizer's Issues

Allocation size overflow

When I try with my 260 MB LocationHistory.json, Chrome will crash and Firefox ends up with an error.

Something went wrong generating your map. Ensure you're uploading a Google Takeout JSON file that contains location data and try again, or create an issue on GitHub if the problem persists. (error: allocation size overflow)

Time Card Feature

This is great for a heat map.

What I would like to do is select and area and a time frame see a report for total time.

eg.

  1. Total time for date
    • select mile radius around work
    • select date
    • see report for total hours for that date
  2. Total time for date range
    • select mile radius around work
    • select start date and end date
    • see report for total hours for that date range

If you give me a pointer I may be able to fork this and give it a go.

Thanks,

Show date

The json file contains the date and I think it would be nice if it was visualized somehow.

(error: Invalid string length)

I followed the instructions by downloading my google takeout location data in JSON format. I uploaded it but the following occurred:

NOTE: It worked in google takeout kml format. JSON file size was 216MB.

Something went wrong generating your map. Ensure you're uploading a Google Takeout JSON file that contains location data and try again, or create an issue on GitHub if the problem persists. (error: Invalid string length)

This will take a while... sit back, get a cup of tea or something.

Why does it take so long? Depending on how long Google's been tracking your location, you may have hundreds of thousands of [latitude, longitude] pairs, every one of which must be loaded, analyzed, and plotted. That's a lot of dots.

Doesn't work

I uploaded a fresh json of location history. It processed for about 5 or 6 minutes and produced a blank (no data) heat map.

(error: [object DOMError])

Something went wrong reading your JSON file. Ensure you're uploading a "direct-from-Google" JSON file and try again, or create an issue on GitHub if the problem persists. (error: [object DOMError])

I downloaded the locationhistory JSON file twice and both times I got this error.

json empty file

Hi ! I thought google was following me but it doesn't... So I had an empty position history.json which only contains :

{
}

But the site didn't say anything and was still showing "Processing data"

Failed to create temp file 18 : It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources.

when i upload my 283MB big json location history file in the console there is a error happening:

Failed to create temp file 18 : It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources.

and the site mentions this:
image

so i am actualy not sure if its still processing (at least it seems busy since 12h)

Map loading blank

Hi,
Map loading blank from a takeout I did today, have tried a different browser just in case.
Just thought I'd let you know.
Thanks

0 data points imported from Google Maps location history

The message I get when I upload the google maps json file is : "Successfully processed 0 data points to generate your heatmap"

The files were exported from google maps and have the following naming convention: "2018_SEPTEMBER.json"

Apparent fail processing json file

Attempted to process 160MB location history json file. Been running for about 3 hours so I decided to check ans see what might be going on.

There is appears to be an error:
'Uncaught TypeError: Cannot read property 'byteLength' of null '

Image attached for further reference. Image also uploaded to imgur, http://i.imgur.com/hybgz0d.png.

image

Histogram improperly weighed by frequency

I just noticed an area that I visited only twice in the past few years is bright red and my assumption is that is due to a large number of data points, probably due to GPS being on in that area. I think you should normalize data by date to ensure you're not over representing certain datasets simply because there are more points.

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.