[OSM-talk] Bug in using osm2pgsql to keep up with dailies

Michal Migurski mike at stamen.com
Mon Aug 4 22:51:38 BST 2008


> Nice, works very well.
>
> One hiccup I see is that if I run the executable from a directory
> other than the one where it was built, it complains that default.style
> can't be found. Otherwise works beautifully.


So, two frustrating things about osm2pgsql's --slim mode:

I first tried doing the whole planet.osm without --slim, which worked  
well. However, when I would then use the --slim option to catch up on  
dailies, I found that a number of tables (prefix_nodes, prefix_ways,  
etc.) hadn't been created. It was not possible to do the dailies  
unless they had been planed-for from the start.

The second thing is that upon going back to the original planet.osm  
with the much-slower --slim mode turned on, it required so much disk  
space that it maxed out an EC2 standard disk image.

It would be nice if it were possible to do the initial planet.osm  
import without --slim for speed and space, and still import subsequent  
diffs.

-mike.

----------------------------------------------------------------
michal migurski- mike at stamen.com
                  415.558.1610







More information about the talk mailing list