[OSM-dev] JOSM:searching for tags with colons; searching for multiple keys; layers

Jon Burgess jburgess777 at googlemail.com
Sat Sep 1 12:52:10 BST 2007


On Fri, 2007-08-31 at 23:51 -0500, Alex Mauer wrote:

> further, it would be very cool to be able to either search for multiple
> keys (tiger:cfcc=A51&name=Foo street) or search within previous results
>  ("subtract all non-matching from selection") (The actual case I was
> looking for was to find all railways that I had tagged so I could delete
> it in favor of the more complete/accurate TIGER rail data -- so I wanted
> to search created_by:JOSM and railway:rail).  Either method would
> achieve the same thing, and would thus be satisfactory to me.

You should be able to do this today with some clever use of the existing
search features:

search: railway:rail     (option = Replace selection)
search: -created_by:JOSM (option = Remove from selection)

i.e. select all railways and remove all that are not tagged with
created_by:JOSM.

	Jon






More information about the dev mailing list