[OSM-dev] New, faster, planet dump tool

Brett Henderson brett at bretth.com
Tue Sep 25 10:19:33 BST 2007


spaetz wrote:
> On Mon, Sep 24, 2007 at 11:35:38PM +0100, Jon Burgess wrote:
>   
>> I've just added a C implementation of the planet.rb script into SVN. The
>> new code is approximately 10 times faster in my tests:
>>     
>
> Sounds nice. So far my plan was to switching to osmosis for the planet dumps which is significantly faster than the ruby planet dump as well. I don't know whether you guys want to coordinate on whether the C implementation is worth the effort, rather than focusing on osmosis for now.
>
> I'll use whatever is faster and reliably produces a planet output.
>
> spaetz
>   
If planet.c is truly quicker then it makes sense to use it.  osmosis is 
including user information in the dump which I thought would be useful 
but that should be easy to add to planet.c as well.

I've done my best to make osmosis as flexible as possible for a wide 
range of usage scenarios, I was hoping it could become a universal tool 
for shifting OSM data around.  While there's no harm in having competing 
tools for the same job, it does raise the issue of maintaining all of 
these tools when the schema changes however ...

At the end of the day I don't really mind which tool is used.  osmosis 
is aiming to eliminate planet dumping altogether, how we get there 
doesn't matter.





More information about the dev mailing list