[gdal-dev] Having trouble working with jp2 files
Stephen Woodbridge
stephenwoodbridge37 at gmail.com
Tue Jun 19 20:07:24 PDT 2018
I tried the following:
git clone https://github.com/GeographicaGS/Docker-GDAL2.git
cd Docker-GDAL2/2.2.4
#Edit Dockerfile and set 'ENV OPENJPEG_VERSION 2.3.0'
docker build -t gdal2:local ./
cd /path/to/jp2
docker run -t -i gdal2:local -v $(pwd):/data /bin/bash
gdalinfo -stats /data/850011.jp2
And got the same errors.
Even, I sent you a link to download the file from my dropbox.
-Steve
On 6/19/2018 5:11 PM, Even Rouault wrote:
> On mardi 19 juin 2018 16:57:30 CEST Stephen Woodbridge wrote:
>> Hi all,
>>
>> I'm having a problem readding jp2 files. My goal is to be able to
>> display them through mapserver, but I'm have problems with gdalinfo and
>> gdal_translate. I set up a docker image with the latest gdal2 in it like
>> the following. I have 1074 jp2 files and all that I have tried are
>> throwing the same errors as below. Any ideas on what is going on?
> Stephen,
>
> I see that
> https://github.com/GeographicaGS/Docker-GDAL2/blob/master/2.3.0/Dockerfile
> uses openjpeg 2.2.0, and not the latest openjpeg 2.3.0
> As your images are large, in case they are single-tiled, it might be a failed
> allocation in openjpeg 2.2. Upgrading to openjpeg 2.3.0 might help
>
> Any link to one of those images ?
>
> Even
>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the gdal-dev
mailing list