[OSM-dev] dev Digest, Vol 57, Issue 6
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev