[OSM-dev] Updated experimental osm2pgsql version
jburgess777 at googlemail.com
Thu Mar 22 18:41:49 GMT 2007
On Thu, 2007-03-22 at 18:20 +0000, SteveC wrote:
> I no longer need the post-process script then?
No, not if you use the version in the experimental sub directory.
It should be faster and more efficient than the previous code, but it
hasn't had nearly the same amount of exposure or testing. I don't know
if anyone other than myself has had a chance to run it yet.
> Jon Burgess wrote:
> > I've updated the experimental version of osm2pgsql to incorporate the
> > latest osm.xml changes. This includes the point/line/polygon tables and
> > z_order column (the generated z_order output does have some minor
> > differences).
> > The code has bee switched back to using an in-memory array to store
> > temporary data. Recent improvements to the code keep the memory usage to
> > around about 500MB which should be less of an issue for people running
> > on machines with less memory.
> > Using the RAM mid layer this current code loads the planet.osm in about
> > half the time of the previous (non-experimental) implementation.
> > The alternative database 'middle' layer can be enabled by editing
> > osm2pgsql.c to change mid = &mid_ram for mid_pgsql. This is slightly
> > faster than it used to be, but still slower and more IO intensive than
> > the RAM mid layer.
> > Jon
> > _______________________________________________
> > dev mailing list
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
More information about the dev