23 questions
1
vote
1
answer
64
views
Hard Crash/Fault when running GDAL operations Synchronously in PyQt5 Main Thread
I am experiencing a hard crash (the entire process terminates abruptly) whenever I execute GDAL translation or warping operations (gdal.Translate or gdal.Warp) synchronously in the main GUI thread of ...
0
votes
0
answers
37
views
Chaining together GDAL functions
I am trying to read three single band images and combine them in one 3 band image using gdal/python.
I have found a working solution but it doesn't seem optimal :
from osgeo import gdal
import numpy ...
1
vote
1
answer
95
views
GDAL Installation Issues on Anaconda (gdalinfo.exe Entry Point Not Found Error)
I’m struggling to get GDAL working in my Anaconda environment on Windows. Despite multiple attempts, gdalinfo --version consistently returns an entry point error, preventing GDAL from functioning. I'm ...
1
vote
0
answers
345
views
Specifying version of GDAL dependency with Poetry
My Python project uses Poetry for dependency management. It requires the GDAL package, which (on Linux) requires that libgdal-dev is installed on the system. Moreover, the version of the Python ...
0
votes
1
answer
812
views
Import error in conda environment for GDAL
I am trying to install GDAL==2.2.2 in a conda environment. But I get the following error for some reason:
from osgeo import gdal
Traceback (most recent call last):
File "<stdin>", ...
1
vote
0
answers
812
views
Lambda Layer for GDAL
I am trying to use the GDAL as a lambda layer in my AWS environment. But I am getting this error response:
"errorMessage": "Unable to import module 'lambda_function': cannot import name ...
0
votes
1
answer
291
views
How to query the highest altitude within an area of interest in a DTED?
I have a rectangular area of interest, and each vertex of this rectangle is defined by a pair of coordinates (latitude, longitude).
Parsing a DTED, how could I find the highest altitude within this ...
0
votes
1
answer
211
views
python gdal not processing grib file properly on CENTOS linux
I am trying to use python gdal to process a grib2 file into a geotiff file based on the following example:
https://geoexamples.com/d3-raster-tools-docs/code_samples/vardah.html
based on this I have ...
0
votes
1
answer
1k
views
Python GDAL cannot find app GDAL on docker image
I'm trying to build an application into a docker container that uses the OSGEO/GDAL libraries in Python, which are wrappers around the GDAL program. The GDAL program appears to install ok (at least ...
0
votes
1
answer
2k
views
Hot to write an In-Memory GDAL Dataset to disk with python
I'm trying to write an IN-Memory Dataset to a GeoTiff in Disk with gdal for python
gd_driver = gdal.GetDriverByName("MEM")
gd_raster = gd_driver.Create('pippo', src_height, src_width, ...
0
votes
1
answer
147
views
Discrepancy between `conda list` and importable python packages / libraries
Edited:
Issue:
I am experiencing a discrepancy between what Anaconda says is installed and what can actually be imported using Python.
I have installed in a virtual anaconda environment (gis) ...
1
vote
1
answer
555
views
How to install GDAL Python Bindings for Postgres.app
I installed the latest Postgre.app version Version 2.5.6 (139) Universal version for my new MacBook Pro M1. After setting up the CLI tools, I am able to access all gdal binaries that come bundled like ...