[OSM-dev] API: how to retrieve ways which cross a tile?

Frederik Ramm frederik at remote.org
Fri Jan 11 01:10:36 GMT 2008


Hi,

> when I download data using a bounding box, I get all nodes and all
> ways with at least one node in the BB. But imagine a street just
> crossing the edge of the BB with its nodes outside the BB, none
> inside the BB. This way would not be returned upon the request

Correct.

Clients usually try to get around this by requesting more data (= a
larger bbox) than they really need. For rendering, this has to be done
anyway because an object directly outside the bounding box may be
drawn in a way that affects part of the boinding box (e.g. a POI which
lies just millimetres outside).

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'





More information about the dev mailing list