GithubHelp home page GithubHelp logo

Add heatmap layer about deck.gl HOT 12 CLOSED

visgl avatar visgl commented on May 3, 2024 9
Add heatmap layer

from deck.gl.

Comments (12)

1chandu avatar 1chandu commented on May 3, 2024 2

We will be working on this layer for next major deck.gl release (6.0 or 6.1, currently building GPU aggregation pieces).

from deck.gl.

1chandu avatar 1chandu commented on May 3, 2024 1

This can be closed once #3384 is merged, remaining issues are tracked here: #3385

from deck.gl.

yocontra avatar yocontra commented on May 3, 2024

Anyone working on this? Might make time to look into it this weekend if not - the one bundled w/ map-gl has some really major perf issues

from deck.gl.

gnavvy avatar gnavvy commented on May 3, 2024

Hi @contra, we are currently working on some other features and can definitely use some help here :)

from deck.gl.

vicapow avatar vicapow commented on May 3, 2024

Hey @contra! If you're talking about https://github.com/vicapow/react-map-gl-heatmap-overlay would love to hear more info on the perf issues you're experiencing.

from deck.gl.

yocontra avatar yocontra commented on May 3, 2024

@vicapow The issue with react-map-gl-heatmap-overlay is:

  • location accessor map over dataset not being cached - immutablejs .get() and .getIn() are super costly!
  • iterating every data point on every draw for mercator projection

Even with only ~10K items in immutable the framerate is incredibly low and the main thread is locked up consistently.

Doing the projections on the gpu (with this module) solves all of these problems.

Caching the output of mapping locationAccessor over the data set alleviates the major bottleneck and allows you to render ~20K items with a decent framerate, but I still think doing the projections in JS at all is going to be a bottleneck for our case (10M+ data points, trying to render as many as possible @ 60fps).

from deck.gl.

jmandel1027 avatar jmandel1027 commented on May 3, 2024

is this still coming in 7.0.0? a port of @vicapow 's webgl heatmap for both geospatial and identity based systems would be amazing and super relevant to the use case im working through in #2673

from deck.gl.

tgorkin avatar tgorkin commented on May 3, 2024

This will likely not make it in for 7.0 release. I expect this will release in 7.1 or 7.2.

from deck.gl.

 avatar commented on May 3, 2024

Can I add a request that the elevation of a point be considered, and therefore render the heatmap in 3D?

from deck.gl.

1chandu avatar 1chandu commented on May 3, 2024

@SymbolixAU , it is possible, but can you give more details of your use case?

from deck.gl.

 avatar commented on May 3, 2024

I don't have a specific use-case in mind yet, but a lot of the data I work with has elevation (e.g. GPS pings along roads), so I thought it might be an interesting component of a heatmap.

from deck.gl.

 avatar commented on May 3, 2024

nice work!

from deck.gl.

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.