[osmosis-dev] Merge huge count of files
frederik at remote.org
Fri Sep 30 19:17:44 BST 2011
> What is the best strategy to merge a huge count (e.g. 100x100 matrix)
> together with a minimum of needed memory?
You don't say what kind of files you are merging but it is possible that
the best strategy is not using Osmosis at all for this task.
If you have plain simple OSM XML files then the following will merge
them super fast:
(echo '<osm version="0.6">'; cat *osm|grep -v "<osm"|grep -v
"</osm"|grep -v "<?xml"; echo '</osm>') > newfile.osm
You can add an Osmosis sort step if you want.
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the osmosis-dev