Python GIS - Introduction and Installation of GDAL and OGR

preview_player
Показать описание
This is the introduction to a new video series and playlist that will demonstrate how to conduct spatial analysis using GDAL and Python. In this video we briefly cover what GDAL is and how to get it installed on your machine so you can follow along with future tutorials.

Рекомендации по теме
Комментарии
Автор

THANK YOU! New python user here (normally work with R) and have been struggling to get gdal installed. This is simple clear and works quickly.

jyotijennewein
Автор

I've been struggling to install gdal with pip on win10 for days! thank you for your great video. it finally worked!

hamedhamed
Автор

Good stuff, I wish this video existed a few years ago when I was first starting out with GDAL with Python.

Franchyze
Автор

great video, it really helped me installing gdal on windows. Anybody still facing installation errors may try removing blank-spaces from the file path or put the path in double quotes to avoid confusion

amersiddiqui
Автор

I successfully installed gdal(Version 3.2.2) using pip as you showed but when i try to import gdal it says no module named gdal please help

sathvikmprao
Автор

Came here from geomondo on fb. Just what I wanted.

quavergonzalez
Автор

Thank you so much!!!! It worked! Ive been struggling with this for hours!

comeinwiththerain
Автор

Great Video. I was stuck with GDAL errors.

mydhe
Автор

I followed this tutorial and the GDAL was installed successfully. But when I'm trying to import gdal
It's showing
Traceback (most recent call last)
File "<stdin>", line 1, in <module>
ModuleNotFoundError : No module named 'gdal'


Please help

soumyadeeproy
Автор

hello, any chance you might know somehow how to install unreleased (development) version of GDAL (the newest one now is 3.1) into Anaconda/Python environment? I need to work with the new raster driver (ISG type) on that version. thank you

ajipboy
Автор

requirement satisfied is displayed but import gdal is not working, DLL files not found error is displaying

aishwaryamore
Автор

What if I wanted to install GDAL 3.x.x? I have installed GDAL through OSGeo4W64, however when I check in QGIS (v.3.10), it says I have the 2.4.1 version installed.
I need the latest GDAL version to be able to work on geopdfs.

davidedimauro
Автор

still gdal wheel not supported error. Although versions are compatible

MuhammadShoaib-spem
Автор

This is useful, working with the wheel and the installation seems to work. It was challenging to get it installed via pip install. However, there are other issues. After installing GDAL, when I try to install 'fiona' its throwing error. Perhaps this is related to some path specification and some follow-up steps are missing from your set of instructions?
Could you install fiona after installing GDAL with `python -m pip install fiona`?
Here is the error:
C:\{PATH}>python -m pip install fiona
Collecting fiona
Using cached Fiona-1.8.13.post1.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: -c 'import sys, setuptools, tokenize; sys.argv[0] = __file__='"'"'C:\\{PATH}\\AppData\\Local\\Temp\\pip-install-vtp2qq_x\\fiona\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base
cwd:
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
C

Is a 3rd way possible?
Step 1) install GDAL on Windows using msi
Step 2) use a Python bind to link

DrPDash
Автор

Do I need to install QGIS to use GDAL in python?

beatriznegreiros