Skip to main content

Questions tagged [virtual-raster]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
104 views

Convert Raster to shapefile with gdal translate

I use this code to get a polygon from a rasters (vrt) extend: # 1 processing.run('gdal:translate', {'INPUT': r"path/clip2x.vrt", 'OUTPUT': r"path/translate_mask.vrt&...
MoritzMoreira's user avatar
3 votes
2 answers
301 views

Creating virtual raster as layer to map with PyQGIS

I would like to load a virtual raster as a layer into my map. I have tried changing the data source attribute to 1 (relative), as described here: Loading virtual vector layer in QGIS What do I need to ...
MoritzMoreira's user avatar
1 vote
0 answers
31 views

QGIS - Virtual Raster - Max number of grouped rasters [closed]

I'm facing an issue when I try to use the Virtual Raster process. I'm asking to group 231 Raster, all located in different areas, not always concomitant. The process is well executed, but the result ...
Giene's user avatar
  • 763
5 votes
1 answer
108 views

Browse efficiently through multiple rasters using QGIS

Is there a way to browse through multiple rasters on QGIS efficiently ? I don't know how to do aside from ticking and unticking the boxes for each of them (see picture) and that really gets old ...
vdc's user avatar
  • 309
0 votes
0 answers
315 views

ECW support on QGIS 3.22, GDAL (Mac OS 11.2.3 Big Sur)

I'm having trouble making virtual raster layers of .ecw files. I can load them into QGIS 3.22 but I can't seem to use buildvrt on them. I wonder why since GDAL warp seems to work on these files if I ...
hmnoidk's user avatar
  • 707
2 votes
0 answers
634 views

How do I create a virtual raster in QGIS combining single-band raster layers and a multi-band raster?

I have a raster with 21 bands. I also have 12 other raster layers with a single band each. I want to create a virtual raster combining the multi-band raster and the single-band raster layers, ...
Sytze's user avatar
  • 771
0 votes
1 answer
634 views

gdal.Translate deletes GTiff instead of overwriting?

Something is wrong with the following attempt to add a band to a raster. I have a GTiff in which I stored numerical values from a field of an ESRI Shapefile. The shapefiles have another field which I ...
Manuel Popp's user avatar
1 vote
0 answers
100 views

DGM1, virtual raster error

I want to create a virtual raster with DEM1, existing of 133 tiles (QGIS 3.18.3). It show following processing warning: GDAL command: gdalbuildvrt -resolution average -separate -r nearest -...
user avatar
2 votes
1 answer
5k views

Merge two overlapping rasters and only take values from one raster in the overlapping areas in QGIS

I have two raster files A and B which overlap in certain areas. These rasters should be merged to one while taking the exact values of raster A, and hence overriding/replacing the values from raster B ...
stm's user avatar
  • 61
3 votes
1 answer
763 views

QGIS Using a directory of 6500 raster DSM geotiff files - How to load/manage?

I have a few windows directories that each have many 1000's of Geotiff DSM/DEM files downloaded from LINZ (Land information NZ) These are derived from 1m LiDAR and each file covers a couple km2 I can ...
Melbnz's user avatar
  • 31
1 vote
0 answers
200 views

QGIS Server Not Rendering VRT Layer that is accessing COGS on S3

I have deployed a QGIS server following steps in the user manual on an AWS EC-2 instance. https://docs.qgis.org/3.16/en/docs/server_manual/containerized_deployment.html#docker-stacks I am serving ...
ar-siddiqui's user avatar
  • 1,768
2 votes
2 answers
526 views

How to build Virtual Raster using grouped DEM layers as input with QGIS 3?

I have compiled about 700 DEM tiles (each in its own layer) for some islands. I would like to create a virtual raster for each island. I grouped the DEM layers by the island name in the layer panel. ...
Richard Rasch's user avatar
1 vote
0 answers
47 views

Controlling grids assigned to multiband QGIS Virtual Raster

I see this has been asked 4 years ago but I see no useful answer for me Multiband virtual raster with gdalbuildvrt: Control how bands are sorted I do not understand how to control the RGB ...
user24007's user avatar
  • 159
0 votes
1 answer
338 views

Build virtual Raster Error

enter image description here I am following step by step the online tutorial on QGIS website to learn how to build a virtual raster using the images provided with the tutorial. I am on a Mac with ...
Federica's user avatar
4 votes
1 answer
149 views

Combining overviews for large multiband raster image

I have several large rasters, complete with overviews. I have combined these as separate bands of a multiband virtual raster. However, QGIS performs very slow viewing this vrt. Is there a fast way to ...
benjimin's user avatar
  • 476
1 vote
1 answer
493 views

Better resolution of my raster

if I am merging my raster files or if I am creating a virtual raster, the quality is not as good, as the input rasters on their own. Before: As a virtual raster: Does somebody know any tips or ...
Rahma's user avatar
  • 43
0 votes
1 answer
153 views

Can't join multiple DEMs using QGIS 'Build Virtual Raster' if they span 2 CRS's

I have 20 odd DEMs downloaded from https://search.asf.alaska.edu/ (ALOS PALSAR) Location is the Falkland Islands. Here is an example just adding 2 of the tiles into QGIS which differ in terms of ...
Rossoe's user avatar
  • 353
1 vote
0 answers
621 views

OSError: [Errno 24] Too many open files (gdalbuildvrt)

I tried to build a virtual raster from 2600 GeoTIFF's and got this message: OSError: [Errno 24] Too many open files: [...] gdalbuildvrt -resolution average -r nearest -input_file_list /tmp/...
MartinMap's user avatar
  • 8,338