Osm图导入到Arangodb
Osm map imported to Arangodb
我是 arangodb 的新手。我将使用 arangodb 在道路网络上执行算法。
我找到了这个https://github.com/arangodb-helper/osm-2-graph?files=1
我尝试使用 arangoimp(json 格式)将边文件、顶点文件导入 arangodb。
但我总是只能看到一个节点。单击展开按钮后它不会展开。完整的网络视图只显示节点,没有边。
你能给出正确的命令步骤吗?好像我被困在某个地方了。
我用的是摩纳哥osm贴图。使用arangodb 3.2版本
编辑 1 :
我的命令如下
arangoimp --file V-CA.json --collection vertices --create-collection true --type json
created: 1896 warnings/errors: 0 updated/replaced: 0
ignored: 0
arangoimp --file E-CA.json --collection edges --create-collection true --type json --create-collection-type edge
created: 256 warnings/errors: 0 updated/replaced: 0 ignored:
0
OSM 到图形文件的转换
python转换-pbf.pymonaco.osm
编辑 2
我在使用 3.3.7 后观察到相同的结果
我看到它显示
250 nodes 0 0 edges
在 "Load full graph" 之后的底部。但在导入时它显示了 1896 个顶点。是否只显示部分顶点?
图形查看器的默认限制为 250 个节点。这可以在 Graph 部分的 Limit:[= 属性面板中进行调整(单击汉堡图标打开) 11=]
将其设置为 2000,点击 return 并加载完整图表并稍等片刻。
我是 arangodb 的新手。我将使用 arangodb 在道路网络上执行算法。
我找到了这个https://github.com/arangodb-helper/osm-2-graph?files=1
我尝试使用 arangoimp(json 格式)将边文件、顶点文件导入 arangodb。
但我总是只能看到一个节点。单击展开按钮后它不会展开。完整的网络视图只显示节点,没有边。
你能给出正确的命令步骤吗?好像我被困在某个地方了。
我用的是摩纳哥osm贴图。使用arangodb 3.2版本
编辑 1 : 我的命令如下
arangoimp --file V-CA.json --collection vertices --create-collection true --type json
created: 1896 warnings/errors: 0 updated/replaced: 0 ignored: 0
arangoimp --file E-CA.json --collection edges --create-collection true --type json --create-collection-type edge
created: 256 warnings/errors: 0 updated/replaced: 0 ignored: 0
OSM 到图形文件的转换
python转换-pbf.pymonaco.osm
编辑 2
我在使用 3.3.7 后观察到相同的结果
我看到它显示
250 nodes 0 0 edges
在 "Load full graph" 之后的底部。但在导入时它显示了 1896 个顶点。是否只显示部分顶点?
图形查看器的默认限制为 250 个节点。这可以在 Graph 部分的 Limit:[= 属性面板中进行调整(单击汉堡图标打开) 11=]
将其设置为 2000,点击 return 并加载完整图表并稍等片刻。