Giter Site home page Giter Site logo

Comments (12)

askaraboz avatar askaraboz commented on May 19, 2024 1

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.

luka1199 avatar luka1199 commented on May 19, 2024

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.

askaraboz avatar askaraboz commented on May 19, 2024

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.

luka1199 avatar luka1199 commented on May 19, 2024

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.

luka1199 avatar luka1199 commented on May 19, 2024

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.

luka1199 avatar luka1199 commented on May 19, 2024

#20

from geo-heatmap.

luka1199 avatar luka1199 commented on May 19, 2024

Pull (git pull) the new changes and run the command like this:

python geo_heatmap.py -s <file>

from geo-heatmap.

askaraboz avatar askaraboz commented on May 19, 2024

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.

luka1199 avatar luka1199 commented on May 19, 2024

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.

askaraboz avatar askaraboz commented on May 19, 2024

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.

askaraboz avatar askaraboz commented on May 19, 2024

Oh wait I don't have git installed. I guess I was doing it wrong then :)

from geo-heatmap.

luka1199 avatar luka1199 commented on May 19, 2024

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)

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.