Re: [osmosis-dev] proper usage of osmosis when writing changes to osm api db

2010-12-09 Thread Brett Henderson
On Fri, Dec 10, 2010 at 1:18 AM, Dmytro Korochkin 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

Re: [osmosis-dev] proper usage of osmosis when writing changes to osm api db

2010-12-09 Thread Frederik Ramm
Samir, Samir Faci (Dev) wrote: I'm not sure if this is helpful or not It was well intended but the original author inquired about an API DB database, which is populated directly by osmosis, without osm2pgsql. It uses a different database schema and does not have a "slim" mode. Bye Fred

Re: [osmosis-dev] proper usage of osmosis when writing changes to osm api db

2010-12-09 Thread Samir Faci (Dev)
I'm not sure if this is helpful or not Some of this info may or may not be relevant anymore.. but 1. If you want to load diffs, you need to make sure you load the planet file using --slim mode (which is slower) but is required to apply diffs. 2. This is the syntax I use. I'm not sure

[osmosis-dev] proper usage of osmosis when writing changes to osm api db

2010-12-09 Thread Dmytro Korochkin
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 |