Opened 8 years ago

Closed 8 years ago

#6391 closed defect (invalid)

gdal_translate for jp2 on conda is broken

Reported by: woodstonelee Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.11.2
Severity: normal Keywords:
Cc:

Description

I'm using gdal_translate to convert jp2 to binary format (ENVI). The gdal is installed via anaconda package management. However the gdal_translate won't work (either version 1.11.1 or 1.11.2, see the attached error in the end). However, when I used gdal_translate (same version) installed directly to my CentOS system without using conda, it worked! I suspect the gdal_translate (at least for jp2) or more utilities on the conda is broken.

gdal_translate -of ENVI file.jp2 test.bin

ERROR 4: `file.jp2' not recognised as a supported file format.

GDALOpen failed - 4 `file.jp2' not recognised as a supported file format.

Change History (1)

comment:1 by Even Rouault, 8 years ago

Resolution: invalid
Status: newclosed

Looks like this is an issue with the way GDAL is package by anaconda. It is probably missing a JPEG2000 capable driver. Closing as not a GDAL bug. Should be reported to the foks who maintain the GDAL anaconda build

Note: See TracTickets for help on using tickets.