Has anyone tried reading the bz2 compressed planet file? I'm currently trying to figure out if there is something wrong in Python's bz2 module, zlib, or the planet files themselves.
The python BZ2file module lets you read and write bz2 files like normal files without decompressing the whole thing. This is key, especially when dealing with full-planet which is 500GB+ uncompressed. However, I've found a few instances where different people have had issues with the OSM planet files and the bz2 module quitting after reading the first 900,000 bytes. Has anyone had success with this? FYI: The script works perfectly with a 165MB compressed file from Cloudmade. -Eric -=--=---=----=----=---=--=-=--=---=----=---=--=-=- Eric B. Wolf 720-334-7734
_______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev