Skip to main content

Questions tagged [gdalbuildvrt]

The GDAL command to build a VRT (Virtual Dataset).

0 votes
1 answer
39 views

Stripes in map are missing after gdalwarp and gdalbuildvrt

I have a problem with some GeoTIFF:s that are in EPSG:3006 and I need them in EPSG:3857. The problem is that after gdalwarp, and gdalbuildvrt I get transparent stripes in the vrt map This is one of ...
Mårten Swärd's user avatar
1 vote
0 answers
55 views

Creating Orthomosaic with GDAL

Platform: Windows 11 1. Aim trying to achieve: I have some very high quality multispectral data (drone multispectral imagery), from which I am trying to create an orthomosaic. My multispectral data ...
DevM's user avatar
  • 11
2 votes
1 answer
172 views

How to estimate amount of disk space required for gdal.Translate?

I've got a raster dataset (>10000 tiles) I want to merge into one single file (mosaic). For this purpose, I'm using a 2-step algo: create a .VRT file with gdal.BuildVRT (no options) create a .TIFF ...
druid's user avatar
  • 63
1 vote
0 answers
52 views

Cropping VRT with Shapefile to create new VRT with no dependecy from input

I'm new to work with gdal and I'm trying to crop a VRT-File with a shapefile to create a new VRT-File that is independent from the input. I use gdalbuildvrt [...] to create the base VRT-File from ...
Martin Reger's user avatar
1 vote
0 answers
63 views

VRT File with zipped files no longer working in QGIS 3.32.2

I created a .vrt of a number of a number of .tif files, each in a separate zip file, using gdalbuilvrt with the following command (in powershell for those wondering about the "&" at the ...
George of all trades's user avatar
0 votes
2 answers
74 views

Get footprint of clipped 4-band VRT with nodata as polygon in QGIS

For a 1 band image, I use processing.run("gdal:cliprasterbymasklayer", {...,'NODATA':0}) processing.run('gdal:translate',{...,'EXTRA': '-b mask'}) processing.run('gdal:translate',{..., '...
MoritzMoreira's user avatar
0 votes
1 answer
73 views

GDAL BuildVRT last image in list does not appear

The following code does not put the last file in the list on top, as it says in the description of the doc: "If there is some amount of spatial overlapping between files, the order of files ...
MoritzMoreira's user avatar
1 vote
1 answer
1k views

How to merge overlapping raster data sets in GDAL for Python to select maximum value at each pixel

I am trying to merge a variable number of geotiffs into a single, clipped output geotiff, using GDAL 's Python bindings (or via command line). Requirements: there will be 2 to N input files each time ...
bphi's user avatar
  • 111
2 votes
2 answers
942 views

gdalbuildvrt does not support positive NS resolution

I need to convert a bunch of xyz tiles in a folder into a single GeoTIFF file using GDAL on Ubuntu 22.04.1 (CLI). I first tried to use gdal_translate -if XYZ -of GTIFF *.xyz test.tif on a bunch of ...
swiss_knight's user avatar
  • 10.5k
1 vote
1 answer
494 views

Any way to merge tifs with overviewsm or overvies alone

I have a large dataset of tif images with external overviews. Is there any way to merge these images to one bigtiff including the overviews? Using vrt and gdal_translate doesn't seem to be working. ...
jfp's user avatar
  • 51
0 votes
1 answer
613 views

Adding data to VRT file

I'm using a gdalbuildvrt command to build a VRT file from TIFF files (using the -separate option). It's a very time-consuming process once I have thousand of images. I would like to add more dates ...
Julio's user avatar
  • 1
1 vote
0 answers
32 views

Tile GeoTIFF images in locations far from each other in one layer

How to tile two aerial TIFF images from two cities in one layer? I understand that first, I should create a virtual layer (vrt) and then tile it after reprojection. However, gdal2tile creates too many ...
Arash Archer's user avatar
0 votes
1 answer
189 views

Merging .tif files via gdalbuildvrt not working

I have a piece of code in R that I have used for a while now to transform .xyz files to .tif and then merge all those .tif files into one big .tif. It has worked well when I last used it 2 years ago, ...
Bianca Piper's user avatar
1 vote
0 answers
100 views

Reading a VRT that composes multiple WMTS sources gives "IReadBlock failed" errors

I'm trying to combine several WMTS layers into a single VRT image. My goal is to have a single image with all the WMTS rasters mosaic'ed together. The input layers overlap in some places but for the ...
jzxu's user avatar
  • 11
1 vote
0 answers
791 views

Build VRT to merge overlapping rasters always takes max values?

I'm attempting to merge two overlapping rasters from the same source with the same resolution. I would like the overlapping pixels to take the average value of the two overlapping pixels. When I ...
hmnoidk's user avatar
  • 707

15 30 50 per page
1
2 3 4 5
7