The Open Source Geospatial Foundation (OSGeo) is a not-for-profit organization whose mission is to foster global adoption of free and open geospatial technology by being an inclusive software foundation devoted to an open philosophy and participatory community driven development.
Questions tagged [osgeo]
136 questions
3
votes
7 answers
Why is installing PostGIS 3 on RHEL 8 / CentOS 8 impossible?
I am attempting to install the latest PostGIS 3.0.x on CentOS 8, with no luck.
I don't think anyone is running PostGIS on RHEL 8 or CentOS 8, I can't understand why not. It does not seem possible to install.
I have successfully installed Postgres…

user10664542
- 1,106
- 1
- 23
- 43
3
votes
0 answers
How upgrade proj to 6.1 in OSGeo4W?
I wish to use the python library keplergl.
This library use the library proj
How to reported on proj site home, to install proj on Windows i must use OSGeo4W.
but there is a problem, keplergl requirs proj 6.1:
ERROR: Minimum supported proj version…

Genny Belardi
- 31
- 1
3
votes
0 answers
Incompatible library version when importing GDAL on macOS
I am trying to install import a gdal library.
from osgeo import ogr
but I get the following error
ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/osgeo/_gdal.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libtiff.5.dylib
…

emax
- 6,965
- 19
- 74
- 141
3
votes
1 answer
Error on libcurl.dll when using GDAL of OSGeo4W in Django
I'm trying to install GeoDjango in my Django project and got weird errors with GDAL.
Following Django documentation, I installed GDAL, GEOS, PROJ using OSGeo4W64, for specific, these are packages I selected to install on OSGeo4W64 setup:
gdal…

phuctm97
- 136
- 1
- 9
3
votes
1 answer
Display a georeferenced DEM surface in 3D matplotlib
I want to use a DEM file to generate a simulated terrain surface using matplotlib. But I do not know how to georeference the raster coordinates to a given CRS. Nor do I know how to express the georeferenced raster in a format suitable for use in a…

EricVonB
- 238
- 3
- 11
3
votes
0 answers
can't get pyinstaller hooks to work with gdal
I have a python script which I would like to package with pyinstaller. It uses osgeo.ogr and osgeo.osr. Using the basic build command (python pyinstaller.py --onefile c:\path\to\my\file.py) it creates the spec file and the exe. When I run the exe, I…

rudivonstaden
- 7,675
- 5
- 26
- 41
2
votes
0 answers
GDAL and Fiona conflicting versions but downgrading Fiona leads to a legacy-install-failure error
This question is similar to the questions
Installing fiona: Must the gdal version be compatible with fiona? and
ImportError: the 'read_file' function requires the 'fiona' package, but it is not installed or does not import correctly. Importing fiona…

3orange1red
- 68
- 5
2
votes
0 answers
Problems with GDAL, Libspatialite, Rasterio and Sumo (ImportError, Symbol _GEOSArea not found, Referencing from libspatialite.7.dylib)
I'm new to using gdal/libspatialite/rasterio/sumo and all the family of library and packages that is related to geographical, time and space. But I was just wondering what's this error here? Does anyone have experience with this error before? Have…

M. Fire
- 117
- 2
- 6
2
votes
1 answer
How do I build GDAL with OpenCL against a custom CUDA installation?
I am trying to build GDAL against OpenCL to get GPU accelerated raster operations, depending on Cuda. I managed to get ./configure to complete and start compiling with make. However, when compiling gdalinfo, the compilation fails because it can't…

Arthur
- 193
- 1
- 9
2
votes
1 answer
Translate .ecw to .tif with GDAL from OSGeo in Python
I have about 250 .ecw files I want to transform to .tif or .png or .jpg using GDAL and Python. This is my code:
from osgeo import gdal
inputfile =…

s74559
- 21
- 4
2
votes
2 answers
Find pixel coordinates from lat/long point in .geotiff using python and gdal
I have (lat,long) coordinate describing the position of a point in a .geotiff image.
I wish to find the equivalent pixel coordinates of the lat,long ones inside the image.
I succeded using gdaltransform from the command line with the following…

drheinrich940
- 143
- 1
- 13
2
votes
0 answers
Function not found during import that is certainly present in pygeotools
A library I'm using called pygeotools is throwing a gdal error in running one of the functions. I can't figure out if the issue is on my end, or in the package itself.
In code below file_path is the path to a Geotif file. Any file will do.
…

EHB
- 1,127
- 3
- 13
- 24
2
votes
1 answer
Using Python to Convert a Shapefile to Geotiff
I have a .shp file and I would like to convert it into a GEOTIFF. My shape file consists of a large polygon with many polygons inside. I am using the following code, but the output TIF consists of only the large polygon.
from osgeo import ogr,…

Remote Senser
- 45
- 1
- 3
2
votes
1 answer
Segmentation fault returning OGR Layer object from function in Python
I have a simple programme that processes points from a Geopackage layer. On a first attempt I encapsulated file access into a function:
from osgeo import ogr
pointsFile = "points.gpkg"
def getPoints():
driver = ogr.GetDriverByName("GPKG")
…

Luís de Sousa
- 5,765
- 11
- 49
- 86
2
votes
0 answers
facing this error while importing gdal-->>DLL Load Failed: The Specified Module Could Not Be Found
I'm new to python and I am getting the
"ImportError: DLL load failed: The specified module could not be
found."
when importing the module " gdal ".
I tried different ways to get rid of it and come up with something but none of them worked…

Sabrina Boodaghian
- 21
- 4