Skip to content

Commit

Permalink
Disable Jasper & re-enable OpenJPEG.
Browse files Browse the repository at this point in the history
Jasper failed to read a large jp2 file & OpenJPEG will get large file
support.  @rouault is making more OpenJPEG improvements, [including
support for files with > 4 billion
pixels](uclouvain/openjpeg#730 (comment)).

Build against OpenJPEG master. Eventually it may work with the jp2
files I have.
  • Loading branch information
pedros007 committed Aug 24, 2017
1 parent 0c0551c commit e3837e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN apt-get update && apt-get upgrade -y && \
shapelib libproj-dev libproj0 proj-data libgeos-3.4.2 libgeos-c1 libgeos-dev \
postgresql-client-common libpq-dev \
-y --no-install-recommends && \
git clone -b master https://github.com/uclouvain/openjpeg.git /tmp/openjpeg && \
mkdir /tmp/openjpeg/build && cd /tmp/openjpeg/build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make && make install && \
pip install numpy && \
svn co https://svn.osgeo.org/gdal/trunk/gdal /tmp/gdal-trunk && \
cd /tmp/gdal-trunk && \
Expand All @@ -26,7 +28,7 @@ RUN apt-get update && apt-get upgrade -y && \
--with-pg \
--with-curl \
--with-static-proj4=yes \
--with-jasper=yes \
--with-openjpeg=yes \
--with-ecw=no \
--with-grass=no \
--with-hdf5=no \
Expand Down

0 comments on commit e3837e0

Please sign in to comment.