[Tagging] Proposed mechanical edit: surface=soil to surface=dirt

Ilpo Järvinen ilpo.jarvinen at helsinki.fi
Mon Aug 31 18:12:44 UTC 2015


On Mon, 31 Aug 2015, Mateusz Konieczny wrote:

> On Mon, 31 Aug 2015 12:55:27 +0200
> moltonel 3x Combo <moltonel at gmail.com> wrote:
> 
> > On 31/08/2015, Mateusz Konieczny <matkoniecz at 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=%5Bout%3Ajson%5D%5Btimeout%3A25%5D%3B%0A%28%0A%20%20node%5B%22surface%22%3D%22soil%22%5D%3B%0A%20%20way%5B%22surface%22%3D%22soil%22%5D%3B%0A%20%20relation%5B%22surface%22%3D%22soil%22%5D%3B%0A%29%3B%0Aout%20meta%3B'
> > | 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


-- 
 i.



More information about the Tagging mailing list