Monday 10 October 2016

Installing GDAL with Python on windows?


Can anyone explain how to install GDAL/OGR with Python on Windows?


I have Windows Vista and I have tried following the information on the website and it does not seem to bind the exe files for me.


Can someone describe the process, including links to the files/folders I will need?


I have now tried to run the gdal setup with minGW, but this has also failed:


GDAL_FAIL



Answer



Unless you have good reasons not to, I'd definitely recommend starting with the OSGeo4W installer, which can install multiple different versions of GDAL and their relevant Python bindings. It works great and dramatically simplifies the Windows deployment story. Specifically, you'll want to install pkg-gdal-python, which is within 'Libs' in the installer tree.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...