gdal Questions
2
I've been running GDAL through python on anaconda for years with no problem. Today when I tried to import gdal I got this error code:
On Windows, with Python >= 3.8, DLLs are no longer imported...
2
Solved
I am trying to install a Python package via Poetry whose version to install should be determined based on the output (~return value) of a Bash command.
Is it possible doing something (in the pyproj...
Coitus asked 20/12, 2021 at 15:48
12
Solved
I've done this a dozen times before, but something isn't working this time..
Following the docs:
https://docs.djangoproject.com/en/1.11/ref/contrib/gis/install/#windows
I'm trying to set up GeoD...
12
I started to use gdal_csharp dll in my application and read a geotiff file. but it says:
The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception.
it's my code
string fileName = @"/...
5
Solved
Let me start by saying that I have searched for help this problem and gone through the numerous threads that I have found, and none of them have worked, or I wasn't able to understand what they are...
3
Solved
My GDAL is showing strange behaviour when I try to use ".py" functions from the command line:
1. For example, when I run gdalinfo --version, I get the standard response:
GDAL 1.11.3, released 201...
Flexuosity asked 19/2, 2016 at 7:57
4
Solved
After my old macbook died I am transferring across a Django Webapp I'd been building to my new machine (which is a MacBook Pro M1 2021). I am currently in the process of reinstalling the correct pa...
Strang asked 3/1, 2022 at 22:59
4
I am not able to read the shape file. It says no such working directory.
!pip install sentinelsat
!pip install geopandas
!pip install folium
from sentinelsat import SentinelAPI
user = '****'
pas...
Delative asked 26/4, 2020 at 7:2
1
i'm trying to solve this problem for a week now and it seems i did all i could.
this is the error message i'm getting:
Traceback (most recent call last):
File "C:\Users\\anaconda3\envs\pygdal...
Gegenschein asked 12/7, 2022 at 12:42
4
Solution provided below:
Started getting errors when building pygdal on Ubuntu 20.04:
# Command
python3 -m pip install --no-cache-dir pygdal==3.0.4.*
produces the following output
Collecting pygda...
Bartlet asked 9/9, 2021 at 18:53
2
Solved
I have a conda environment with rasterio installed and a whole load of other libraries, including gdal.
When I do:
import rasterio
on jupyter notebook, it loads fine and I can utilise it's meth...
3
Solved
I am trying to figure out a way to use progress bar in gdal.Warp() to show how much of a job is done. For progress bar, I am using Tqdm and gdal.Warp() is used to crop image from remote URL
def ge...
Tedtedd asked 8/11, 2017 at 15:45
3
I installed libtiff successfully in python 2.7 using "pip install libtiff". It successfully installed the libtiff-0.4.0 package.
But when I am importing the package using "import libtiff".I get an ...
Unpractical asked 14/9, 2016 at 5:52
4
Solved
I can install GDAL in Google Colab by running the cell:
%%shell
sudo yum -y update
sudo yum-config-manager --enable epel
sudo yum -y install make automake gcc gcc-c++ libcurl-devel proj-devel geos-...
Cognition asked 8/12, 2021 at 13:10
6
Solved
I'm trying to get a django project up and running, which depends on GDAL library. I'm working on a M1 based mac.
Following the instructions on official Django docs, I've installed the necessary pac...
Maybellemayberry asked 28/7, 2021 at 13:36
4
I am trying to setup Docker and geodjagno. Upon docker-compose up I have this following error:
django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "...
2
I've been having a lot of problems with this install, especially with various unmet dependencies.
these are my system infos:
Linux
Ubuntu 20.04.4 LTS
64-bit
Gnome_Version: 3.36.8
Python
using a ...
Smutty asked 6/7, 2022 at 17:3
10
Solved
Please point out the point that I am missing:
openSUSE 11.3
xx@linux-y3pi:~/Desktop/R> sudo R CMD INSTALL rgdal_0.7-12.tar.gz
root's password:
* installing to library ‘/usr/lib64/R/library’
* ...
Heathenism asked 27/8, 2012 at 11:51
3
Solved
i have a geotiff images that have 3bands.
band1,2 is a actual image values and band3 is a instance angle value.
band1,2 is float32 data type
under code is that i try before.
but it doesn't work...
2
Solved
Can someone help me to understanding what is the problem of rgdal ?
I installed gdal 2 for centos 6 64 bits but i didn't succeed to install rgdal.
I tried to figure out what is the issue but i di...
Loomis asked 23/3, 2018 at 20:50
1
I am trying to install the package in R on a Fedora platform. However, the following error message appears: configure: error: GDALAllRegister not found in libgdal.
I don't know what to do with the ...
1
Solved
I create a fresh environment, install numpy, then install GDAL. GDAL imports successfully and I can open images using gdal.Open(, but I get the ImportError: cannot import name '_gdal_array' from 'o...
9
Solved
I am trying to run a Python script test.py to test the gdal library. The script contains the line:
from osgeo import gdal
At that line I get the traceback:
File "~/test.py", line 9, in <modu...
2
Solved
3
EDIT: PARTIAL SOLUTION
Using gdal_translate in the command line seems to do the trick, even though the Python binding doesn't work.
This worked to crop a GeoTiff removing 300 pixel padding from ...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.