[OSM-dev] osm2pgsql Help ?

Peter Körner osm-lists at mazdermind.de
Tue Oct 12 16:18:12 BST 2010


Am 12.10.2010 16:52, schrieb Ronan Crowley:
> Yeah .... I have no free space left.
>
> I'm doing this on an Amazon Virtual machine.
>
> So my tablespace (and all my data I thought) was being written to
> /mnt/sdo where there is over 200GB of space.
>
> What I'm looking for is a way to continue / re-try the index building
> from where it fail, so I don't loose 4 days !
>
> I would just re-run the osm2pgsql program with the -i paramater, but I
> don't want to wait 4 more days.

If you take a look on the osm2pgsql source [1] and search for 
pgsql_out_stop_one you'll find the commands that are executed at the end 
of the import.

Peter


[1] 
<http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/output-pgsql.c>



More information about the dev mailing list