CityScope / CSL_Hanoi

Repository dedicated to project related to Hanoi City
GNU General Public License v3.0
3 stars 2 forks source link

Find a visual way to show the "dryness" of a landuse #23

Open agrignard opened 4 years ago

agrignard commented 4 years ago

Right now the only way to know that there is not enough water on a specific landuse is to look at the river (white is no water), it would be great to give an indication as the landuse level.

I don't exactly how, maybe playing with the transparency, writing a number between or an icon?

tnguyenh commented 4 years ago

So what do you prefer ? I would say transparency (or darkness), but:

tnguyenh commented 4 years ago

Now there is a dryness attribute (int) for landuse. It starts at 0, and is increased by one at each cycle. When some water is consumed by a cell, each associated landuse dryness is decremented by 'dryness_removal_amount'.

Note that for now the dryness is limited to 1000.

agrignard commented 4 years ago

OK I will make some test on the real table (hopefully the transparency will work)

agrignard commented 4 years ago

the value of the dryness seems to go from like -60 000 to 0, is it normal?

agrignard commented 4 years ago

Ok so the landuse were not schedule so couldn't udpate there dryness.

So I don't find yet the right value to have something relevant. I think we need to play between dryness_removal_amount and the max dryness (set to 1000) for now.

Just for debug if you put showDrynessto true I print the dryness value (ideally it should be with the transparency ones well calibrated)