How much disc space do the exports use?
I need to have a local tile server set up because you guys block MOBAC, and I need offline maps for geocaching.
geocaching. (These are for my consumption, and I don't need uninterrupted service. But it's also nice to be able to point Leaflet at them, and maybe tweak them. And I *do* need tiles for offline use, for both Cachebox and Cachewolf.)
Now, I’ve imported Belgium, to try this out, and the entire disc use is about 8 GiB after installing everything needed, where /var/lib/postgresql is about 5½ GiB. I do not have unlimited space here, only about (currently) 16 GiB more.
more. (I could possibly try to get this set up on another box though I'd need space estimates there too. It could probably do 400 GB.)
I have two ways I can go forward from here:
① drop DB, recreate DB, import Europe extract from Geofabrik
② combine NL/BE/LU/DE/AT/CH extracts where I need them
The problems here are:
osm2pgsql does not want to do ②; I’m being told to combine the extracts with osmosis before importing. However, how do I keep the combination up-to-date later?
How much disc space would I need for ① ? I assume I can then throw the files from http://download.geofabrik.de/europe-updates/000/000/ to osm2pgsql to keep it updated?
Could I possibly import just the Europe changesets in the ② scenario, too?
osm2pgsql works. I didn’t use osmosis yet, and I don’t quite see what parts of its functionality I need for all this (GIS newbie here).