Show evolution of OSM map.
- Libosmium and its dependencies.
- GDAL library, more specifically the
gdal_rasterizecommand. (On Debian/Ubuntu install
boost_program_options(http://boost.org/) version 1.48 or later. (On Debian/Ubuntu install
- gifsicle (On Debian/Ubuntu install
Osmium-contrib uses CMake for its builds. For Unix/Linux systems a simple Makefile wrapper is provided to make the build even easier.
To build just type
make. Results will be in the
Or you can go the long route explicitly calling CMake as follows:
mkdir build cd build cmake .. make
You can switch to a different handler:
Available handlers are
RoadsHandler. See the
handlers directory. You can write you own handler
First you need a full history dump extract of a city or so. The area can't be too large, because everything has to fit into memory.
./mapolution -S 30 OSMFILE
This will create shapefiles in
out directory with building data for
every 30 days.
This will create an animated GIF called
anim.gif with the result.
./mapolution --help for more parameters.
See the beginning of the
rasterize.sh script for some parameters.
handlers directory for how to create handlers and create
your own. You have to add an include directive to
ctest after building to run the tests.
This program is released into the Public Domain.
Jochen Topf (https://jochentopf.com/)