[OSM-dev] Complex JOSM filtering rules
nomoregrapes at googlemail.com
Wed May 26 14:27:27 BST 2010
If you do Edit-Search in JOSM it gives you a load of examples of what you
I presume (and Ævar seems to be saying) this is the same searching
engine/code that the filters use.
On 26 May 2010 14:22, Ævar Arnfjörð Bjarmason <avarab at gmail.com> wrote:
> On Wed, May 26, 2010 at 13:08, John Smith <deltafoxtrot256 at gmail.com>
> > Sorry for posting to this list, but I didn't feel like joining yet
> > another mailing list for one question.
> > I want to be able to hide all admin boundaries in JOSM using the
> > filter method, except admin boundaries that have highway=* or
> > waterway=* or natural=* tags also, I haven't been able to figure out
> > the right combination of filters to achieve this.
> Filters are just search queries, so you can do e.g.:
> boundary=administrative -(highway=* | waterway=* | natural=*)
> 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.
> dev mailing list
> dev at openstreetmap.org
osm at livingwithdragons.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev