Re: [gdal-dev] Linking issue in Windows

2025-06-02 Thread Abel Pau via gdal-dev
Daniel, when I want to compile from windows using vcpkg I do: cd d:\Github\gdal <-- whereever you have the gdal code cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug cmake --build build --config Debug and make sure your envi

Re: [gdal-dev] Linking issue in Windows

2025-06-02 Thread Andrew Bell via gdal-dev
Hi Daniel, Symbols that start with "__" are reserved for system libraries. It appears that you're not linking the C++ standard library or are linking with an incompatible version. GDAL requires C++17 support. On Mon, Jun 2, 2025 at 5:25 AM Daniel Perez Rodriguez via gdal-dev < gdal-dev@lists.osg

Re: [gdal-dev] Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-06-02 Thread Javier Jimenez Shaw via gdal-dev
I still get a 404 response. On Mon, 2 Jun 2025, 10:23 Marián Hadri via gdal-dev, < gdal-dev@lists.osgeo.org> wrote: > Hallo, > > I write the same once more, there was a problem with link to my example . > > I installed gdal 3.10.2 with gdal_translate.exe as well. I tried to > translate the file "

Re: [gdal-dev] WG: Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-06-02 Thread Rahkonen Jukka via gdal-dev
Hi, Supplementing my previous answer: If you do not like seeing z values -3.402823e+38 in the output xyz file, you can change them into your favorite value by using gdalwarp instead of gdal_translate. For example if you'd prefer 0 as nodata, run gdalwarp -of XYZ -dstnodata 0 input.tif output.xy

[gdal-dev] Linking issue in Windows

2025-06-02 Thread Daniel Perez Rodriguez via gdal-dev
Good morning everyone. My name is Daniel (first message here) from Spain so I hope I can explain my problem properly. I am working in a C++ project, using gdal in Windows and getting it from vcpkg, using cmake and Visual Studio 2022. >From the last days, after an update of my development machine

Re: [gdal-dev] WG: Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-06-02 Thread Rahkonen Jukka via gdal-dev
Hi, Run: gdalinfo input.tif -stats See among other information: ... Band 1 Block=1905x1 Type=Float32, ColorInterp=Gray Minimum=643.147, Maximum=927.145, Mean=735.006, StdDev=69.669 NoData Value=-3.402823e+38 Metadata: STATISTICS_MINIMUM=643.14666748047 STATISTICS_MAXIMUM=927.1450195

[gdal-dev] Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-06-02 Thread Marián Hadri via gdal-dev
Hallo, I write the same once more, there was a problem with link to my example . I installed gdal 3.10.2 with gdal_translate.exe as well. I tried to translate the file "input.tif" to the file "output.xyz". When I did it with ... gdal_translate.exe -of XYZ "input.tif" "output.xyz", I got the fil

[gdal-dev] WG: Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-06-02 Thread Marián Hadri via gdal-dev
Hallo, excuse me, this is the correct link ... https://d.rib-software.com/iTWO_civil/gdaltmp/input.tif Best regards, Marian Hadri Marián Hadri Developer E-Mail marian.ha...@rib-software.com Telefon +49(711)7873-339 [cid:blue-line_d40935b2-037b-4887-8d74-19a11bd1363f