On Wed, Jul 9, 2008 at 4:43 PM, Martijn van Oosterhout <[EMAIL PROTECTED]> wrote: > After a kind reminder this morning that this hadn't been done yet I > spent the day coding this. Basically it all works except for two > things: > - If a member of a relation changes, the relation isn't updated (can > be worked around) > - If a parking area changes, it doesn't delete the old parking node. > > Modulo plain bugs ofcourse! > > The first issue is a Simple Matter Of Programming, which I hope to get > around to soon. The second issue is thornier and I havn't got a good > solution for that yet. I have a possible ugly solution though, if it > comes down to it :) > > Usage is simple enough. first load your planet dump with --slim mode > (if you have the memory, give it a big cache): > osm2pgsql --slim my-planet-extract.osm.gz > After that you can use: > osm2pgsql --slim -a my-daily-diff.osc.gz > To apply the patch. > Don't forget the -a, or you'll blow away the database you've got.
Is chaining multiple diffs supported? E.g. osm2pgsql --slim planet.osm.gz osm2pgsql --slim -a thursday.osc.gz osm2pgsql --slim -a friday.osc.gz ...etc? Cheers, Andy _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

