Re: [gdal-dev] Successfully built gdal 3.4.3 but failed to install with `sudo make install`

2022-05-07 Thread Even Rouault
This has been fixed yesterday per https://github.com/OSGeo/gdal/pull/5677 (and this is for GDAL 3.5.0, not 3.4.3) Le 07/05/2022 à 04:51, Pei JIA a écrit : Hi, all: Finally, I successfully built gdal under Ubuntu 22.04, with gcc 11.2. However, when I tried to install with `sudo make install`,

Re: [gdal-dev] nitfwritejpeg.cpp:(.text+0x104): undefined reference to `jpeg_vsiio_dest(jpeg_compress_struct*, _IO_FILE*)'

2022-05-07 Thread Brad Hards
On Saturday, 7 May 2022 1:35:52 PM AEST Pei JIA wrote: > Hi, all: > > It looks *libjpeg8-dev libjpeg-turbo8-dev* from Ubuntu 22.04's repo is *NOT > compatible* with current GDAL git? Any suggestions? I'm not seeing this. I just did a new install of kubuntu 22.04, installed libjpeg8-dev and libjp

Re: [gdal-dev] nitfwritejpeg.cpp:(.text+0x104): undefined reference to `jpeg_vsiio_dest(jpeg_compress_struct*, _IO_FILE*)'

2022-05-07 Thread Even Rouault
I don't reproduce any build issue trying in a ubuntu 22.04 Docker container doing a normal build: $ docker run --rm -it -v /home/even/gdal:/src ubuntu:22.04 cd /src mkdir build cd build apt update apt install libproj-dev libjpeg8-dev libjpeg-turbo8-dev cmake g++ cmake .. make -j12 But if I then

[gdal-dev] Linux - bash script - Sentinel 1 processing - dark images

2022-05-07 Thread Stefan Gofferje
Hi there! I'm working on automatically processing Sentinel 1 data into 3 images: VV, VH and VV/VH. The images come out pretty dark though. I tried to mess with the exposure a little like this MINVALUE=$(gdalinfo -mm /tmp/vva.tif | grep "Band 1" -A2 | grep Max= | sed "s/.*Computed Min\/Max=\