Comments (12)
It worked great after cloning repository. Took about 8 minutes or so. Thank you!
How do I do it for only certain dates? do I just type in geo_heatmap.py - s [--min-date YYYY-MM-DD]
[--max-date YYYY-MM-DD]
Also is there a way to use googles maps or not?
from geo-heatmap.
How big is you location file and how much RAM does your computer have?
I will probably add an option to stream in the data in the future (will be much slower but better for memory).
from geo-heatmap.
Location file is 745Mb and I have 6Gb of RAM. I couldn't find an option to download location data for just a year or a month.
from geo-heatmap.
My file is 259 MB and I have 8GB RAM. For me the script uses 1.2 GB. So for you it would probably use about 3.4 GB which could exceed the memory limit.
from geo-heatmap.
I'll try to implement the stream option as soon as I have time. If someone else wants to implement it feel free to submit a pull request 😃
from geo-heatmap.
from geo-heatmap.
Pull (git pull
) the new changes and run the command like this:
python geo_heatmap.py -s <file>
from geo-heatmap.
Hey man I'm a beginner how do I implement git pull? Does that mean just reclone repository? THanks for your help!
from geo-heatmap.
You can just reclone the repository that works.
Or alternatively if you want to do it properly (and if you have git installed) you can navigate to the directory containing the repository's files (as described in the instructions) and run the command
git pull
from geo-heatmap.
I've tried the git pull option but its says 'git' is not recognized as an internal or external command,
operable program or batch file. I'm dong it in the command prompt in the folder where I have repository files, is that correct?
from geo-heatmap.
Oh wait I don't have git installed. I guess I was doing it wrong then :)
from geo-heatmap.
To set a range of dates you run it like this:
python geo_heatmap.py -s --min-date <YYYY-MM-DD> --max-date <YYYY-MM-DD> <file>
(The square brackets in the usage output just mean that they are optional)
Example:
python geo_heatmap.py -s --min-date 2017-12-01 --max-date 2018-05-10 locations.json
Right now Google maps is not supported but will be maybe added in the future.
from geo-heatmap.
Related Issues (20)
- Carriage return in script throws error on Linux
- Non English formatted google services data
- Add option to specify a time span for the location data
- Error: list indexes must be integers or slides, not strings HOT 2
- Memory Error when Loading JSON Data
- Add option to print out stats about your data after loading
- 2 Google Accounts HOT 3
- Animation Option
- progressbar error whilst streaming json file HOT 3
- Combine multiple location data files HOT 4
- Could not locate runnable browser HOT 2
- Remove personal information HOT 3
- kml file does not open properly HOT 1
- ValueError: Custom tiles must have an attribution.
- JSON file has no `timestampMs` field HOT 1
- Import CSV or Json simple
- There is no file named locations.json in the google download HOT 3
- Script not compatible with the latest Takeout zip structure HOT 1
- Make it possible to import output from Google MyMaps (KML / KMZ / GPS)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geo-heatmap.