Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-06-20 Thread Dmitriy T.
Thank you! -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] scripts/setdevenv.sh

2018-06-20 Thread Markus Metz
On Thu, Apr 5, 2018 at 11:44 AM, Even Rouault wrote: > > Hi, > > This is something most people doing GDAL development, and not wanting to install each time they > build, have probably reinvented by themselves, so now master has a scripts/setdevenv.sh that > you can source to define PATH, LD_LIBRAR

Re: [gdal-dev] Having trouble working with jp2 files

2018-06-20 Thread Stephen Woodbridge
Even, My bad, I ran the wrong container. Just reran the test and it works with gdal 2.2.4 and openjpeg 2.1.2. And this also worked: root@ab86ce382ef0:/usr/local# gdal_translate -of GTiff -co TILED=YES -co PHOTOMETRIC=YCBCR -co COMPRESS=JPEG /data/850011.jp2 /data/850011.tif Input file size i

Re: [gdal-dev] Having trouble working with jp2 files

2018-06-20 Thread Even Rouault
On mercredi 20 juin 2018 12:33:40 CEST Stephen Woodbridge wrote: > Even, > > Thanks! > > I did built gdal 2.2.4 with openjpeg 2.1.2 on a docker container and > that solves the simple case of: > > gdalinfo -stats /data/850011.jp2 > > but it still fails with: > > root@436a09289084:/usr/local# gd

Re: [gdal-dev] Help with idiomatic GDAL solution for raster algebra benchmark

2018-06-20 Thread Even Rouault
> I ended up with the following timings: > > GDAL-Only using ReadBlock(...) : 7.7 seconds > GDAL-Only using RasterIO(...): 30.1 seconds > GDAL-Only using GetLockedBlockRef(...) : 8.9 seconds > Pronto Raster using GetLockedBlockRef(...

Re: [gdal-dev] Having trouble working with jp2 files

2018-06-20 Thread Stephen Woodbridge
Even, Thanks! I did built gdal 2.2.4 with openjpeg 2.1.2 on a docker container and that solves the simple case of: gdalinfo -stats /data/850011.jp2 but it still fails with: root@436a09289084:/usr/local# gdal_translate -of GTiff -co TILED=YES /data/850011.jp2 /data/850011.tif Input file si

Re: [gdal-dev] Help with idiomatic GDAL solution for raster algebra benchmark

2018-06-20 Thread Alex HighViz
On 19/06/2018 18:41, Mateusz Loskot wrote: > On 19 June 2018 at 11:50, Alex HighViz wrote: >> On 19/06/2018 10:28, Mateusz Loskot wrote: >>> On 19 June 2018 at 11:22, Alex HighViz wrote: Regrettably I overstated the performance in my previous post, due to a bug that is now solved. With

Re: [gdal-dev] Having trouble working with jp2 files

2018-06-20 Thread Even Rouault
On mardi 19 juin 2018 23:07:24 CEST Stephen Woodbridge wrote: > 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

Re: [gdal-dev] gdal 2.3.0 with openjpeg 2.3 support

2018-06-20 Thread Even Rouault
On mercredi 20 juin 2018 09:48:13 CEST donato.aira...@ext.ec.europa.eu wrote: > Hi Even,Vincent, > > is true, the problem is pkg-config > On my Centos 6 is already installed version 0.23 that is the official > release in Cento 6 repository. With this release (0.23) the var > PKG_CONFIG_PATH=/us

Re: [gdal-dev] gdal 2.3.0 with openjpeg 2.3 support

2018-06-20 Thread Donato.AIRAGHI
Hi Even,Vincent, is true, the problem is pkg-config On my Centos 6 is already installed version 0.23 that is the official release in Cento 6 repository. With this release (0.23) the var PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ does not work If I compile pkgconfig 0.29.1 i can get . Op

Re: [gdal-dev] GDALTranslateOptions: how to send "--config GDAL_TIFF_INTERNAL_MASK YES"

2018-06-20 Thread Even Rouault
> "--config", "GDAL_TIFF_INTERNAL_MASK", "YES" This is the correct one. You didn't specify which language you use. Normally you shouldn't use Gdal.wrapper_GDALTranslate directly. But if it is C#, perhaps some more work is needed in the bindings. If that specific option causes issues, you can al