[OSM-dev] osmosis bz2 performance

Stefan Baebler stefan at baebler.net
Wed Feb 6 20:28:33 GMT 2008


Brett Henderson wrote:
>> Can Osmosis get some alias for /dev/stdin (eg "-" would mean stdin on
>> reading tasks and stdout on writing tasks, or we can reserve and
>> handle differently "stdin" and "stdout" file names) ?
>> If we agree on this design i can implement it.
>>   
>>     
> Yep, if you're prepared to make the change then I'm more than happy to 
> accept a patch.  "-" sounds like a good approach to me.  I don't think 
> it would be a complicated change, but if you have any questions about 
> how osmosis is structured just ask.
>   
Well, the patch is in.
See http://trac.openstreetmap.org/changeset/6782

I tested it and ItWorksForMe(tm), but feel free to modify it or poke me 
about it :)
Would "-" have a meaning somewhere else? read xml change, write xml ... 
all file operations perhaps?

Stefan




More information about the dev mailing list