Setting up your GDAL and OGR Environmental Variables

I recently upgraded to Windows 10, and have been setting up my GIS workspace settings.

Setting up your Windows path environmental variables can easily be done through the command line.

These commands can be run directly in the command line and don’t require a computer restart to take effect. To run the command prompt, simply open up the windows search (Windows Key + S) and search for “cmd”:

Screenshot[3]

Then run the command to add the path.

Update: This post previously stated you needed to set the GDAL_PATH variable, this should have read GDAL_DATA as it does now.

For a 64bit OSGeo4W install:

For a 32bit OSGeo4W install:

Screenshot[6]

Restart your command prompt.

Screenshot[7]

Success.

No more:
‘org2ogr’ is not recognized as an internal or external command, operable program or batch file.

2 thoughts on “Setting up your GDAL and OGR Environmental Variables

  1. Pingback: Setting up your GDAL and OGR Environmental Variables in Windows 10 | Geo-How-To News

  2. Pingback: Misconceptions and Facts: Lies and Truth About the Business of Modeling

Leave a Reply

Your email address will not be published. Required fields are marked *