Giter Club home page Giter Club logo

binify's People

Contributors

kevinschaul avatar sam-m888 avatar smoucka 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

binify's Issues

Windows support

.. probably does not exist yet. Is there enough interest?

binify other things than density

Hi,
I would like to display the exact thing your tool is displaying.
But the data is not a cloud of points. It is a function wich associates a quantity to a location.

There is a difference, since zooming on a bunch of points will disperse them, thus the density will decrease. Zooming on a location doesn't change that location, thus the function will not change its output.
But by zooming, more hexagons will appear, so there is more hexagon color to compute.

I have the feeling that I am not very clear, ask me anything that doesn't make sense.
I will try to use your code to implement the tool I am speaking of in 2 or 3 weeks if I can find the time, I will make a pull request at this occasion.

Theoretical time for execution

I'm trying to bin 30,000 lat/lng pairs with an -n of 120, and it looks like it will take about an hour. (2 Ghz Macbook Pro, 8GB memory). Is that to be expected? From what I understand of the theory, it should run pretty quickly. May be doing something wrong.

Pass a parameter to COUNT?

In many cases, I have a series of points that are already aggregate values of some data point. For example, I might have a point for every county with an attached field in the .shp file for jobs created in that county in the past month.

My goal in this case would be to create hexagonal bins where COUNT = jobs in that hexagon. Would it be possible for COUNT to represent not just an actual count but a sum of a given field?

Option to ignore zero-count hexagons?

I've been playing with binify for some data I gathered by geocoding about 30,000 addresses. I needed a --num-across value of about 200 to get the granularity I wanted, which created a huge .shp file. To get it in shape for graphing with d3, I converted to GeoJSON and wrote a short python script to remove all polygons where COUNT=0. After then converting to TopoJSON it got down to a very manageable 169KB.

I thought this might make for a useful flag to the command line tool.

Would also be happy to publish this example as a gist or elsewhere. The final product looks great.

progressbar 2.3 dependency issue

It seems progressbar v2.3 is unavailable using pip and chokes on the dependencies when binify is installed in this manner (using virtualenv per your recommendation). On PyPI the last stable version is 2.2 released nearly 8 years ago making me think I'm missing something here...

Any help would be greatly appreciated.

Performance issues with 700K points

I've more than 700K points and I want to binify them. If I gave n=20 to n=120, it can finish with 1 hour to 1 day, but if I gave n=1000 then it almost finish %1 in 18 hours.

Is there anything you suggest for binning these points quickly?

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.