protomaps / go-pmtiles

Single-file executable tool for working with PMTiles archives
BSD 3-Clause "New" or "Revised" License
350 stars 48 forks source link

Fails to convert world map due to /tmp space limitations #153

Closed protamail closed 5 months ago

protamail commented 5 months ago

When converting mbtiles DB, a temporary file is used under /tmp. This is going to fail on many e.g. default linux setups where /tmp is mounted as a ram disk (tmpfs) where 100G space availability is just unrealistic. Should use the destination file directory for temporary storage instead or at least give such an option.

bdon commented 5 months ago

There is already a --tmpdir option.

protamail commented 5 months ago

Oh, OK, didn't see it in the help screen.