This Docker image has been sponsored by INSITU Ingenieria: https://ingenieriainsitu.com/en/
gdal:2.4.4_ECW Docker images (with Python 3).
docker run --rm -it ginetto/gdal:2.4.4_ECW
Using a data volume
$ export DATAFOLDER="-v /folder_with_your_testdata/:/home/datafolder"
$ docker run $DATAFOLDER --name gdalecw -it --rm ginetto/gdal:2.4.4_ECW /bin/bash
if my ECW image is /path/to/my.ecw I can convert with:
docker run --rm -it --name gdalecw -v /path/to/:/home/datafolder
ginetto/gdal:2.4.4_ECW
gdal_translate
/home/datafolder/my.ecw
/home/datafolder/my.tif
Use -u option in docker run command to avoid to have result with uid=0 (root). See https://docs.docker.com/engine/reference/run/
see guides in: http://blog.cleverelephant.ca/2015/02/geotiff-compression-for-dummies.html https://kokoalberti.com/articles/geotiff-compression-optimization-guide/
apply optimization as -wo options to gdal_translate command
$ git clone https://github.com/luipir/docker-gdalecw.git
$ cd docker-gdalecw
$ docker-compose up
This will create and run automatically ginetto/gdal:2.4.4_ECW image.
To build with other gdal version see: docker-compose.yml build args.
Building process would download ECW redistributable installer, but the way to download it can change due to decision about this proprietary driver.
During time, ECW installer can change the way to download. Adapt Dockerfile reflecting these changes.
Actually the Build is based on downloading the following ECW installer:
ERDASECWJP2SDKv54Update1forLinux
GDAL compilations steps are inspired by:
ECW installation is inspired by:
Content type
Image
Digest
Size
1.3 GB
Last updated
almost 6 years ago
docker pull ginetto/gdal:2.4.4_ECW