Hello, I want to use Overpass to find all Bars and Pubs around one kilometre of a coordinate. I have written there a code on overpass-turbo and tried it out:
Now I want to add an exception list for a few object and want to identify them by their Id. So I lokked up, if there is any option to solve it. I tried it to add these code:("id"!="2176294876") and other combinations and got always an error back. Do you know any possibilities to solve this problem. Thank you very much :) asked 07 Sep '18, 18:34 Xadees |
I would put the ones you dont want into a set and use difference ( seta; - setb ) ;
In a bit more detail
Note I have removed the ({{bbox}}) so I could find out where your points are and isn't needed with the (around: ) clause. answered 08 Sep '18, 08:38 andrewblack Thank you very much for your fast answer. It is a nice solution and you explained it very well.
(08 Sep '18, 14:06)
Xadees
|