[osmosis-dev] Problems with used-way

Janko Mihelić janjko at gmail.com
Sun Dec 11 18:02:24 GMT 2011


I am using a live CD (new to linux) and now I've restarted to a totally new
system (Linux Mint 11). Downloaded the newest version, installed, and this
is the whole log after the command:

mint at mint ~/Downloads/osmosis-0.40.1/bin $ osmosis --read-xml
file="croatia.osm" --tag-filter accept-relations ref=D1 --used-way
--used-node --write-xml output.osm
Dec 11, 2011 5:43:13 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.34
log4j:WARN No appenders could be found for logger
(org.java.plugin.ObjectFactory).
log4j:WARN Please initialize the log4j system properly.
Dec 11, 2011 5:43:13 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Dec 11, 2011 5:43:13 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: *Task type used-way
doesn't exist.*
    at
org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactoryRegister.getInstance(TaskManagerFactoryRegister.java:60)
    at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.buildTasks(Pipeline.java:50)
    at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:112)
    at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:79)
    at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:328)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:31)



2011/12/11 Andrew Byrd <andrew at fastmail.net>

> I just tried the command, and the version of Osmosis you downloaded does
> provide the used-way filter. This could just be a path issue -- are you
> sure you are runing the new version you just downloaded and not an older
> one (pre-0.39) that is installed elsewhere on your system?
>
> -Andrew
>
>
> On 12/11/2011 05:17 PM, Janko Mihelić wrote:
>
>> I found this argument on several places on the net, but it refuses to
>> work for me. Is there something else I should do first? The whole
>> command goes like this:
>>
>> osmosis --read-xml file="croatia.osm" --tag-filter accept-relations
>> ref=D1 --used-way --used-node --write-xml output.osm
>>
>> And it says: Task type used-way doesn't exist.
>>
>> It works for other cases, when used-way isn't in.
>>
>> I downloaded osmosis from this link:
>> http://bretth.dev.**openstreetmap.org/osmosis-**build/osmosis-latest.tgz<http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz>
>> version 0.40.1
>>
>> What am I doing wrong?
>>
>> Janko
>>
>>
>>
>> ______________________________**_________________
>> osmosis-dev mailing list
>> osmosis-dev at openstreetmap.org
>> http://lists.openstreetmap.**org/listinfo/osmosis-dev<http://lists.openstreetmap.org/listinfo/osmosis-dev>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20111211/dd20d0a9/attachment-0001.html>


More information about the osmosis-dev mailing list