On Fri, Dec 10, 2010 at 1:18 AM, Dmytro Korochkin
<[email protected]>wrote:

> Hi all
>
> I'd like to create the local copy of osm api db.
> First I populated DB with full planet.osm file using osmosis,
> afterwards initialized and created osm change file.
>
> Should I run --simplify-change before applying the change file to the db?
>
> I.e. is it required
> nice gzip -d -c change.osm.gz | nice ./osmosis --read-xml-change
> file=/dev/stdin --simplify-change --write-xml-change file=- | nice
> gzip -9 -c > change.unique.osm.gz
>

You shouldn't need to use --simplify-change.  The api db is made to support
full history so the --write-apidb-change task supports writing multiple
versions of a single entity to the database.

If your only aim it to ensure the api db is fully up to date and you don't
care too much about history then --simplify-change might make the processing
a little bit faster.

Brett
_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to