Skip to content

Error: Unknown compression method identifier: 50000 #151

Open
@maphew

Description

@maphew

Describe the bug

Blank basemap-only page when attempting to load ZSTD compressed cloud optimized geotiffs. Browser dev console says "Error: Unknown compression method identifier: 50000".

Sample image and gdalinfo report attached. Excerpt:

Metadata:
TIFFTAG_SOFTWARE=GDAL 3.8.1e (3080114) (4.6.0;1710;3.0.1;2.1.6;;0x10302;5.4.5;), PROJ 9.3.1 (EPSG.VERSION=v10.098;EPSG.DATE=2023-11-24;ESRI.VERSION=ArcGIS Pro 3.2;ESRI.DATE=2023-11-02;PROJ_DATA.VERSION=1.16;)
AREA_OR_POINT=Area
Image Structure Metadata:
LAYOUT=COG
COMPRESSION=ZSTD
INTERLEAVE=PIXEL
PREDICTOR=2

To Reproduce

  1. Put attached html and sample-cog.tif somewhere appropriate, edit paths as needed.
  2. Load page
  3. Open web developer tools (F12)
  4. Switch to console

image

Expected behavior
The geotiff would load and display.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions