0

我按照 http://wiki.openstreetmap.org/wiki/Overpass_API/install中的描述安装了立交桥

我克隆了数据库。

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

<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)

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

4

1 回答 1

0

我下载的文件已损坏,我重新下载它们并与发布的校验和进行比较,一切正常

于 2016-03-13T14:30:51.153 回答