[osmosis-dev] API 0.6 and unique keys

marcus.wolschon at googlemail.com marcus.wolschon at googlemail.com
Wed Jan 28 12:18:25 GMT 2009


On Wed, 28 Jan 2009 23:02:28 +1100, Brett Henderson <brett at bretth.com>
wrote:
> Have you tried the EntityBuilder classes?  They were intended to make 
> this easier, or at least require less code.  The builder classes can be 
> used in place of normal entity classes where you require a mutable 
> object and only convert them to a true entity at the interface of your 
> task.  It is something of an experiment though.  If they're never useful 
> then I might scrap the idea.  I've used them in a number of places 
> within the core osmosis tasks.  The database code uses them extensively 
> because the code that reads basic entities is quite separate from the 
> code that reads tags, way nodes, etc so it's useful to be able to build 
> an entity up in stages.

I did not know about them.
I'll have a look. It sounds very usefull. :)

Marcus




More information about the osmosis-dev mailing list