Matt, this is awesome, thank you!<br><br>On Wednesday, February 25, 2015, Matt Amos <<a href="mailto:zerebubuth@gmail.com">zerebubuth@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">at the recent Karlsruhe hack weekend [1] (thanks to Geofabrik for<br>
hosting), Paul Norman and i made some changes to changeset replication<br>
[2] and planet dumps [3] to support discussions.<br>
<br>
the first of the dumps is now available [4] as, for the moment, a<br>
separate file and the plan is to merge that back into the "main"<br>
changesets dump in about 6 months time - if you consume changeset<br>
dumps, please test your code against the discussions dump!<br>
<br>
the discussions dump is largely the same as the changesets dump, but<br>
includes the discussions like this:<br>
<br>
 <changeset id="1" created_at="2005-04-09T19:54:13Z"<br>
closed_at="2005-04-09T20:54:39Z" open="false" user="Steve" uid="1"<br>
min_lat="51.5288506" min_lon="-0.1465242" max_lat="51.5288620"<br>
max_lon="-0.1464925" num_changes="2" comments_count="1"><br>
  <discussion><br>
   <comment uid="33757" user="Minh Nguyen" date="2014-11-15T11:43:09Z"><br>
    <text>From humble beginnings…</text><br>
   </comment><br>
  </discussion><br>
 </changeset><br>
<br>
which is the same format as the API (with comments included) [5].<br>
these are also present in the same format in the changeset replication<br>
feed [6], which allows you to keep a dump or replicated database up to<br>
date with the latest comments & changesets.<br>
<br>
i hope this will give everyone the data they need to build interesting<br>
new ways of visualising and interacting with the changeset comment<br>
data, for example; better UIs to display discussions near me or on the<br>
map, analysis tools to check for spam or other bad comments, and<br>
entirely new and unexpected cool things.<br>
<br>
cheers & happy hacking,<br>
<br>
matt<br>
<br>
[1] <a href="http://wiki.openstreetmap.org/wiki/Karlsruhe_Hack_Weekend_February_2015" target="_blank">http://wiki.openstreetmap.org/wiki/Karlsruhe_Hack_Weekend_February_2015</a><br>
[2] <a href="https://github.com/openstreetmap/chef/pull/18" target="_blank">https://github.com/openstreetmap/chef/pull/18</a><br>
[3] <a href="https://github.com/zerebubuth/planet-dump-ng/pull/10" target="_blank">https://github.com/zerebubuth/planet-dump-ng/pull/10</a><br>
[4] <a href="http://planet.openstreetmap.org/planet/2015/discussions-150223.osm.bz2" target="_blank">http://planet.openstreetmap.org/planet/2015/discussions-150223.osm.bz2</a><br>
[5] <a href="http://api.openstreetmap.org/api/0.6/changeset/1?include_discussion=true" target="_blank">http://api.openstreetmap.org/api/0.6/changeset/1?include_discussion=true</a><br>
[6] <a href="http://planet.openstreetmap.org/replication/changesets/" target="_blank">http://planet.openstreetmap.org/replication/changesets/</a><br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'dev@openstreetmap.org')">dev@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/dev" target="_blank">https://lists.openstreetmap.org/listinfo/dev</a><br>
</blockquote>