TransWikia.com

How can I use GDAL installed with QGIS from command line?

Geographic Information Systems Asked by DrJacoby on August 5, 2021

I have QGIS 3.10 and I can run GDAL using OSGeo Shell. I want to be able to use GDAL commands from command line. For now, when I run gdalinfo --version I get message 'gdalinfo' is not recognized as an internal or external command, operable program or batch file.

How can I fix this?

One Answer

You can use the full path

"C:Program FilesQGIS 3.16bin"gdalinfo.exe --version

or just browse to the directory and call the tools

cd "C:Program FilesQGIS 3.16bin"
gdalinfo.exe --version

or put QGIS bin dir in your path.

Answered by JGH on August 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP