On Sun, Jan 31, 2010 at 7:05 PM, Jan Tappenbeck <[email protected]> wrote:

> Am 30.01.2010 15:13, schrieb Frederik Ramm:
> > Jan,
> >
> > Jan Tappenbeck wrote:
> >> can anybody tell me the reason why not do - here is the report:
> >
> > True, finding out the *acutal* problem among 100 lines of Osmosis error
> > reporting is sometimes difficult.
> >
> >> SCHWERWIEGEND: Thread for task 1-read-xml failed
> >> org.openstreetmap.osmosis.core.OsmosisRuntimeException: Pipeline
> >> entities are not sorted
> >
> > This seems to be the problem. If you insert a "--sort" (with some
> > Osmosis versions you may need "--sort-0.6" after *each* --rx spec then
> > it should work.
> >
> > Bye
> > Frederik
> >
>
> base on the post of frederik i add --sort an restart the process. but
> there is even an error - look at the report:
>

Hi Jan,

Congratulations, you've found a bug in Osmosis ;-)

The --sort command isn't wired up correctly and is trying to run the old 0.5
version of the task.

If you replace all occurrences of --sort with --sort-0.6 it should work.

osmosis.bat --read-xml xapi4osm_node_1.osm --sort-0.6 --read-xml
xapi4osm_way_1.osm --sort-0.6 --read-xml xapi4osm_node_2.osm --sort-0.6
--read-xml xapi4osm_way_2.osm --sort-0.6 --merge --merge --merge --write-xml
haiti.osm

I've fixed the bug in the development version of Osmosis, but it isn't
released yet.

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

Reply via email to