使用osm overpass查询的运行时错误

时间:2015-08-18 23:36:07

标签: openstreetmap overpass-api

我安装了如上所述的立交桥 http://wiki.openstreetmap.org/wiki/Overpass_API/install

我克隆了db。

当我运行一个简单的查询时,我收到以下错误:

<query type="node">
<bbox-query n="51.0" s="50.9" w="6.9" e="7.0"/>
<has-kv k="amenity" v="pub"/>
</query>
<print/>
encoding remark: Your input starts with a tag but not the root tag.
Thus, a line with the datatype declaration and a line with the root tag
'osm-script' is added. This shifts line numbering by -2 line(s).

<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="Overpass API">
<note>
The data included in this document is from ww.openstreetmap.org.
The data is made available under ODbL.
</note>
<meta osm_base=""/>

After 0h0m15s: in "query", part 1, on line 3.
terminate called after throwing an instance of 'Zlib_Inflate::Error'
what():  Zlib_Inflate: -3
Aborted (core dumped)

你知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

我下载的文件已损坏,我重新下载它们并与已发布的支票金额进行比较,一切正常