[OSM-dev] OSM QA Tiles for data analysis

Edward Betts edward at 4angle.com
Thu Sep 10 14:06:43 UTC 2015


The latest.planet.mbtiles file is 49G when uncompressed. I figured out how to
extract tiles using the landez python module, this seems to work:

mbreader = MBTilesReader("latest.planet.mbtiles")

with open('tile.osm.pbf.gz', 'wb') as out:
    out.write(mbreader.tile(15, 16244, 10726)

I uncompressed the extracted tile, but then what format is it in? I assume PBF,
but osmosis, osmconvert and osmread all refuse to read it.

-- 
Edward.



More information about the dev mailing list