Why not ask your question on the new OpenStreetMap Community Forum?

Is there a way how to query API for a particular tag (example highway=primary) in objects that were NOT last edited by particular user?

asked 18 Aug '12, 11:41

Kozuch's gravatar image

accept rate: 8%

edited 20 Aug '12, 17:13

If you mean the search in JOSM, yes. It is easy. Just add a '-'sign to do the negative search. So your search query would be

highway=primary -user:userXYZ

This would give you all primary highways not last edited by userXYZ

permanent link

answered 18 Aug '12, 12:23

Sanderd17's gravatar image

accept rate: 31%

edited 18 Aug '12, 20:51

Tordanik's gravatar image


Thanks for an answer, but I rather thought an API query... added API keyword to my question.

(20 Aug '12, 17:15) Kozuch

Not explicitly tried it for this, but Overpass might be worth a look (apparently it supports negation)

permanent link

answered 20 Aug '12, 17:57

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%


It does support negation, but it seems only for key-values. I didn't accomplish negating the user name of the last edit.

(20 Aug '12, 21:06) scai ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 18 Aug '12, 11:41

question was seen: 4,140 times

last updated: 20 Aug '12, 21:06

powered by OSQA