Getting Setup With GDAL Manually: Difference between revisions
Content deleted Content added
Ellis Symons (talk | contribs) |
Ellis Symons (talk | contribs) No edit summary |
||
Line 23:
<li> Copy all the files from the "<tt>bin\proj7\share</tt>" ("<tt>C:\GDAL\bin\proj7\share</tt>") into the newly created "share" folder
</ol>
===Running the Programs===
The GDAL programs can now be used. Use the ".exe" programs that were copied into "<tt>C:\GDAL\bin</tt>" and not located in the original "apps" folder. As an example:<Br>
<pre>C:\OSGeo4W\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:\GDAL\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:\GDAL\proj7\share
set gdal_translate="C:\GDAL\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]]
}}
|