Re: [OSM-dev] retrieve user`s editing log
The editing API is primarily intended for editing the map. While some non-editing usage is permitted, if your application will be making many calls on a continuous basis, the editing API will not be the appropriate thing to use. See here: https://wiki.openstreetmap.org/wiki/API_usage_policy If you are looking for a continuous feed of changes, there are data diffs that are published on a minutely, hourly or daily basis. These are available from http://planet.osm.org/replication/ and documented at https://wiki.openstreetmap.org/wiki/Planet.osm/diffs There are tools to help consume these. Osmosis is the one that comes to mind first but I think there are some others as well. If you are just after the changeset metadata (so no map objects, just what is visible for example here: http://www.openstreetmap.org/api/0.6/changeset/42768543 ) then you can use the changeset replication diffs at http://planet.osm.org/replication/changesets/ for which I have a parser that will both import the historical dump and keep up with minutely diffs: https://github.com/ToeBee/ChangesetMD This is a lot less data to deal with than full map object history which can be rather overwhelming. Toby On Fri, Oct 7, 2016 at 6:27 PM, Liming Zhang wrote: > I think I find something to try now. In API v0.6, it state: > > History: GET /api/0.6/[node|way|relation]/#id/history > > Retrieves all old versions of an element. > > > I believe this maybe what I am looking for. > > > - > Liming(Lem) Zhang > > Presidential Scholar, PhD student, George Mason University > > > On Fri, Oct 7, 2016 at 6:59 PM, Liming Zhang wrote: >> >> Thank you! I am pretty new to OSM, so I might mislead my question. What I >> want is something like JSON`s pair data. The raw logging of >> different users and associated information, something looks like: >> { [user name: Jack, >> time: 08/20/2012, >> editing Node: ..., >> editing Line: ..., >> editing Tag: ...] } >> >> I am not just looking for a historial snapshot/version of a data set. >> Basically, it is some API which can fetch data from OSM. Not sure if this is >> clear. Of course, I am in a quite initial stage of idea. Just try to explore >> possibility and current development in the community. >> >> >> >> - >> Liming(Lem) Zhang >> >> Presidential Scholar, PhD student, George Mason University >> >> >> On Fri, Oct 7, 2016 at 6:34 PM, Toby Murray wrote: >>> >>> What do you mean by "editing log"? Do you just want a list of >>> changesets? Or do you want all the map objects they have touched as >>> well? >>> >>> Do you want historic data for analysis or real-time updates for >>> current edits? Or both? >>> >>> Depending on these options, this could be a trivial task or an involved >>> project. >>> >>> Toby >>> >>> On Fri, Oct 7, 2016 at 5:17 PM, Liming Zhang >>> wrote: >>> > Hello, >>> > >>> > I want to develop a simple app to retrieve user`s editing log from >>> > openstreetmap. Anyone know how to do that? or some correct direction to >>> > go >>> > after? >>> > >>> > Thank you! >>> > >>> > - >>> > Liming(Lem) Zhang >>> > >>> > Presidential Scholar, PhD student, George Mason University >>> > >>> > >>> > ___ >>> > dev mailing list >>> > dev@openstreetmap.org >>> > https://lists.openstreetmap.org/listinfo/dev >>> > >> >> > ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] retrieve user`s editing log
I think I find something to try now. In API v0.6, it state: History: GET /api/0.6/[node|way|relation]/#id/history Retrieves all old versions of an element. I believe this maybe what I am looking for. - Liming(Lem) Zhang Presidential Scholar, PhD student, George Mason University On Fri, Oct 7, 2016 at 6:59 PM, Liming Zhang wrote: > Thank you! I am pretty new to OSM, so I might mislead my question. What I > want is something like JSON`s pair data. The raw logging of > different users and associated information, something looks like: > { [user name: Jack, > time: 08/20/2012, > editing Node: ..., > editing Line: ..., > editing Tag: ...] } > > I am not just looking for a historial snapshot/version of a data set. > Basically, it is some API which can fetch data from OSM. Not sure if this > is clear. Of course, I am in a quite initial stage of idea. Just try to > explore possibility and current development in the community. > > > > - > Liming(Lem) Zhang > Presidential Scholar, PhD student, George Mason University > > On Fri, Oct 7, 2016 at 6:34 PM, Toby Murray wrote: > >> What do you mean by "editing log"? Do you just want a list of >> changesets? Or do you want all the map objects they have touched as >> well? >> >> Do you want historic data for analysis or real-time updates for >> current edits? Or both? >> >> Depending on these options, this could be a trivial task or an involved >> project. >> >> Toby >> >> On Fri, Oct 7, 2016 at 5:17 PM, Liming Zhang >> wrote: >> > Hello, >> > >> > I want to develop a simple app to retrieve user`s editing log from >> > openstreetmap. Anyone know how to do that? or some correct direction to >> go >> > after? >> > >> > Thank you! >> > >> - >> > Liming(Lem) Zhang >> > >> > Presidential Scholar, PhD student, George Mason University >> > >> > >> > ___ >> > dev mailing list >> > dev@openstreetmap.org >> > https://lists.openstreetmap.org/listinfo/dev >> > >> > > ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] retrieve user`s editing log
Thank you! I am pretty new to OSM, so I might mislead my question. What I want is something like JSON`s pair data. The raw logging of different users and associated information, something looks like: { [user name: Jack, time: 08/20/2012, editing Node: ..., editing Line: ..., editing Tag: ...] } I am not just looking for a historial snapshot/version of a data set. Basically, it is some API which can fetch data from OSM. Not sure if this is clear. Of course, I am in a quite initial stage of idea. Just try to explore possibility and current development in the community. - Liming(Lem) Zhang Presidential Scholar, PhD student, George Mason University On Fri, Oct 7, 2016 at 6:34 PM, Toby Murray wrote: > What do you mean by "editing log"? Do you just want a list of > changesets? Or do you want all the map objects they have touched as > well? > > Do you want historic data for analysis or real-time updates for > current edits? Or both? > > Depending on these options, this could be a trivial task or an involved > project. > > Toby > > On Fri, Oct 7, 2016 at 5:17 PM, Liming Zhang > wrote: > > Hello, > > > > I want to develop a simple app to retrieve user`s editing log from > > openstreetmap. Anyone know how to do that? or some correct direction to > go > > after? > > > > Thank you! > > > - > > Liming(Lem) Zhang > > > > Presidential Scholar, PhD student, George Mason University > > > > > > ___ > > dev mailing list > > dev@openstreetmap.org > > https://lists.openstreetmap.org/listinfo/dev > > > ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] retrieve user`s editing log
What do you mean by "editing log"? Do you just want a list of changesets? Or do you want all the map objects they have touched as well? Do you want historic data for analysis or real-time updates for current edits? Or both? Depending on these options, this could be a trivial task or an involved project. Toby On Fri, Oct 7, 2016 at 5:17 PM, Liming Zhang wrote: > Hello, > > I want to develop a simple app to retrieve user`s editing log from > openstreetmap. Anyone know how to do that? or some correct direction to go > after? > > Thank you! > - > Liming(Lem) Zhang > > Presidential Scholar, PhD student, George Mason University > > > ___ > dev mailing list > dev@openstreetmap.org > https://lists.openstreetmap.org/listinfo/dev > ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev