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

osm at mcmurph.de osm at mcmurph.de
Thu Jan 10 21:09:18 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. In my own program when I create tiles from the data and display these tiles the way is interrupted (The surrounding tiles have a node and thus have the whole way. Each tile only draws on its area.).
Is there a solution to this problem?

Thanks in advance,
Mark

P.S.: I think this problem must have arisen before but on scanning the mailing list I couldn't find anything. I'm happy with a link.




More information about the dev mailing list