<br><br><div class="gmail_quote">2009/12/8 Stefan Ziegler <span dir="ltr"><<a href="mailto:stefan.ziegler_zst@gmx.de">stefan.ziegler_zst@gmx.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Maybe it's better to produce tile data files in osm-Format - the same as the input. Then it is useful for more applications - like my osm3d. The idea is really simple: just parse the XML planet file with a SAX parser (you can't load Gigabytes of XML data into memory), save the node id's for nodes with lat/lon inside your tile, and find all ways and relations using these nodes and all relations using the ways selected before.<br>
</blockquote><div><br>sounds interesting to me, but I guess you will have to calculate an intersecting bounding box for each tile to get ways that cross the tile but don't have nodes inside, and to have the continuation of a way outside the tile.</div>
</div><br>cheers,<br>Martin<br>