Re: [osmosis-dev] windows: problem with batch-process

2009-12-17 Thread marcus.wolschon
On Thu, 17 Dec 2009 13:43:36 +0100, Jan Tappenbeck wrote: > hi ! > > i have got a problem with my osmosis 0.32 in using of a windows batchfile. > > this is a part of the batch-file: > > echo zusammenfuehren der OSM-Dateien > %osmworkfolder%\osmosis\bin\osmosis.bat -v 99 --read-xml > schleswig-

Re: [osmosis-dev] Bzip2-issues

2009-12-14 Thread marcus.wolschon
Thanks. I'll test it. Do you want to do a 0.32.2 -release with this? I imagine the latest osmosis-release not being able to read map-dumps is quite a showshopper. Marcus On Mon, 14 Dec 2009 19:22:09 +1100, Brett Henderson wrote: > Hi Marcus, > > I've checked a fix into svn. Let me know if y

Re: [osmosis-dev] use classworlds-Loader fort start script?

2009-12-08 Thread marcus.wolschon
On Tue, 08 Dec 2009 02:04:55 +0100, Hakan Tandogan wrote: > Brett Henderson wrote: >> If it isn't too invasive it should be fine. I guess the best way is to >> try it out and see if any problems crop up. > > I committed my changes to use the classworlds launcher a few hours ago. > > The config

Re: [osmosis-dev] Upload-Task

2009-11-13 Thread marcus.wolschon
I've written the basic Task. Nothing checked in yet. I expect to write the TaskFactory this evening and test it on the weekend. Do you mind if I change your BufferedWriter into Writer in the Parameters of the ChangeWriter-Interface, so I don't have to buffer data that is already buffered? Marcu

Re: [osmosis-dev] Upload-Task

2009-11-11 Thread marcus.wolschon
No problem. It's quite trivial code. Marcus On Wed, 11 Nov 2009 23:14:40 +1100, Brett Henderson wrote: > Sure, sounds great! If you're prepared to help support any issues with it > then check it in. > > On Wed, Nov 11, 2009 at 7:33 PM, wrote: > >> >> >> Hello Brett, >> >> I have the Java-c

Re: [osmosis-dev] Problem using Osmosis (PluginLifecycleException)

2009-11-11 Thread marcus.wolschon
On Wed, 11 Nov 2009 22:37:27 +1100, Brett Henderson wrote: >> http://ant.apache.org/manual/CoreTasks/jar.html >> That would be the sub-element. >> > > Unless I'm misunderstanding the attribute element that's not quite what I > meant. > > I already have the following snippet in build.xml. >

[osmosis-dev] Upload-Task

2009-11-11 Thread marcus.wolschon
Hello Brett, I have the Java-code required to open a changeset and upload an OSC-file. Are you interested in an "upload-change"-task for Osmosis? It can do all kinds of things with changes but currently python is required to upload them. So this is the one feature missing for a consistent set of

Re: [osmosis-dev] Problem using Osmosis (PluginLifecycleException)

2009-11-10 Thread marcus.wolschon
On Tue, 10 Nov 2009 12:36:32 +0100, "Kai Behncke" wrote: > Hi Marcus, > >> Changing the .bat will be enough to make it work. >> > I hoped it would be but in my case it does not work. > > I did: > > > --- > %MYAPP_HOME%\osmosis.jar;%MYAPP_HOME\lib\test\jpf-1.5.jar;%MYAPP_HOME%\lib\comm

Re: [osmosis-dev] Problem using Osmosis (PluginLifecycleException)

2009-11-10 Thread marcus.wolschon
On Tue, 10 Nov 2009 12:24:12 +0100, "Kai Behncke" wrote: > Dear Marcus, > > > thank you very much (and sorry for crossposting :-) ). > >> osmosis.bat /bin/osmosis both seem to be missing lib/test/jpf-1.5.jar in >> -cp >> and osmosis.jar is missing a "class-path: " -entry in it's manifest to >>

Re: [osmosis-dev] Problem using Osmosis (PluginLifecycleException)

2009-11-10 Thread marcus.wolschon
On Tue, 10 Nov 2009 11:12:45 +0100, "Kai Behncke" wrote: > If I try E:/osmosis/java -jar osmosis.jar ... > or E:/osmosis/bin/osmosis .. > java.lang.NoClassDefFoundError: org/java/plugin/PluginLifecycleException > at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:73) >

[osmosis-dev] Osmosis and empty roles

2009-11-09 Thread marcus.wolschon
Hello Brett, I found that some http-based services return relation-members with no "role"-tag if it's empty. Osmosis would parse these and create a null role without complaining. Later this causes all kinds of problems as the role-attribute is not supposed to ever be null. I added a check in th

