[OSM-dev] c:\osmosis\osmosis-0.31\bin> osmosis.bat -jar osmosis.jar --read-xml 20090822-20090823.osc --way-key-value keyValueList="node"

james pruett gpscruise at gmail.com
Thu Sep 3 06:31:22 BST 2009


Thanks Andrzej,

Ok, 'any idea what this error is?
"Task 2-way-key-value does not support data provided by default pipe stored
at level 1 in the default pipe stack."



> Yep, --read-xml takes .osm files and --read-xml-change takes .osc
> files (in your log you use --read-xml).
>
>

C:\osmosis\osmosis-0.31.2\bin>java  -cp
C:\osmosis\osmosis-0.31.2\osmosis.jar;C:\osmosis\osmosis-0.31.2\lib\default\aopalliance-1.0.jar;C:\osmosis\osmosis-0.31.2\lib\default\bzip2-20090327.jar;C:\osmosis\osmosis-0.31.2\lib\default\commons-dbcp-1.2.2.jar;C:\osmosis\osmosis-0.31.2\lib\default\commons-logging-1.1.1.jar;C:\osmosis\osmosis-0.31.2\lib\default\commons-pool-1.3.jar;C:\osmosis\osmosis-0.31.2\lib\default\jpf-1.5.jar;C:\osmosis\osmosis-0.31.2\lib\default\mysql-connector-java-5.1.6.jar;C:\osmosis\osmosis-0.31.2\lib\default\postgis-1.3.2.jar;C:\osmosis\osmosis-0.31.2\lib\default\postgresql-8.3-603.jdbc4.jar;C:\osmosis\osmosis-0.31.2\lib\default\spring-beans-2.5.6.SEC01.jar;C:\osmosis\osmosis-0.31.2\lib\default\spring-context-2.5.6.SEC01.jar;C:\osmosis\osmosis-0.31.2\lib\default\spring-core-2.5.6.SEC01.jar;C:\osmosis\osmosis-0.31.2\lib\default\spring-jdbc-2.5.6.SEC01.jar;C:\osmosis\osmosis-0.31.2\lib\default\spring-tx-2.5.6.SEC01.jar;C:\osmosis\osmosis-0.31.2\lib\default\stax2-api-3.0.1.jar;C:\osmosis\osmosis-0.31.2\lib\default\woodstox-core-lgpl-4.0.3.jar
org.openstreetmap.osmosis.core.Osmosis  --read-xml-change
20090822-20090823.osc --way-key-value keyValueList="node"
Sep 3, 2009 12:25:36 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.31.2
Sep 3, 2009 12:25:36 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Sep 3, 2009 12:25:36 AM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task 2-way-key-value
does not support data provided by default pipe stored at level 1 in the
default pipe stack.
    at
org.openstreetmap.osmosis.core.pipeline.common.PipeTasks.retrieveTask(PipeTasks.java:157)
    at
org.openstreetmap.osmosis.core.pipeline.common.TaskManager.getInputTask(TaskManager.java:165)
    at
org.openstreetmap.osmosis.core.pipeline.v0_6.SinkSourceManager.connect(SinkSourceManager.java:51)
    at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.connectTasks(Pipeline.java:74)
    at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:116)
    at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:79)
    at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090903/1074fc07/attachment.html>


More information about the dev mailing list