[OSM-dev] API: no BBOX download of a way if no nodes inside the BBOX?

Shaun McDonald shaun at shaunmcdonald.me.uk
Sun Apr 26 20:44:36 BST 2009


On 26 Apr 2009, at 22:28, Chris Browet wrote:

> I just noticed that an API download via a BBOX do not retrieve a way  
> crossing the BBOX unless one of its nodes is inside the BBOX.
>
> Was it like that before, is it new and on purpose or a bug?

This is the way it has always been.

The reason is because the map call searches for all the nodes in the  
bbox, then deduces all the ways from that list of nodes. There is no  
Postgis linestring magic done yet.

Shaun





More information about the dev mailing list