You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.
on ipfs: QmXJ8KkgKyjRxTrEDvmZWZMNGq1dk3t97AVhF1Xeov3kB4
on dat: 04ed0b08ff595a992a594ad1ab624072646467ec7eda2dc40e4aa512e49cb196
Using this shell script I've divided planet-latest.osm.pbf into 215836 .o5m.gz files (which osmconvert can read) and 14389 meta.json files.
Each .o5m.gz file is less than or equal to 1M, so running a tile cutter shouldn't require a lot of RAM, just time and disk space.
The branch factor of this subdivision is 16. The extents of each branch from 0 through 15, inclusive, is encoded in the meta.json file located in every directory. The values are [west,south,east,north] (wsen). Each key maps to a file $key.o5m.gz or a directory $key/ with its own files 0 through 15, inclusive, and a meta.json. Here's an example of what meta.json looks like:
Another nice thing about this data structure is that you can perform ad-hoc extracts for any extents by walking the meta.json files recursively to build up a list of files you can stream into osmconvert.
on ipfs: QmXJ8KkgKyjRxTrEDvmZWZMNGq1dk3t97AVhF1Xeov3kB4
on dat: 04ed0b08ff595a992a594ad1ab624072646467ec7eda2dc40e4aa512e49cb196
Using this shell script I've divided planet-latest.osm.pbf into 215836
.o5m.gz
files (which osmconvert can read) and 14389 meta.json files.Each
.o5m.gz
file is less than or equal to 1M, so running a tile cutter shouldn't require a lot of RAM, just time and disk space.The branch factor of this subdivision is 16. The extents of each branch from 0 through 15, inclusive, is encoded in the
meta.json
file located in every directory. The values are[west,south,east,north]
(wsen). Each key maps to a file$key.o5m.gz
or a directory$key/
with its own files 0 through 15, inclusive, and ameta.json
. Here's an example of whatmeta.json
looks like:Another nice thing about this data structure is that you can perform ad-hoc extracts for any extents by walking the
meta.json
files recursively to build up a list of files you can stream intoosmconvert
.Previously:
The text was updated successfully, but these errors were encountered: