Re: [gdal-dev] gdal 3.11 -dsco vs --co

2025-04-29 Thread Rahkonen Jukka via gdal-dev
Hi, Your syntax with the "gdal" frontend is correct. This command is accepted: gdal vector convert -f MVT --co NAME=foo in.shp out The reason for the error may be in the commas in the value of the TILING_SCHEME. The same error message can be triggered with gdal vector convert -f MVT --co NAME

Re: [gdal-dev] [External] : Re: Build failed with "cannot deduce template arguments" error

2025-04-29 Thread Fengting Chen via gdal-dev
I am using “c++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18.0.6)” which is supposed to support C++17. From: Even Rouault Date: Tuesday, April 29, 2025 at 6:10 PM To: Fengting Chen , gdal-dev@lists.osgeo.org Subject: [External] : Re: [gdal-dev] Build failed with "cannot deduce template arguments" e

[gdal-dev] gdal 3.11 -dsco vs --co

2025-04-29 Thread Richard Greenwood via gdal-dev
In the docs at 'latest' https://gdal.org/en/latest/drivers/vector/mvt.html#dataset-creation-options it seems like -dsco needs to be --co for the new 'gdal' front-end cli but still -dsco for the the old 'ogr2ogr'. Am I correct or am I overlooking something? I am also getting an error with 'gdal vec

Re: [gdal-dev] How can I avoid absolute path to shared libraries in libgdal.so

2025-04-29 Thread Greg Troxel via gdal-dev
"Fox, Shawn D (US) via gdal-dev" writes: > ldd libgdal.so > linux-vdso.so.1 (0x7ffe0e3f7000) > libdl.so.2 => /lib64/libdl.so.2 (0x7feaca6a6000) > libcurl.so.4 => /lib64/libcurl.so.4 (0x7feaca417000) > libproj.so.22 => not found > libexpat.so.1 =

Re: [gdal-dev] Build failed with "cannot deduce template arguments" error

2025-04-29 Thread Even Rouault via gdal-dev
Which compiler and compiler version do you use ? It is likely it is too old and doesn't fully support C++17 Le 29/04/2025 à 23:18, Fengting Chen via gdal-dev a écrit : Hi, I am trying to build GDAL from the master branch, but got the following error: [ 46%] Building CXX object alg/CMakeFil

[gdal-dev] Build failed with "cannot deduce template arguments" error

2025-04-29 Thread Fengting Chen via gdal-dev
Hi, I am trying to build GDAL from the master branch, but got the following error: [ 46%] Building CXX object alg/CMakeFiles/alg.dir/gdal_interpolateatpoint.cpp.o In file included from /scratch/gdal/gdal/alg/gdal_interpolateatpoint.cpp:20: /scratch/gdal/gdal/gcore/gdal_vectorx.h: In member functi

[gdal-dev] How can I avoid absolute path to shared libraries in libgdal.so

2025-04-29 Thread Fox, Shawn D (US) via gdal-dev
Having built GDAL 3.7.0, I'm observing the following output. # output of ldd shows the issue ldd libgdal.so linux-vdso.so.1 (0x7ffe0e3f7000) libdl.so.2 => /lib64/libdl.so.2 (0x7feaca6a6000) libcurl.so.4 => /lib64/libcurl.so.4 (0x7feaca417000) libproj.so