tilemaker icon indicating copy to clipboard operation
tilemaker copied to clipboard

Docker - terminate called after throwing an instance of 'std::runtime_error' what(): Exception during zlib decompression: (-5)

Open MacaScull opened this issue 5 years ago • 1 comments

Hello, I set the tilemaker up in docker and have been trying to use it to generate tiles from a .osm.pbf file downloaded from geofabrik.de.

I run the following command in a cmd terminal within the tilemaker directory, this is also where I have created a data file to produce the .mbtiles within.

docker run -v C:\tilemaker -i -t --rm tilemaker tilemaker C:\tilemaker\data\sud-latest.osm.pbf --output=C:\tilemaker\data\sud.mbtiles

I was wondering if you have anymore documentation for a docker installation, potentially including the docker installation from scratch and how to then use it to generate the .mbtiles. As im new to docker and am on a windows machine.

MacaScull avatar Jan 22 '21 16:01 MacaScull

I'm maintaining (and using) the Dockerfile.

Here is a script of how I download the OSM data from Geofabrik, keep it up-to-date and build tiles every night: https://github.com/stadtnavi/digitransit-ansible/blob/master/roles/tilemaker/templates/build-mbtiles

Maybe it helps.

leonardehrenfried avatar Apr 12 '21 14:04 leonardehrenfried