On 2015-09-02 08:34, Mateusz Konieczny wrote :
On Tue, 01 Sep 2015 23:55:14 +0200
"André Pirard" <a.pirard.pa...@gmail.com> wrote:

On 2015-08-31 20:12, � wrote :
On Mon, 31 Aug 2015, Mateusz Konieczny wrote:

On Mon, 31 Aug 2015 12:55:27 +0200
moltonel 3x Combo <molto...@gmail.com> wrote:

On 31/08/2015, Mateusz Konieczny <matkoni...@gmail.com> wrote:
Is there some method to automate finding who introduced tags?
Doing it manually would not be worth the effort. On the other
hand - running script to detect users (and/or relevant
changesets) may be a good idea.
curl -s
'http://overpass-api.de/api/interpreter?data="">'
| grep user | sort| uniq -c

or

http://overpass-turbo.eu/?w=%22surface%22%3D%22soil%22+global
(and add 'meta' to the output to extract the user/changeset)

These have the usual drawback that they only return who last
touched the object, not who introduced a particular tag. It gets
more complicated to do things exactly right, but this is a good
starting point.
Getting latest person who edited object is really easy. The
history is main problem - is there some API for getting old
version for given objects with user/changeset that edited it?
At least the main API can give you the old versions of the object
in .osm using:

http://www.openstreetmap.org/api/0.6/node/$i/$v
http://www.openstreetmap.org/api/0.6/node/3157502486/history

will return the complete list (history) of authors, changesets and
dates for a given element.
Yes, this would work (some parsing still would be needed). Unfortunately
according to http://wiki.openstreetmap.org/wiki/API_usage_policy it is
not OK to use API for that purpose.
What policy, what purpose, that's unclear?
Is OSM.org using that API to display the history on the screen illegal?
Is Osmose using it to attribute errors to some user illegal?
Yep, I suppose that making oneself a complete list of OSM users is inappropriate.

Regarding the needed parsing:  use regex (as in perl again): it does wonders!
If you need regex drill, install it in some editor like Advanced Find/Replace plugin for gedit. Gorgeous.
(there are packages to handle xml more correctly but regex is OK for that kind of predictable, repetitive data.)

André.


_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging

Reply via email to