Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract the entire XYZ file structure as uncompressed from compressed vector tiles #3

Open
2 of 3 tasks
roblabs opened this issue Feb 7, 2021 · 0 comments
Open
2 of 3 tasks

Comments

@roblabs
Copy link
Owner

roblabs commented Feb 7, 2021

cf. Discussion on whether .pbf can should be compressed when using tippecanoe: mapbox / tippecanoe #582


Given a MBTile file with gzip'd vector data, is there an efficient way to extract the entire XYZ file structure as uncompressed?


  • GZip command
gzip --decompress --recursive  --suffix .pbf *

  • Using ogr2ogr?
# change to z=0, x=0
cd 0/0
ogr2ogr -progress -f Shapefile 0.shp 0.pbf


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant