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

ENCODING_TYPE support for PDS3 images #1457

Closed
Kelvinrr opened this issue Apr 18, 2019 · 2 comments
Closed

ENCODING_TYPE support for PDS3 images #1457

Kelvinrr opened this issue Apr 18, 2019 · 2 comments
Assignees
Milestone

Comments

@Kelvinrr
Copy link

Kelvinrr commented Apr 18, 2019

Expected behavior and actual behavior.

GDAL fails to open a Kaguya Terrain Camera PDS3 image. The problem being that these images have an ENCODING_TYPE key in the label which GDAL doesn't currently support,

(ale) igswzawglt0091:ISIS3 kelvin$ gdalinfo ~/repos/ale/images/TC1W2B0_01_00366S495E1640.img
ERROR 4: *** PDS image file has an ENCODING_TYPE parameter:
*** gdal pds driver does not support compressed image types
found: (DCT_DECOMPRESSED)


gdalinfo failed - unable to open '/Users/kelvin/repos/ale/images/TC1W2B0_01_00366S495E1640.img'.

Steps to reproduce the problem.

TC1W2B0_01_00366S495E1640.zip

Download and unzip the above example. Simply run:

gdalinfo TC1W2B0_01_00366S495E1640.img

Operating system

MacOS 10.13.6

GDAL version and provenance

gdal 2.4.1 from conda-forge, build py36h7eb7563_1

@Kelvinrr
Copy link
Author

@thareUSGS Do you have any input on how to get this fix in?

@rouault
Copy link
Member

rouault commented Apr 18, 2019

It turns out that just allowing this value and going on leads to apparent correct behaviour.

@rouault rouault added this to the 2.4.2 milestone Apr 18, 2019
@rouault rouault self-assigned this Apr 18, 2019
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

2 participants