View source for Getting Setup With GDAL Using QGIS Installation
←
Getting Setup With GDAL Using QGIS Installation
Jump to navigation
Jump to search
If you have QGIS installed, you will also have GDAL installed. The GDAL programs will be located within the QGIS installation directory, usually within the "bin" folder. As an example:<br> <pre>C:\Program Files\QGIS 3.24.1\bin</pre> The GDAL programs should be ready to use as they are. For example the following batch file will use "gdal_translate.exe":<br> <pre> set gdal_translate="C:\Program Files\QGIS 3.24.1\bin\gdal_translate.exe" %gdal_translate% <conversion_commands> </pre> However if you receive errors similar to "<tt>PROJ: proj_create_from_database: Cannot find proj.db</tt>" you should add this environment variable to the top of the batch file ('''Note:''' do not use quotes "" in path):<Br> <pre> set PROJ_LIB=C:\Program Files\QGIS 3.24.1\share\proj set gdal_translate="C:\Program Files\QGIS 3.24.1\bin\gdal_translate.exe" %gdal_translate% <conversion_commands> </pre> <br> {{Tips Navigation |uplink=[[GDAL_Tips_and_Tricks#Getting_Started| Back to GDAL Tips and Tricks]] }}
Template used on this page:
Template:Tips Navigation
(
view source
)
Return to
Getting Setup With GDAL Using QGIS Installation
.
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
English
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information