On 22 Apr 2009, at 21:08, Iván Sánchez Ortega wrote:

> El Miércoles, 22 de Abril de 2009, Frederik Ramm escribió:
>> A proper monitoring function has to use the changeset bbox as an  
>> index
>> only and then check whether the changeset *really* contains  
>> something in
>> the area of interest to the subscriber. This is more expensive in  
>> terms
>> of CPU power and I'm not sure if we want to burden the API with it.  
>> It
>> could be done externally if changesets are distributed as OSM diffs  
>> are
>> today.
>
> Maybe we could calculate the convex hull of the changeset and use  
> that with
> some postgis magic. It should be quicker than comparing all the  
> elements in
> the changeset to the bbox, and would not produce so many false  
> positives.
>

The bbox of the changeset is calculated whenever the nodes, ways and  
relations are added to the changeset. These cached values are used in  
working out the search of the changesets in the history tab.

Shaun



_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to