[osmosis-dev] Writeable Entities

marcus.wolschon at googlemail.com marcus.wolschon at googlemail.com
Tue Mar 3 11:48:04 GMT 2009


On Mon, 02 Mar 2009 23:11:04 +1100, Brett Henderson <brett at bretth.com>
wrote:
> Hi All,
> 
> I've just finished merging writeable entity support back into the svn 
> trunk.  In other words it is no longer necessary to clone objects or use 
> builder classes to modify entities.
> 
> The entity classes now have a method called getWriteableInstance which 
> returns "this" if the object is still writeable or a clone if the entity 
> has been marked read-only.
> I've created a new interface called TagCollection with a corresponding 
> TagCollectionImpl class.  It currently has one extra method above the 
> standard Collection interface called buildMap which converts tags into a 
> Map.
> 
> I've now created a new branch called write-dataset which can be used to 
> introduce writeable datasets.

Cool!
I see you have been busy. :)
As the 23.3.2009 is drawing near I'll likely
convert my OsmBin-Dataset into a write-dataset after that date
and finish the turn-restriction preprocessor-task after that
date too.
Version 1.1 of Traveling Salesman will be converted to
use this new osmosis-version.

PS:
I extended my own plugin-mechanism in TS to use
JPA too and with the new SpeechPack -plugin it
seems to work very well. :) (Had to do speech-support
as a plugin for license-reasons.)

Marcus




More information about the osmosis-dev mailing list