[osmosis-dev] Osmosis 0.37 and enableLinestringBuilder error
Emilie Laffray
emilie.laffray at gmail.com
Wed Nov 17 15:42:24 GMT 2010
Hello,
I have been trying to run the following command line (the host information
was removed from the command line):
osmosis --read-pbf file="roads.osm.pbf" --bounding-box top="90" bottom="-90"
left="-180" right="-126" completeWays="yes" idTrackerType="BitSet"
--write-pgsql enableLinestringBuilder="yes" nodeLocationStoreType="TempFile"
But I run into a problem as write-pgsql doesn't seem to support the
parameter enableLinestringBuilder. The parameter as far as I can tell from
the documentation is still here:
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#--write-pgsql_.28--wp.29.
I am getting the following error though. I am not quite sure what is
wrong.
Nov 17, 2010 4:27:00 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.37
Nov 17, 2010 4:27:00 PM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory -
org.apache.xerces.jaxp.SAXParserFactoryImpl at 7bc9a690
Nov 17, 2010 4:27:00 PM org.java.plugin.registry.xml.PluginRegistryImpl
configure
INFO: configured, stopOnError=false, isValidating=true Nov 17, 2010 4:27:00
PM org.java.plugin.registry.xml.PluginRegistryImpl register
INFO: plug-in and fragment descriptors registered - 1 Nov 17, 2010 4:27:00
PM org.java.plugin.standard.StandardPluginManager activatePlugin
INFO: plug-in started - org.openstreetmap.osmosis.core.plugin.Core at 0.37.0
Nov 17, 2010 4:27:00 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Nov 17, 2010 4:27:00 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument
enableLinestringBuilder for task 5-write-pgsql was not recognised.
at
org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory.createTaskManager(TaskManagerFactory.java:64)
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:86)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
Emilie Laffray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20101117/20ce2dc3/attachment.html>
More information about the osmosis-dev
mailing list