[osmosis-dev] Using PBF for temp files

Frederik Ramm frederik at remote.org
Sun Jul 3 21:44:04 BST 2011


Hi,

    when Osmosis writes temporary files, using the SimpleObjectStore, it 
uses a relatively primitive serialisation format and runs gzip on that. 
Given that we now have rather fast and effective OSM data storage with 
the PBF reader and writer, I wonder what it would take to switch from 
writing classic temp files to using (probably uncompressed) PBF as the 
temporary storage format.

I've rummaged around in the code for a bit but at least it wasn't 
straightforward to do since the temporary storage code uses "containers" 
for everything whereas the PBF code doesn't.

Do you reckon it would be easy to do, and can somebody (Brett? Scott?) 
outline what you think would have to be done? Then I'll have a go at 
implementing that.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the osmosis-dev mailing list