On 2/18/09, Brett Henderson <[email protected]> wrote:
>> http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#--induce-ways-for-turnrestrcitions_.28-iwtt.29
>> http://sourceforge.net/tracker2/?func=detail&aid=2612536&group_id=203597&atid=986234
>>
> I haven't read the links (currently offline), so I may have missed
> something.
>
> As I understand it, you want to be able to process an entity stream and
> update a database.  As far as osmosis is concerned, wouldn't your task
> only implement the Sink interface?

That would mean it would only work if the user uses
the one database-format that the task supports while
internally it does not care if this is an OsmBin-File,
Mysql or PostGIS.

Use-case:
* The user has a local map in database-format XYZ
  of a Terrabyte that he is using for a routing-application.
* He wants to import 20Kb of new or updated map-data
  and do various pre-processing steps of these 20Kb
  while doing this.
One  pre-processing-step is to change intersections that
already exist int the database because the 20Kb of new
data contains a new or updated turn-restriction for it.

Internally my code uses the IDataSet-interface of
Traveling Salesman to use any of a few different file-formats
or databases (no current support for Mysql or PostgreSQL at
the moment).

With the limitation you pointed out it would mean for the
user to first convert his 1TB database into another
file-format, apply the 10Kb of changes and then convert
the 1TB back to his currently used format.

Marcus

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to