Hi,

Maybe the right question is why your build yielded a non-working CLI. If you 
want to test the new gdal CLI tools meanwhile, you can try conda. However, when 
I just tried to install GDAL on my Windows machine with
conda install -c conda-forge gdal
it does not work due to missing "MSVCP140D.dll"

I think that the "D" there stands for "debug". Does it mean that the conda 
build is done in a wrong way or what?

-Jukka Rahkonen-






________________________________________
Lähettäjä: gdal-dev <gdal-dev-boun...@lists.osgeo.org> käyttäjän Scott via 
gdal-dev <gdal-dev@lists.osgeo.org> puolesta
Lähetetty: Keskiviikko 4. kesäkuuta 2025 8.00
Vastaanottaja: gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org>
Aihe: [gdal-dev] gdal CLI issues


GDAL 3.11.0 built from source. Debian 12, bash version: 5.2.15(1)-release:

For every gdal cli command I use, it ends with this message:

Unexpected exception: std::get: wrong index for variant

Also, I cannot get --format=json to work with any vector format. It
works with raster. It's also the default and doesn't work when omitted.
Here are some commands I've been using that DON'T work:

gdal info --format=json -i file.gpkg
gdal vector info --format=json -i file.gpkg
gdal info --format=json --input=file.fgb
gdal vector info --format=json --input=file.fgb

If I change the format to 'text' or use 'raster' with a raster file, it
works fine. ogrinfo works fine also:

ogrinfo -json file.gpkg


Thank you!!!
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to