[OSM-dev] [OSM-talk] donating read-only api-mirrors

Stefan de Konink stefan at konink.de
Fri Feb 6 18:25:42 GMT 2009


Hi Frederik,

Frederik Ramm wrote:
> Marcus Wolschon wrote:
>> So...why is it that you hold the result-set of the nodes-query in memory
>> again?
> 
> While not mandated by the XML structure, the XML document we return is 
> usually sorted - nodes, ways, relations, each in ascending ID order. 
> Because a way or relation may require additional nodes to be included 
> that lie outside of the bounding box, we can only return the nodes after 
> we have processed ways and relations.

Is this also the case for non-full bbox requests?

Or is it actually calculated that a way passes through a tile when its 
two nodes connecting it are far outside it? (Separate problem)
     ___
    |   |
o--|___|--o


Stefan





More information about the dev mailing list