If you have all the tiles rendered using render_list the way you want them and you don't need to update them regularly, is it possible to host a server that just has the .meta files? Or if perhaps you are going to load balance, you really only need one server to have the database to rerender everything, on all the other servers couldn't you just host the rendered tiles and use rsync on a cronjob to keep them all updated? What would I do if that is possible? In the Apache configuration it gives the sock location:
So you would assume you have to run the renderd process:
But if you try running that without the Postgres server, it doesn't work. asked 14 Jan '19, 18:45 ajhalls |
It is possible. You don't need renderd; mod_tile will attempt to connect to renderd only when it thinks a tile needs to be rendered. mod_tile will attempt to render a tile if (a) it is considered outdated, or (b) it is missing. If this happens and renderd is not available, mod_tile will serve (a) the old tile, (b) a 404 error. You can ensure that mod_tile never considers a tile outdated by creating an empty file named "planet-import-complete" in /var/lib/mod_tile that has a time stamp older than your oldest tile. You cannot keep mod_tile from attempting to render non-existing tiles on demand, but with renderd not available this should fail quickly. answered 14 Jan '19, 22:02 Frederik Ramm ♦ |