On Fri, Jul 9, 2010 at 5:51 AM, John Smith <[email protected]>wrote:
> On 9 July 2010 13:56, Alan Mintz > <[email protected]<alan_mintz%[email protected]>> > wrote: > > Are they ORd or ANDed? Is there a way to have a partial wildcard on the > > As far as I'm aware you can only do simply ORs, eg: > > [highway=residential|unclassified] > > And you can't do add more than one key value. > > Yes you can. {foo=*][bar=*] is the subset of elements that have both foo and bar tags. So, [foo=a|b][bar=c|d] means in SQLspeak: WHERE (foo=a OR foo=b) AND (bar=c OR bar=d) More formally: *x* ∈ (foo=a ∪ foo = b) ∩ (bar =c ∪ bar=d) 80n
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

