Opened 11 years ago

Last modified 11 years ago

#5070 closed defect

gdalbuildvrt won't respect -srcnodata value for overlapping rasters — at Version 2

Reported by: jaerobbo Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.10.0
Severity: normal Keywords:
Cc:

Description (last modified by jaerobbo)

I've researched and it appears that buildvrt is supposed to be able to resolve overlap areas when no data values are defined for the sources, but I am unable to produce the expected results.

I've tried the following workflow:

  1. Set No data values to -999

gdal_translate -ot float32 -of gtiff -a_nodata -999 in_original.tif out_nodata_defined.tif

  1. Build VRT with specified source no data value

gdalbuildvrt -srcnodata -999 -hidenodata out.vrt out_nodata_defined.tif

Am I doing something wrong, or is this an issue?

Change History (2)

comment:1 by jaerobbo, 11 years ago

Description: modified (diff)

comment:2 by jaerobbo, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.