crstn / CISC

Population projection code.
0 stars 0 forks source link

Automatic generation of GIFs from GeoTIFFs #29

Open crstn opened 7 years ago

crstn commented 7 years ago

Automating this would save us a lot of clicking. A first step would be to automatically generate a coloured image from the 1-band GeoTIFFs, which is quite straightforward with gdaldem color-relief.

With the following color scale config file:

0      0   0   0   0
nv     0   0   0   0
1      yellow
2000   red

This image is produced:

screen shot 2017-06-14 at 16 13 10

This would need to be tweaked a bit to look nicer, repeated for all GeoTIFFs, and then fed into ImageMagick or the likes to turn into an animated GIF.