[gdal-dev] GNU g++-13 and [[clang::fallthrough]]

2023-04-29 Thread Andrew C Aitchison
Ubuntu 23-04 (Lunar) has g++ v13.0.1 (in the universe section, this is not the default g++ compiler). At least as curently shipped, this warns about the line [[clang::fallthrough]]; (partly becuase with the default settings [[fallthrough]]; is now needed to silence warnings where

Re: [gdal-dev] GDAL client certificates: CURLOPT_SSLCERT/curl_easy_setopt missing?

2023-04-29 Thread Even Rouault
Stephan, this should be addressed per https://github.com/OSGeo/gdal/pull/7657. I'd appreciate if you could do some runtime testing of this pull request, as it was only compile tested on my side. There's no option to honor .curlrc, and it doesn't look trivial to add support for that given thi

Re: [gdal-dev] GRIB can't get nodata and cmake can't disable FileGDB

2023-04-29 Thread Even Rouault
Ivan, (I see you've filed an issue for the GRIB nodata issue since.) But I am getting a compilation error, somewhere on ogrsf_frmts/openfilegdb, and I cannot turn off that driver on cmake. The parameter -DGDAL_USE_FILEGDB=OFF seems to work fine. For the OpenFileGDB driver, this should be

Re: [gdal-dev] Ogr2ogr CSV driver not handling correctly line breaks inside columns

2023-04-29 Thread Even Rouault
Moises, as far as I can see with your example, the CSV driver behaves "properly" in reading and writing of field values with line breaks. It follows the "Fields with embedded line breaks must be quoted" rule of https://en.wikipedia.org/wiki/Comma-separated_values $ ogr2ogr out.csv /vsizip/d

Re: [gdal-dev] GNU g++-13 and [[clang::fallthrough]]

2023-04-29 Thread Andrew C Aitchison
On Sat, 29 Apr 2023, Andrew C Aitchison wrote: Ubuntu 23-04 (Lunar) has g++ v13.0.1 (in the universe section, this is not the default g++ compiler). At least as curently shipped, this warns about the line [[clang::fallthrough]]; (partly becuase with the default settings [[fallth

Re: [gdal-dev] GDALOpenShared: warning about "filename" vs "description"

2023-04-29 Thread Even Rouault
Hi Michael, Fixed per https://github.com/OSGeo/gdal/pull/7659 Even Le 24/04/2023 à 05:09, Michael Sumner a écrit : When invoking  info on this vrt connection gdalinfo "vrt://https://herbariumnsw-pds.s3-ap-southeast-2.amazonaws.com/images/NSW041500.jp2?a_ullr=0,9661,7180,0"; I see this w

Re: [gdal-dev] GNU g++-13 and [[clang::fallthrough]]

2023-04-29 Thread Even Rouault
Andrew, fixed per https://github.com/OSGeo/gdal/pull/7660 . Your patch proposal didn't work with older gcc versions that don't like the "::" in _has_cpp_attribute(clang::fallthrough). I've reworked & simplified it. I've verified it silences the warning with 23.04 + gcc 13 Even Le 29/04/2023

Re: [gdal-dev] JPEG2000 with COG like structure

2023-04-29 Thread Tobby Moalem
Hi, Thanks for the responses. I was checking COG and its different compression, and I found that JPEG2000 has few advantages over COG. One major advantage is its resampling method for the overview levels, which I found superior to all the other resampling options available at the COG driver. On

Re: [gdal-dev] GDALOpenShared: warning about "filename" vs "description"

2023-04-29 Thread Michael Sumner
Thank you. Cheers, Mike On Sun, Apr 30, 2023 at 1:07 AM Even Rouault wrote: > Hi Michael, > > Fixed per https://github.com/OSGeo/gdal/pull/7659 > > Even > Le 24/04/2023 à 05:09, Michael Sumner a écrit : > > > When invoking info on this vrt connection > > gdalinfo "vrt:// > https://herbariumn

[gdal-dev] +proj=wintri +over option works weel in gdalwarp but not in ogr2ogr

2023-04-29 Thread Joaquim Manuel Freire Luís via gdal-dev
Even, this is a kind of continuation of the subject that I brought up in https://github.com/OSGeo/gdal/issues/7644 The file size limitation of attachments doesn't help to make this case easily reproducible, but the story is, I can make that rectangular map using gdalwarp and ogr2ogr that use th