[OSM-dev] XAPI and other solutions

Pierre-Alain Dorange pdorange at mac.com
Mon Apr 25 18:26:22 BST 2011


Toby Murray <toby.murray at gmail.com> wrote:

> osmosis --read-pbf france.osm.pbf \
>              --tf accept-ways "place=*" \
>              --tf accept-nodes "place=*"
>              --tf accept-relations "place=*"
>              --write-xml france_place.osm

After some tests i cant run osmosis...

My config MacOS X 10.6 (i update to used Java 6 on 64 bits) but osmosis
still crash :

./osmosis --rb "france.osm.pbf" -tf accept-nodes "place=*" --wx
fr_places.osm

return :
GRAVE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Only one default
(un-named) argument can exist per task.  Arguments 3 and 2 have no name.
        at
org.openstreetmap.osmosis.core.cli.CommandLineParser.parseTask(CommandLi
neParser.java:317)
        at
org.openstreetmap.osmosis.core.cli.CommandLineParser.parse(CommandLinePa
rser.java:90)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:74)
        at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launche
r.java:329)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2
39)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc
her.java:409)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352
)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)

-- 
Pierre-Alain Dorange
OSM experiences : <http://www.leretourdelautruche.com/map/>




More information about the dev mailing list