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 why you're gzipping the
changes.osc before hand.
2a. download change set:
osmosis --read-replication-interval --simplify-change
--write-xml-change
2b. write changeset:
osm2pgsql --host localhost -e 10 -o expire.list --verbose
--append --slim --cache 6144 change.osc
the -e 10 and -o expire.list are optional, I use the expire list to
re-generate only tiles that are affected.
--
Samir
On Thu, Dec 9, 2010 at 8:18 AM, Dmytro Korochkin
dkoroch...@cogniance.comwrote:
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
Thanks
--
Dmytro Korochkin
Senior Analyst of IT Operations
Cogniance Inc
___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev
--
--
Samir Faci
*insert title*
fortune | cowsay -f /usr/share/cows/tux.cow
___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev