Overpass API developpement

Text archives Help


Re: [overpass] QL Intersections


Chronological Thread 
  • From: mmd <mmd.osm@gmail.com>
  • To: overpass@listes.openstreetmap.fr
  • Subject: Re: [overpass] QL Intersections
  • Date: Thu, 17 Dec 2015 13:11:05 +0100

rel['key1'='value1']['key2'='value2'] will do, if I got your issue right.


On Thu, Dec 17, 2015 at 12:50 PM, Malcolm Herring <malcolm.herring@btinternet.com> wrote:
I need to perform an intersection, but there appears to be no native operator for this. So I am attempting to do this with unions & differences.

What I require: rel['key1'='value1'] AND rel['key2'='value2']

If I write: (rel['key1'='value1'] - rel['key2'!='value2'])

Will this work even if a relation in the input set has no tag with 'key2'? I cannot find a definition of the "!=" operator.





Archive powered by MHonArc 2.6.18.

Top of page