I am trying to retrieve a list of objects with at least two specific keys without specifying the values for those keys using the OverpassAPI. This is the query I thought should list me all ways with at least a highway and a name tag:
However, it just returns nothing. Specifying a highway value works as expected:
Specifying no highway value but a specific name also works as expected:
So, why doesn't the first query work without a value for both the highway and name tag? Am I doing something wrong here or is this just not supported? asked 15 Aug '12, 08:11 scai ♦ |
No, it is simply a bug. I have introduced an acceleration for that kind of queries a few days ago, and apparently haven't tested it enough. I'll check what is going wrong and then tell details. As a temporary workaround, you can use a regular expression for one of the two conditions:
Update: I just have realized that this only affects the rambler instance. Thus,
works fine. The rambler instance runs the pre-acceleration version, and thus this might be a good occasion to update the rambler instance as well. answered 15 Aug '12, 08:19 Roland Olbricht Ah I see, thanks for the quick answer :).
(15 Aug '12, 08:24)
scai ♦
2
Ok, everything should be fine now. The workaround is no longer necessary.
(15 Aug '12, 11:42)
Roland Olbricht
Thanks again!
(15 Aug '12, 11:57)
scai ♦
|