Tyler,
sounds like either your planet or your change file is corrupt. Check
the files with "xmllint --stream". Re-download the one that is broken.
> Next, I ran the commands below to get my updates and simplify them:
> osmosis --rri workingDirectory=. --wxc update.osm.gz
> gzip -d -c update.osm.gz | /usr/local/osmosis/bin/osmosis
> --read-xml-change file=/dev/stdin --simplify-change --write-xml-change
> file=- | gzip -9 -c> update.unique.osm.gz
>
> Finally, I attempted to apply these changes to my planet.osm file:
> bzcat planet-100618.osm.bz2 | /usr/local/osmosis/bin/osmosis
> --read-xml-change file="update.unique.osm.gz" --read-xml file=/dev/stdin
> --apply-change --write-xml file=- | bzip2 -c > planet.osm.bz2
All that can be shortened to this one line:
bzcat planet-100618.osm.bz2 | osmosis --rri --simc --rx - --ac --wx - |
bzip2 > planet.osm.bz2
But it is probably good to do it in single steps while still testing the
process.
Bye
Frederik
--
Frederik Ramm ## eMail [email protected] ## N49°00'09" E008°23'33"
_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev