CityScienceLab-GDL / cityscope-ccu

Project for the mobility team of the MIT CityScope workshop
0 stars 2 forks source link

Implement Heatmaps #8

Open gamalielpalomo opened 2 years ago

gamalielpalomo commented 2 years ago

Add heatmaps to show the changes in some indicators

agrignard commented 2 years ago

Concerning heatmaps and depending on what you want to do and where you want to display it

  1. For a display on the table from GAMA You can have a look in the GAMA template library here models/Visualization and User Interaction/Visualization/Building Heatmap.gaml Gama now has a new feature that allows you to define a layer meshon top of your agent to show any heatmap.

  2. For a display in the CityScope FrontEnd you can also easily send information from GAMA to show heatmap following this link https://cityscope.media.mit.edu/modules/GAMA/#basic-heatmap-indicator

gamalielpalomo commented 2 years ago

@agrignard Is there a documentation page about how to use field and mesh? We want to use this kind of visualization for the indicators image

agrignard commented 2 years ago

@gamalielpalomo everything related to mesh and heatmap is implemented (and somehow self documented) here models/Visualization and User Interaction/Visualization/Building Heatmap.gaml

Is this enough for CityScope Guadalajara ? What else do you need? Don't hesitate to point me to a specific part of your code if needed

gamalielpalomo commented 2 years ago

I just have pushed a work that I have done related to the heatmap: I use the grid species but I dont like at all how it looks. image

agrignard commented 2 years ago

Yes that's why we have now mesh and heatmap as an alternative of using grid

gamalielpalomo commented 2 years ago

What is the name of the model which implements mesh?

agrignard commented 2 years ago

As already mention in my first anwser it's implemented here models/Visualization and User Interaction/Visualization/Building Heatmap.gaml

gamalielpalomo commented 1 year ago

Currently doing some work in this aspect to enhance our heatmaps