Re: [osmosis-dev] dealing with turn restrictions in road networks

2009-05-26 Thread marcus.wolschon
On Tue, 26 May 2009 14:58:42 +0200, BenoƮt TRICOIRE wrote: > Hi Markus, > > Hello, > > I am working on a routing-engine designed for large distance table > computing. I am facing the following problem: > > I have a graphe that represents a road network and additionals informations > that concer

[osmosis-dev] Issues with switch from Osmosis 0.30 to 0.31.1

2009-05-21 Thread marcus.wolschon
Hello, I`m having some issues doing the switch from Osmosis 0.30 to 0.31 here. Changing hundreds of lines unit-tests because the constructors for Way, Node and Relation as well as for their builder-classes changed instead of staying there as deprecated is LOTs of work. I don't know If I can fini

Re: [osmosis-dev] How to use EntityBuffer

2009-04-20 Thread marcus.wolschon
On Mon, 20 Apr 2009 18:02:15 +1000, Brett Henderson wrote: > marcus.wolsc...@googlemail.com wrote: >> Hello, >> >> I am trying to use the EntityBuffer -class but seem to be doing something >> wrong here. >> >> I did: >> >> XMReader task = new ... >> EntityBuffer buffer = new EntityBuffer(BUFFERCA

[osmosis-dev] How to use EntityBuffer

2009-04-20 Thread marcus.wolschon
Hello, I am trying to use the EntityBuffer -class but seem to be doing something wrong here. I did: XMReader task = new ... EntityBuffer buffer = new EntityBuffer(BUFFERCAPACITY); task.setSink(buffer); buffer.setSink(sink); buffer.run(); task.run(); It seems that this hangs indefinately wa

[osmosis-dev] NumberFormatException Null when reading Changefile

2009-04-16 Thread marcus.wolschon
Hello, I tried to load an .osc.gz from the planet-mirrors using the XMLChangeReader but noticed that of cause these are still v0.5 . Is there some kind of migrate-task for ChangeFiles like there is for .osm -files? Marcus ___ osmosis-dev mailing lis

Re: [osmosis-dev] Writeable Entities

2009-03-03 Thread marcus.wolschon
On Mon, 02 Mar 2009 23:11:04 +1100, Brett Henderson 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 meth

Re: [osmosis-dev] Not work as expected after merge osm using osmosis 0.30

2009-02-23 Thread marcus.wolschon
On Tue, 24 Feb 2009 12:36:19 +0800, Xia Zhang wrote: > Hi all, > > Just tried to use osmosis 0.30 combined some small osm to large osm, > however > some maps not work as expected as below, not sure why > > cheers > Xia > Hello Xia, can you provide examples of the input-maps and wrong enti

Re: [osmosis-dev] Can not run Osmosis

2009-02-19 Thread marcus.wolschon
On Thu, 19 Feb 2009 23:31:31 +1100, Brett Henderson wrote: > That would be definitely better than the current situation. If there's > a way of making the -jar option work again though I'd prefer it. Your > suggestion in your second email about updating the manifest sounds > promising. Althou

Re: [osmosis-dev] preprocessing for turn-restrictions usins an osmosis-plugin

2009-02-19 Thread marcus.wolschon
On Thu, 19 Feb 2009 23:26:20 +1100, Brett Henderson wrote: >> Maybe: >> DatasetReader => Dataset or RandomAccessData or Map >> Dataset => DatasetFactory or RandomAccessFactory or MapFactory >> DatasetSink => DatasetClient or RandomAccessClient or MapAccessClient >> as the task need not be a sin

Re: [osmosis-dev] Can not run Osmosis

2009-02-19 Thread marcus.wolschon
On Thu, 19 Feb 2009 12:54:49 +0100, wrote: > On Thu, 19 Feb 2009 22:51:36 +1100, Brett Henderson > wrote: >> But there's no reason we can't do both. The build now produces two >> distribution zips (and tars), one which is the full distribution >> including source, and a second which is just en

Re: [osmosis-dev] Can not run Osmosis

2009-02-19 Thread marcus.wolschon
On Thu, 19 Feb 2009 22:51:36 +1100, Brett Henderson wrote: > But there's no reason we can't do both. The build now produces two > distribution zips (and tars), one which is the full distribution > including source, and a second which is just enough to run the command > line. It would be possi

[osmosis-dev] preprocessing for turn-restrictions usins an osmosis-plugin

2009-02-18 Thread marcus.wolschon
Hello, I am planning to add a new plugin-task to osmosis that turns nodes with turn-restrictions into an equivalent graph of oneway-roads. This may enable routing-engines that cannot deal with restrictions or cost on graph-nodes to deal with turn-restrictions. I just think it may be usefull to o