If you do Edit-Search in JOSM it gives you a load of examples of what you can do.<div>I presume (and Ævar seems to be saying) this is the same searching engine/code that the filters use.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<div><br><div class="gmail_quote">On 26 May 2010 14:22, Ævar Arnfjörð Bjarmason <span dir="ltr"><<a href="mailto:avarab@gmail.com">avarab@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, May 26, 2010 at 13:08, John Smith <<a href="mailto:deltafoxtrot256@gmail.com">deltafoxtrot256@gmail.com</a>> wrote:<br>
> Sorry for posting to this list, but I didn't feel like joining yet<br>
> another mailing list for one question.<br>
><br>
> I want to be able to hide all admin boundaries in JOSM using the<br>
> filter method, except admin boundaries that have highway=* or<br>
> waterway=* or natural=* tags also, I haven't been able to figure out<br>
> the right combination of filters to achieve this.<br>
<br>
</div>Filters are just search queries, so you can do e.g.:<br>
<br>
    boundary=administrative -(highway=* | waterway=* | natural=*)<br>
<br>
If you want to hide boundary relations you can put that query in a ()<br>
and OR it together with one that searches for ways that are part of a<br>
boundary relation, use the child/parent operators for that.<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Gregory<br><a href="mailto:osm@livingwithdragons.com">osm@livingwithdragons.com</a><br><a href="http://www.livingwithdragons.com">http://www.livingwithdragons.com</a><br>

</div></div>