[OSM-dev] dev Digest, Vol 57, Issue 6

Martin Koppenhoefer dieterdreist at gmail.com
Tue Dec 15 11:09:06 GMT 2009


2009/12/8 Stefan Ziegler <stefan.ziegler_zst at gmx.de>

> 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.
>

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.

cheers,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20091215/2a741285/attachment.html>


More information about the dev mailing list