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

Florian Lohoff flo at rfc822.org
Sun Apr 26 20:41:20 BST 2009


On Sun, Apr 26, 2009 at 09:28:21PM +0200, Chris Browet wrote:
> Subject: [OSM-dev] API: no BBOX download of a way if no nodes inside the
> 	BBOX?
> 
> 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?

It was the same before - The database does not have any line geometries
so the way to get all entitys in the bbox is to get all nodes in the bbox.
Get all ways to those nodes, get all nodes to those ways. 

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090426/63215a9e/attachment.pgp>


More information about the dev mailing list