El 01/05/11 09:42, Henning Scholland escribió:
Am 01.05.2011 00:41, schrieb Carlos Dávila:
osmosis --rb spain.osm.pbf --tf accept-ways boundary=administrative 
--used-node --tf reject-relations outPipe.0=ways --rb spain.osm.pbf --tf 
accept-relations boundary=administrative --used-node --used-way 
outPipe.0=relations --merge inPipe.0=ways inPipe.1=relations --write-xml 
file="spain-boundaries.osm"

Hi,
I would suggest, that you have to reject in you first part also the nodes and in the second part nodes and ways.
I had already tried that, but with those parameters osmosis never finishes (I canceled it after 1:30 h while the above run completed in 5 minutes).