Questions tagged [gdal]
GDAL (Geospatial Data Abstraction Library) is a library for reading and writing raster geospatial data formats.
gdal
2,240
questions
0
votes
0
answers
10
views
Using GDALWarp to combine and crop HGT files
I'm trying to take a bounding box, and crop only that section from whatever source amount of HGT files are needed. I see it should be possible from this. Using GDALWarp with the following results in ...
0
votes
0
answers
16
views
GDAL Exception when using in AutoCAD .Net Plugin
I have installed GDAL and GDAL.Native v3.9.1 packages. Console applications work well, but when I use it in AutoCAD Class Library project, it always raises the exception:
The type initializer for '...
0
votes
0
answers
22
views
Polygon area not being the same each time it's calculated
I have a shapefile with multiple polygons. I'm calculating the size of all the polygons and then summing them to get the total area. This shapefile is generated in my code and is the intersection of a ...
0
votes
1
answer
19
views
Clipping not working gdal python in a for loop
I have a block of code that work individually works but when I put it in my main block of code doesn't work anymore and i can't figure out why.
My goal is to clip a shapefile with another shapefile ...
0
votes
0
answers
14
views
can gdal.Driver handle S3 file paths?
A project that I am working on requires me to access geometries stored in a .gdb folder with OGR/GDAL as geopandas is currently not capable of accessing M values associated with those geometries.
I've ...
-1
votes
0
answers
26
views
How to Generate an Orthomosaic Map from Multi-Spectral Drone Captured Images?
I have a set of multi-spectral images captured by a drone stored in folder, using file_name we can derive its band and index, for example:
- ('IMG_0298_1.tif', 'Red', 1)
- ('IMG_0298_2.tif', 'Green', ...
0
votes
0
answers
23
views
How to install gdal-3.8.2 on Ubuntu 20.04? [closed]
I have a server with Ubuntu 20.04 that I cannot upgrade. The latest version of gdal is installed on it (3.4.3), but I need functionalities from a newer version 3.8.2. Because of the many dependencies ...
0
votes
0
answers
19
views
load gml with gdal org driver (with driver options) in c#
I try to open a wfs gml file with gdal and I want to use the options "DOWNLOAD_SCHEMA" and "GML_SKIP_RESOLVE_ELEMS".
But when I use the GML Driver, I couldn't find a way to add ...
0
votes
0
answers
11
views
gdalwarp ERROR 1: Invalid pixel size for backmap
I used following command to generate geotiff file for VIIRS NetCDF file:
./gdalwarp -geoloc -t_srs epsg:4326 -tr 0.0035 0.0035 -r near -te -70.18 -7.64 -43.96 30.91 dat.vrt i4b.tif
but failed with ...
-1
votes
0
answers
41
views
Render large .asc files, with variable colormap
Suppose I have a large .asc file (matrix representing elevation, water depth, ....), in my backend and want to visualize it on the client (with openlayers). The requirements are:
Smooth rendering
...
0
votes
0
answers
15
views
Transforming an (lat,lon) extent in GOES-16 projection with Python/cartopy/GDAL?
I have a WGS84 shapefile, which I'm trying to get its extent, firstly with its projection:
gdf = gpd.read_file("/content/buffer.shp")
bounds = row.geometry.bounds
extent = [bounds[0], ...
1
vote
0
answers
11
views
how to reslove unsatisfyLinkError for libgdal.so file in 64-bit android
I am developing an Android app that uses the libgdal.so library. When I run the app I get the error like this
java.lang.UnsatisfiedLinkError: dlopen failed:
"/data/app/~~fEMejdDPZpV3FZzivEAV9Q==/...
0
votes
1
answer
85
views
Labelling contour lines with OGR_STYLE
I'm trying to add labels to DEM contour lines.
I'm working with GDAL 3.6.2. , which I installed using Anaconda . I have some DEM data from USGS which I wrote as a contour map to a KML file using:
...
-1
votes
0
answers
24
views
how to convert KML file into shape file using GDAL (ogr2ogr) in android studio java and how to implement in android studio java
I need to Convert KML file Into Shape file using GDAL ogr2ogr library how to do the conversion from KML file to Shape file in android studio java
I found out about GDAL ogr2ogr that has Java bindings, ...
0
votes
1
answer
26
views
Selecting GDAL driver for writing KML file from TIFF
I have some DEM data from USGS which I'm trying to write as a contour map to a KML file. I'm working with GDAL 3.4.1. , which I installed using Anaconda
$ gdal_contour Downloads/...