gpt4 book ai didi

openstreetmap - 安装 Mapsforge-Mapwriter-插件

转载 作者:行者123 更新时间:2023-12-02 17:47:18 29 4
gpt4 key购买 nike

我正在尝试安装用于渗透的mapsforge-mapwriter-plugin,但我无法让它工作。

我尝试了普通的基于 shell 的版本和页面上提到的方法:“http://code.google.com/p/mapsforge/wiki/GettingStartedMapWriter ”,但在我的电脑上没有任何效果。

我的硬盘驱动器上也不存在名为 Application Data 的目录,我也没有得到以下行:“2. 将下载的插件复制到当前目录中的子目录插件”,这应该是当前目录在这种情况下的文件夹中我是提取 osm 还是没有提取实际的文件夹。

第三种方法也不起作用,可能我做错了什么,我在渗透文件夹中提取了MapWriter.jar,一次提取到子文件夹插件(我必须手动创建),一次提取到渗透/bin - 文件夹和渗透文件夹中的一个。

但结果总是一样:错误。在第二种情况下,osmosis 不知道该插件并始终显示命令 --mw 未知。

在第三种情况下,当我输入:C:\usertemp\Map\osmosis-0.40.1\bin>osmosis -plugin org.mapsforge.mapwriter.osmosis.MapFileWriterPluginLoader时,它说无法加载插件类...

我期待可能的建议,因为我真的不知道如何让插件工作

最佳答案

我也尝试了各种方法,但唯一使 Osmosis 插件运行的方法是执行以下操作后:

Put the plugin jar into the $OSMOSIS_HOME/lib/default directory and add the org.openstreetmap.osmosis.plugin.elasticsearch.elasticsearchWriterPluginLoader (full namespace of your plugin loader) line into the $OSMOSIS_HOME/config/osmosis-plugins.conf file (create it if necessary).

-- 从 elasticsearch-osmosis-plugin 中提取的过程的自述文件

您还可以编辑 $OSMOSIS_HOME/config/plexus.conf 并添加一行,例如 load ${app.home}/lib/plugins/*.jar code> 与包含您的插件的 ${app.home}/lib/plugins/ 目录。

关于openstreetmap - 安装 Mapsforge-Mapwriter-插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10684179/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com