[OSM-talk] Bug in using osm2pgsql to keep up with dailies
Jon Burgess
jburgess777 at googlemail.com
Tue Aug 12 20:30:00 BST 2008
On Sun, 2008-08-10 at 18:45 -0700, Michal Migurski wrote:
> >> So I'm definitely doing the bbox thing - I ran out of space on the
> >> volume when doing a slim import of planet.osm with a box that
> covered
> >> only the extended SF Bay Area. Seems like that should be fairly
> >> reasonable, right?
> >
> > Perhaps the slim mode is not taking the bounding box into account.
> > I'll take a look.
>
> Any news?
>
The news is mixed. The slim mode code does correctly exclude nodes
outside of the bounding box when reading them in from the file.
Unfortunately all the ways and relations still make it to the
intermediate tables. It isn't until the code tries to extract the
geometries from the ways that it can discover if the nodes for the way
are outside the bounding box.
It may be possible to improve this but it would need to make the
assumption that all the nodes are in the file. I don't have time to look
at this right now though.
Jon
More information about the talk
mailing list