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

Kozuch
1.6k557080
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

Sanderd17
1.1k51637
accept rate: 33%

edited 18 Aug '12, 20:51

Tordanik's gravatar image

Tordanik
10.3k1294125

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 ♦
30.9k63322716
accept rate: 15%

2

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

By RSS:

Answers

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:

×225
×153
×85
×46
×2

question asked: 18 Aug '12, 11:41

question was seen: 3,166 times

last updated: 20 Aug '12, 21:06

powered by OSQA