Do I need to download and pre-load data? What happens if someone asks a tile belonging to a dataset I did not import?
Say I only want to load zoom 5-12. Can I download only those datasets of the whole world? (according to this OSM - Tile Calculator this should limit pretty heavily my disk-space requirements). If this is possible how can I do this? Looking at the tiles repositories I only see files for everything.
My previous message was misleading in its wording for point 2. I think I get the gist of it after your reply.
So say I want to serve tiles for “the whole world” between zoom 5-12.
I should download the whole world (e.g. these 8 files listed on the homepage of this site: https://download.geofabrik.de/).
Then, can I “import/generate” only the tiles for zooms I need (5-12) and then potentially trash the initial 8 downloaded files?
Looking at the guide I am trying to follow I suspect this command might then be modified to import only the levels I need?
That’s about it, but you’ll be better off starting with a small extract, say Liechtenstein to get experience on small hardware.
Then you will probably want to filter out unnecessary data (that shows only beyond z12) with Osm2pgsql, then import the complete planet you finf at planet.openstreetmap.org
Do you know how to import only needed levels using _renderd/osm2pgsql instead of importing everything and then remove/filter? My disk-space won’t be enough for the operation so I am looking for a command to avoid the extra step.