Skip to content

Some errors in creating global terrain tiles #3

Description

@just-ads

Creating Mapbox Displacement Tiles using ASTER GDEM V3

Dataset: ASTER GDEM V3

Step 1:

# Create file list
ls /path/to/your/tif_files/*.tif > tif_list.txt

# Create VRT based on list
gdalbuildvrt -input_file_list tif_list.txt all_tiles.vrt

Step 2:

massif --format png --compress 6 --encoding mapbox --min-z 5 --max-z 12 all_tiles.vrt terrain.pmtiles

出现的一些错误和警告:

ERROR 1: ASTER/ASTGTMV003_S82W152_dem.tif:Using code not yet in table
ERROR 1: TIFFReadEncodedTile() failed.
ERROR 1: IReadBlock failed at X offset 1, Y offset 13: TIFFReadEncodedTile() failed.
....
Warning: tile 5/2/29 failed: read_as: CPL error class: '3', error number: '1', error msg: 'IReadBlock failed at X offset 1, Y offset 13: TIFFReadEncodedTile() failed.'
Warning: tile 5/4/29 failed: read_as: CPL error class: '3', error number: '1', error msg: 'IReadBlock failed at X offset 7, Y offset 3: TIFFReadEncodedTile() failed.'
Warning: tile 6/4/58 failed: read_as: CPL error class: '3', error number: '1', error msg: 'ASTGTMV003_S82W157_dem.tif, band 1: IReadBlock failed at X offset 10, Y offset 3: TIFFReadEncodedTile() failed.'
Warning: tile 6/10/58 failed: read_as: CPL error class: '3', error number: '1', error msg: 'ASTGTMV003_S82W120_dem.tif, band 1: IReadBlock failed at X offset 10, Y offset 12: TIFFReadEncodedTile() failed.'
Warning: tile 6/10/59 failed: read_as: CPL error class: '3', error number: '1', error msg: 'ASTGTMV003_S82W120_dem.tif, band 1: IReadBlock failed at X offset 10, Y offset 12: TIFFReadEncodedTile() failed.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions