On 27 Sep 2009, at 21:45, Ævar Arnfjörð Bjarmason wrote:

> On Sun, Sep 27, 2009 at 7:59 PM, Valent Turkovic
> <valent.turko...@gmail.com> wrote:
>> On Sun, 27 Sep 2009 20:14:31 +0200, Frederik Ramm wrote:
>>
>>> is a bit expensive to compute, and the bounding box offered by the  
>>> API
>>> is just meant to be a quick "index" that gives you an idea of which
>>> changesets could be relevant to the bbox you are looking at.
>>
>> I thought about one more thing, ok, so to check if somebody is  
>> editing in
>> my area it is expensive to check... so I had one other idea.
>>
>> Could you somehow add the size of the bounding box in RSS feed? And  
>> also
>> that I can choose only to see edits of certain size when looking at
>> OSM.org site.
>
> The size of the bbox is already part of the Atom feeds via the GeoRSS
> extension. It'll look like this:
>
>    <georss:box>48.003869 7.8216504 48.0079714 7.8301403</georss:box>
>

 From that you can calculate the big on your own client (e.g. Yahoo  
pipes):
http://trac.openstreetmap.org/browser/sites/rails_port/app/models/changeset.rb#L93
http://trac.openstreetmap.org/browser/sites/rails_port/app/views/changeset/_changeset.html.erb#L48

Shaun


_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to