无法将 foot.lua 提取到 map.xml

Unable to extract foot.lua to map.xml

我正在尝试实施 osrm 服务器,我有 AWS Ubuntu 服务器实例和 4 GB RAM。我已将印度地图数据从导出 https://www.openstreetmap.org 下载为 map.xml,现在当我尝试使用 osrm-extract 命令提取时,出现以下错误

ubuntu@~/osrm-backend$ osrm-extract map.xml -p profiles/foot.lua
[info] Parsed 0 location-dependent features with 0 GeoJSON polygons
[info] Using script profiles/foot.lua
[info] Input file: map.xml
[info] Profile: foot.lua
[info] Threads: 2
[info] Parsing in progress..
[info] input file generated by Overpass API 0.7.54.13 ff15392f
[info] timestamp: n/a
[info] Using profile api version 2
[info] Parse relations ...
[info] Parse ways and nodes ...
[info] Parsing finished after 0.005743 seconds
[info] Raw input contains 0 nodes, 0 ways, and 0 relations, 0 restrictions
terminate called after throwing an instance of 'osrm::util::exception'
what(): There are no edges remaining after parsing.src/extractor/extractor.cpp:623
Aborted (core dumped)

[info] 原始输入包含 0 个节点、0 种方式、0 种关系、0 种限制 ... what(): 解析后无边剩余.src/extractor/extractor.cpp:623

这表明您的 map.xml 中没有可步行的路径,因此路线图为空。我需要检查您的 map.xml 中是否至少有一些 highway= 道路,或其他一些可步行的道路。