Skip to content

Commit 228bf1c

Browse files
committed
Readd mandatory prefix to avoid bbox filter collision
1 parent 3775ee1 commit 228bf1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/overpass_api/statements/id_query.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ class Id_Query_Statement : public Output_Statement
7575
virtual std::string dump_ql_in_query(const std::string& indent) const
7676
{
7777
std::vector< uint64 >::const_iterator it = refs.begin();
78-
79-
std::string result = "(";
78+
79+
std::string result = "(id:" + ::to_string(refs.size()) + ",";
8080
if (it != refs.end())
8181
result += ::to_string(*it++);
8282
while (it != refs.end())

0 commit comments

Comments
 (0)