Closed llimllib closed 11 years ago
You could restart the import without the --read
option to safe 4-hours, but I guess this hint comes to late.
A check would be great. I would add a check_connection
method to the PostGIS database class and call it in the main function before starting the read process (but only when --write
is set).
Hah, I... didn't even consider that. Doh and Thanks.
Will add the check, anyway, see if I can make it useful.
It sucks to lose a 4-hour planet import because you specified the wrong postgres port; it would be much better if imposm would warn you when it starts that it can't connect to your postgres database.
I'd be willing to code this feature if you agree that it would be nice; what do you guys think?