Getting Setup With GDAL Manually

From Tuflow
Revision as of 02:08, 12 April 2022 by Ellis Symons (talk | contribs)
Jump to navigation Jump to search

This page describes how to download and install the GDAL programs manually.

Download

The pre-compiled GDAL programs and other binaries can be downloaded from the following location:
https://www.gisinternals.com/release.php

Gdal installation first download page.PNG
The page lists many download links:

  • Users should choose x64 Arch (architecture) if they are using a x64 bit operating system
  • The "MSVC" column is the compiler version. It generally doesn't matter except if you are trying to replicate a previously run GDAL Program results exactly, then you should use the compiler and GDAL version used to produce those results. For format conversion, generally the compiler won't have any affect.


On the next page users should select "Compiled binaries in a single.zip package"
Gdal installation second download page.PNG

Installation

There is no formal installation process required. The below steps are recommended as it will make running the programs a lot easier without needing to setup custom environment variables:

  1. Unzip the downloaded file into a location of your choice. For the examples below, it will be assumed that they were unzipped to "C:\GDAL".
  2. Navigate to the following directory in the unzipped directory "bin\gdal\apps<\tt>". Following our chosen directory from step 1 this is "C:\GDAL\bin\apps".
  3. Copy all the files in the "app" directory into the "bin" directory ("C:\GDAL\bin")
  4. Create a new folder called "share" underneath the main directory, above the "bin" folder ("C:\GDAL\share")
  5. Create a new folder called "proj" underneath the new "share" folder ("C:\GDAL\share\proj")
  6. Copy all the files from the "bin\proj7\share" into the newly created "share folder