Docker Image Problem
Hi,
I am a GIS enthusiast who inteded to compile your code as a docker image and to use. However, I encountered some errors when I downloaded osm.pbf files from geofabrik and gave it as a input to docker image as follows:
Would you please help me to get over this problem ?
Thanks in Advance,
The "out of memory" message means that:
You're trying to load too large a pbf to fit in the available memory that you have made available to Docker
You haven't told Tilemaker to use a bit of local SSD instead of memory.
Perhaps try with a smaller PBF from GeoFabrik first to check that the process is OK, and then perhaps investigate how to make more memory available to Docker? The "use local SSD" option is a flag you can pass to Tilemaker, but may not be relevant to you depending on your environment. The markdown files in this repository provide worked examples of how to use it.
Edit: as noted below, it hasn't even got this far yet :(
Hi,
The main problem I recieve is that although i downloaded osm.pbf files from geofabrik.de, Docker container doesn't recongize it and throws an error saying that couldn't open .pbf file C:\data\turkey-latest.osm.pbf.
On the other hand, I also tried small countries such as Monaco but result is the same.
Would you please assist me ?
Kind Regards,
This is a Docker problem and not a tilemaker-specific problem I think - you need to put the file somewhere where Docker can access it. Sorry, I don't have any Docker experience and can't advise on how to do that.
Part of the problem might be that the path that is passed in is from OneDrive - files might be "logically there" but not "physically there yet". I know that WSL copes fairly well with OneDrive, but I have no idea if Docker on Windows does.
Bro, you should write like:
--input /data/name.osm.pbf
Take a closer look how i wrote path.
Please use given in README.md command:
docker run -it --rm --pull always -v $(pwd):/data ghcr.io/systemed/tilemaker:master /data/monaco-latest.osm.pbf --output /data/monaco-latest.pmtiles
make sure you writing this command in directory where your .osm.pbf files are