maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] Database update becoming critical


From: Thomas Petazzoni
Subject: Re: [Maposmatic-dev] Database update becoming critical
Date: Wed, 26 May 2010 10:06:32 +0200

On Wed, 26 May 2010 09:13:52 +0200
Maxime Petazzoni <address@hidden> wrote:

> Apparently this process has been documented recently (April) on the
> OSM wiki at http://wiki.openstreetmap.org/wiki/Minutely_Mapnik
> 
> Using Osmosis, we can fetch the exact changes we need to apply to the
> database from any timestamp to "now", and append these changes to the
> database with osm2pgsql. After a simple two command setup:
> 
>   mkdir ~/.osmosis
>   osmosis --read-replication-interval-init workingDirectory=~/.osmosis
> 
> The update is then as simple as creating the state file from the last
> update timestamp, and piping osmosis into osm2pgsql to perform the
> update:
> 
>   wget http://toolserver.org/~mazder/replicate-sequences/?TIMESTAMP \
>     -O ~/.osmosis/state.txt
>   osmosis --read-replication-interval workingDirectory=~/.osmosis   \
>     --simplify-change --write-xml-change | osm2pgsql -a [our custom
> args]

This looks interesting. Do we have a separate machine on which we could
set this up on the world data ?

Thomas
-- 
Thomas Petazzoni                         http://thomas.enix.org
Promouvoir et défendre le Logiciel Libre http://www.april.org
Logiciels Libres à Toulouse              http://www.toulibre.org

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]