[Tile-serving] [openstreetmap/osm2pgsql] Drop slim mode tables just after finishing processing pending ways an… (#612)
Marcos Dione
notifications at github.com
Thu Jan 11 15:58:45 UTC 2018
I found how to. I tested locally with this command:
`osm2pgsql --username mdione --database gis --cache 1024 --number-processes 4 --verbose \
--slim --flat-nodes /home/mdione/src/projects/osm/nodes.cache --hstore \
--multi-geometry --style /home/mdione/src/projects/osm/openstreetmap-carto.style --tag-transform-script /home/mdione/src/projects/osm/openstreetmap-carto.lua \
--drop`
And it works, the file `nodes.cache` is deleted after `Going over pending relations...`, which frees a lot of space for indexing.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/612#issuecomment-356971856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180111/ff01e7fb/attachment.html>
More information about the Tile-serving
mailing list