<p>In app/models/changeset.rb:</p>
<pre style='color:#555'>> @@ -52,6 +52,37 @@ def set_closed_time_now
>      end
>    end
>  
> +  # Determines the best 'summary' of the changeset, either from comments or automatically
> +  def summary
> +    unless (self.tags['comment'].nil?)
> +      return self.tags['comment'].nil?
> +    else
> +      "#{self.num_changes} modifications made in this changeset."
> +    end
> +  end
> +
> +  def activity_actor
> +    return self.user
> +  end
> +
> +  # Returns a list of nodes that represent city/town/village that is nearby the center of changeset's bounding box.
> +  def related_places(radius = 5)
</pre>
<p>This method is likely to be very expensive - at the very least it will need to get the bounds from the GC object and do an <code>sql_for_area</code> filter using those bounds so that we can roughly cut down the matches using a tile index filter.</p>

<p>If this is just to get a description for the location of a changset though then I would suggest using the <code>describe_location</code> helper function, which uses Nomination to get a description. We would also need to think about caching the result of that, in the same way the diary pages do.</p>

            <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
              —<br>
              Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/54/files#r1358594'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpmLWAu4oQih75mggZl1E8_ncpsL_vuCSTJlxIVuE64FQ.gif' height='1' width='1'>