Skip to main content

Questions tagged [gdal]

GDAL (Geospatial Data Abstraction Library) is an open source translator library for raster and vector geospatial data formats.

0 votes
0 answers
10 views

Add Scale and Offset to VRT from python

I'm using the python GDAL package to build a VRT containing multiple bands. These bands might have a scale and offset to be applied. Is there any way to add these parameters to the VRT when creating ...
Guillermo Moreno Castaño's user avatar
0 votes
0 answers
24 views

GDAL with ECW support on Ubuntu

I followed different tutorials online to install GDAL with ECW support on Ubuntu 22.04.4, but none worked for me. Most tutorials use ECW SDK 5.4 from Hexagon but only 5.5 is available now on their ...
slaicha's user avatar
1 vote
0 answers
24 views

GDAL - From jp2 image with rpc file to Orthophoto geotiff and keep the image rotation

We are trying to convert a jp2 image with rpc to orthoPhoto geo tiff. We do the following process. The problem is that in the ortho.tiff file the image don't preserve it's rotation angle from the jp2 ...
Zlex's user avatar
  • 11
0 votes
0 answers
26 views

MODIStsp R package: unable to download land cover data

I am trying to download land cover data using the MODIStsp R package without using the GUI, using the following code: library(remotes) remotes::install_github( "ropensci/MODIStsp" ) ...
Saïd Maanan's user avatar
0 votes
0 answers
29 views

QGIS/GDAL warp(reproject) throws 'ERROR 5: dfMax should be strictly greater than dfMin' when run in Python script

I have ~ 150 .xyz-files (DEMs) which I try to reproject. When I reproject them within QGIS via raster -- > warp everything works fine. First I tried the batch processing option with warp(reproject)...
i.i.k.'s user avatar
  • 1,679
0 votes
1 answer
27 views

Working with COG in GDAL

I have worked with GDAL previously and USGS 1/9th arc second data many years ago before I became severely ill and had to give it up. I am now looking at resurrecting what I was doing. The problem is ...
FalloutBoy's user avatar
2 votes
1 answer
45 views

Splitting SHP file based on property starting with an underscore

I found a rather annoying "feature", when trying to split a SHP file based on values of a property, which has a name starting with and underscore (like _property). The problem occurred when ...
pawel_kw's user avatar
0 votes
0 answers
55 views

Image tiling: resolution, quality & downsampling [closed]

I would like to understand the process & goals of preparing high resolution images for displaying on the map preserving quality and maximizing performance. Lets say I have an original image (tiff) ...
tlzg's user avatar
  • 151
1 vote
1 answer
72 views

"Latitude Grid Not Spaced Evenly" warning from NCEP-NCAR reanalysis 2m Air Temp raster

I am using air temperature data from the NCEP-NCAR reanalysis along with a country shape file to calculate mean air temperature by country. The NCEP-NCAR project has various air temperature rasters ...
hayfreed's user avatar
  • 123
0 votes
0 answers
25 views

Add transparency to raster bands where did not exist before

My original radar image is a tiff image with one single band. Metadata:AREA_OR_POINT=Area Image Structure Metadata: COMPRESSION=DEFLATE INTERLEAVE=BAND Corner Coordinates: Upper Left ( ...
Cybergei's user avatar
0 votes
0 answers
15 views

Issue with Opening Sentinel-1 Product in SNAP: GDAL Data Type Error

I am encountering an error when trying to open a Sentinel-1 product in SNAP (Sentinel Application Platform). The error message is as follows: I am looking for guidance on how to resolve this issue. ...
DMAGAS SENAVIRATHNA's user avatar
0 votes
1 answer
30 views

Why does GeoServer convert negative values in an "8-bit signed" type raster to positive numbers?

I have a single-band 8-bit signed dataset created in ArcGIS Pro, and the raster information is as follows: When I load the data into QGIS, issues arise with the negative value areas at small scales, ...
苏云明's user avatar
0 votes
1 answer
45 views

How to use the gdal_edit tool from GDAL installed within Anaconda?

I intend to modify the color interpretation of raster bands using the gdal_edit tool(https://gdal.org/programs/gdal_edit.html#gdal-edit), and I have found relevant commands online to accomplish this ...
苏云明's user avatar
1 vote
0 answers
23 views

How to clip a hole with ogr2ogr? [duplicate]

ogr2ogr has a rich set of clip options, e.g., -clipsrc [<xmin> <ymin> <xmax> <ymax>]| WKT|<datasource>|spat_extent But how can I clip the same sized hole instead?
Dan Jacobson's user avatar
0 votes
0 answers
30 views

"Floating point exception" with gdal.AutoCreateWarpedVRT and GDAL 4.3.1

My application uses GDAL 3.4.1 and proj 8.2.1 with the Python bindings and I'm using gdal.AutoCreateWarpedVRT to reproject a Geodetic (epsg:4326) to Mercator (epsg:3857) dataset. Sometimes, but not ...
Jason Beverage's user avatar

15 30 50 per page