Please have a look at this related article with interactive graphics first :)
- Python 3 with PIL and requests
- GDAL
- ImageMagick
- ffmpeg
- R
Download all map images from EDO:
make 1-download
Geo-reference PNG images as GeoTIFFs and project them to EPSG:3035
make 2-warp
Compute color histograms for each frame and store them in a CSV file with one line per frame
make 3-hist
Crop the images to the bounds.geojson
file to remove empty white-space and make it easier to align a D3 map later
make 4-crop
Resize images to our target video size
make 5-resize
Label the images with the year and month
make 6-label
Generate the videos used in the article
make 7-video
To generate the data used in the last chart run the R script.
feel free to re-use and re-mix as you like.
CC-0