[osmosis-dev] Task type mapfile-writer doesn't exist.

Zaman Mashruf mashrufz at gmail.com
Sun Aug 25 09:50:21 UTC 2013


Hi, I was following this and trying to convert a osm to map file:
https://github.com/cgeo/cgeo/wiki/How-to-create-your-own-offline-maps

In the convert step It seems it can't find the plugin mapfile-writer

It is asked to create the following directory, but in my pc's C drive there
is no Documents and Settings folder (not even as hidden). When I try to
create the folder it says already exists and merging with the old one!

   - Create this folder structure: C:\Documents and Settings\(your
   Username)\Application Data\Openstreetmap\Osmosis\Plugins\ ("Application
   Data" can be named otherwise, in German Windows it is called
   "Anwendungsdaten" for example)

Here are the cmd error output:
Aug 25, 2013 3:12:47 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.43.1
Aug 25, 2013 3:12:47 PM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory -
org.apache.xerces.jaxp.SAXParserFactoryImpl at 3e53c
f
Aug 25, 2013 3:12:47 PM org.java.plugin.registry.xml.PluginRegistryImpl
configur
e
INFO: configured, stopOnError=false, isValidating=true
Aug 25, 2013 3:12:47 PM org.java.plugin.registry.xml.PluginRegistryImpl
register

INFO: plug-in and fragment descriptors registered - 1
Aug 25, 2013 3:12:47 PM org.java.plugin.standard.StandardPluginManager
activateP
lugin
INFO: plug-in started -
org.openstreetmap.osmosis.core.plugin.Core at 0.0.0.42-6-gf
39a160-dirty
Aug 25, 2013 3:12:47 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Aug 25, 2013 3:12:47 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type
mapfile-writer
 doesn't exist.
        at
org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactoryRegi
ster.getInstance(TaskManagerFactoryRegister.java:60)
        at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.buildTasks(Pi
peline.java:50)
        at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipel
ine.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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Laun
cher.java:329)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:239)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
===========================================

Probably I can store the plugin in another folder and indicate from cmd ?
How??

Thanks for your help in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130825/d4a7ecfe/attachment.html>


More information about the osmosis-dev mailing list