[OSM-dev] Complex JOSM filtering rules

Ævar Arnfjörð Bjarmason avarab at gmail.com
Wed May 26 15:07:37 BST 2010

On Wed, May 26, 2010 at 13:50, John Smith <deltafoxtrot256 at gmail.com> wrote:
> On 26 May 2010 23:22, Ævar Arnfjörð Bjarmason <avarab at gmail.com> wrote:
>> Filters are just search queries, so you can do e.g.:
> I'm aware of that... but...
>>    boundary=administrative -(highway=* | waterway=* | natural=*)
> Doesn't do what I'm trying to do...
>> If you want to hide boundary relations you can put that query in a ()
>> and OR it together with one that searches for ways that are part of a
>> boundary relation, use the child/parent operators for that.
> That's what I'm asking, how do I hide all admin boundaries that don't
> have highway, waterway, natural tags because I haven't figured out a
> combination of filters that will do what I'm trying to do.

Your original question had a double negative. If you want to inverse
the query I gave you just remove the "-" from it.

More information about the dev mailing list