Hey, Another Overpass QL question. I'm using Overpass Turbo and trying to realise the following query: General: I'm trying to get nodes with a certain tag that are connecting two ways. The nodes should be filtered out, if both of these ways are not corresponding with a set of tags. So both ways can have unequal values of the same key, but have to be defined in the given set. Ways with the same tag shouldn't be discarded. Excplicit: I want all nodes that have the tag Thanks in advance! asked 04 Jan '15, 13:50 kerosin |
Filtering based on counting something is outside of the scope of Overpass API (as of today), so a bit of post processing is required. The closest way I could think of is the following: for each
answered 04 Jan '15, 18:07 mmd 1
Thanks again :) I said "at least two ways" and I meant two or more ways. I don't want to count the ways, so if it is problematic I would be very happy for a solution that simply gives all nodes with "barrier=lift_gate" and if there are ways that this node is connected to they should be part of the given set (residential/livingstreet) (should I open again a new question? ;)) A out of the box solution on Overpass would be really great! Anyway great work, I appreciate it!
(05 Jan '15, 00:52)
kerosin
|