It looks like the wiki needs a fix up :-) Sorry about that. You don't need to specify that option. The code *should* (been a while since I looked at it) figure out what columns you have in the database dynamically. There is no need to specify such an option. Just remove the option and try again.
On Thu, Nov 18, 2010 at 2:42 AM, Emilie Laffray <[email protected]>wrote: > 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.saxparserfactoryi...@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 - [email protected] > > 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 > > _______________________________________________ > osmosis-dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/osmosis-dev > >
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
