Overv / openstreetmap-tile-server

Docker file for a minimal effort OpenStreetMap tile server
Apache License 2.0
1.2k stars 482 forks source link

To optimise the rendering #408

Open Shadow-shadown opened 8 months ago

Shadow-shadown commented 8 months ago

I have 128gb ram and 4 core cpu(do I need to increase my cpu core) in which I want to run the tile server for the entire world So I want to optimise it as much as Possible I have used the shm-size to be 80gb and also used flat nodes But when I want to pre render the tiles and store it there is no mod_tiles or renderer in the docker container So is there any way to pre render and store the tiles or do I have to install extra dependencies

Evaia commented 5 months ago

there is a renderer in the docker container, you can enter the docker container with docker exec -it <containername> bash and then pre-render whatever layers you want with render_list -m default -a -z 0 -Z 4 --num-threads=4 replacing 0 with the highest layer and 4 with the lowest layer you want to render.