Skip to content

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

@roblabs

Description

@roblabs

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


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions