Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Baumvideo

Project to display all of Berlin's trees by year of plantation in the form of a video.

Dependencies

The images are rendered with mapnik. You can install it via pip install mapnik.

In order to add the labels to the videos you need convert from the imagemagick tool.

In order to render the actual video ffmpeg is required.

ffmpeg and imagemagick should be available via apt or brew.

Creating the images to be rendered

./download_data.sh   # Downloads the data from the tree api and puts it into ./data
./render.py          # Renders the images with mapnik
./add_year_labels.sh # Adds the labels that show the year to the top left

Rendreing the video

ffmpeg -framerate 2 -start_number 1880 -i './rendered/%04d.png' -r 30  -pix_fmt yuv420p trees.mp4

This will create a file called trees.mp4 in your current working directory.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published