[OSM-talk] Building a tile-server
Tom Browder
tom.browder at gmail.com
Wed Jul 1 20:18:30 UTC 2020
Yesterday I took my first try at using osm2pgsql on a pbm file and,
too late, I realized I didn't take full advantage of the server's
large RAM and multi-core capability.
This morning I killed the import process and want to start anew. Some questions:
+ should I dump all the tables created before I start anew?
+ when I import pbfs in
+ I have seen a couple of different postgresql config suggestions. Is
there a one-size fits all or should I tailor it more to my server's
configuration.
I am running Debian Buster on a bare-iron dedicated server with 32 Gb
RAM, 32 cores, and a single 4 TB spinning disk. I am running Pg 12
(the version maintained by the Pg developers) with its default
configuration.
My PostGIS is the latest Debian package version (version ?). osm2pgsql
is also a package (version ?).
Should I compile those from source?
Of course any other advice is welcomed, especially as to which other
pieces are recommended downstream for the actual tile server. And I
would really like to have vector tiles, so recommendations in that
direction are needed since it looks like not all the pieces can handle
vectors.
Oh, for the actual rendering:
+ prefer renderd or tirex?
Thank you very much.
Cheers!
-Tom
More information about the talk
mailing list