2,240 questions
2
votes
0
answers
84
views
gdal module not found even when configured in conda env
I have created a conda env and configured it in pycharm. I have installed all the libraries I need with conda command, and can also see them in output of 'conda list' as well as gdalinfo.
gdalinfo --...
0
votes
0
answers
18
views
How to use GDAL in C++ in MacOS M1? [duplicate]
I have a small C++ file like below
#include <iostream>
#include <string>
#include <sstream>
#include "/opt/homebrew/Cellar/gdal/3.11.5/include/gdal_priv.h"
// #include &...
0
votes
0
answers
58
views
Nuget package "GDAL" - Unable to load DLL 'gdal_wrap' when in an addin
I have a "console" application where I installed the Nuget package "GDAL" (and also GDAL.Native).
Besides the exe file, this application also generates a dll that can be loaded as ...
0
votes
0
answers
40
views
gdal2tiles: alpha value flattened
I have a tif image(RGBA) with following stats for alpha channel:
Band 4 Block=829x2 Type=Byte, ColorInterp=Alpha
Min=1.000 Max=255.000
Minimum=1.000, Maximum=255.000, Mean=202.508, StdDev=46.463
...
1
vote
1
answer
63
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 ...
3
votes
1
answer
77
views
Compilation error for 'terra' in Rstudio v 4.1.1
I am hoping to install the R-INLA package (https://www.r-inla.org/what-is-inla) which requires the package terra. I need to install the source version of terra to use the INLA package (the binary ...
0
votes
0
answers
46
views
raster image with missing no-data information rendering with no-data parts in qgis
I have a raster image. I run 'gdalinfo -stats' command for it, and I get:
Band 1 Block=256x256 Type=Float32, ColorInterp=Gray
Description = NDVI
Min=-0.768 Max=0.859
Minimum=-0.768, Maximum=0....
2
votes
0
answers
61
views
How to get rid of no-data pixels in tif,png
I have a gis image file in tif format which I convert to png based tiles using gdal.
gdalinfo command for tif file shows:
Band 1 Block=1652x2 Type=Byte, ColorInterp=Gray
Min=1.000 Max=255.000
...
1
vote
1
answer
56
views
OGRCoordinateTransformation.Transform() gives wrong coordinates
I'm trying to do some local to global (EPSG:3042 to EPSG:4326) transformations in a ROS2 c++ script using GDAL.
OGRCoordinateTransformation *Transformation;
OGRSpatialReference poLocal, poGlobal;
...
1
vote
1
answer
95
views
Python gdal open layer from bytes
I need to perform a conversion from a FlatGeoBuf file that I read as bytes from an http request to a GeoJSON file.
I know that I could save the .fgb on disk, open it with ogr, and then I have a ...
0
votes
1
answer
91
views
Implementation of MultiPolygonZMField in GeoDjango/django
I have an .shp file and the ogrinfo resulted as follow
# ogrinfo -so AnalysisV1.shp AnalysisV1
INFO: Open of `AnalysisV1.shp'
using driver `ESRI Shapefile' successful.
Layer name: AnalysisV1
...
2
votes
1
answer
83
views
gdal2tiles.py hangs when run in Conda Docker environment
I'm running a Python script inside a Conda-based Docker container that processes geospatial data. The script runs a two step GDAL workflow, it uses gdaldem colorrelief to create a colorized GeoTIFF, ...
1
vote
0
answers
129
views
Qgis read errors for geotiffs with pyramids
I am working with geophysical data with a lot of large ~Gb geotiff rasters, wither adjacent to each other from different survey areas or overlaid from different sensor systems.
To try to help ...
1
vote
0
answers
39
views
Including Kakadu JPEG2000 Drivers in GDAL3.js
I have downloaded and successfully built the GDAL3.js project, but it does not include any drivers for JPEG2000 (such as Kakadu, or Open JPEG).
I have in the past successfully built the standard GDAL3 ...
0
votes
0
answers
11
views
can gdalattachpct access rasters stored in a GDB?
I've got data from the swiss map vector dataset stored in a GDB. other than the name suggests, there are also rasters in that dataset IN the GDB. The vector processing works fine, but I'm having ...