[QGIS-trac] Re: [Quantum GIS] #1929: transparency of 0 value do not
apply to GDAL virtual rasters (vrt)
Quantum GIS
qgis at qgis.org
Wed Dec 2 13:33:26 EST 2009
#1929: transparency of 0 value do not apply to GDAL virtual rasters (vrt)
-----------------------------------------------------+----------------------
Reporter: pcav | Owner: ersts
Type: bug | Status: assigned
Priority: major: does not work as expected | Milestone: Version 1.4.0
Component: Rasters | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: All
Must_fix: No | Status_info: 1
-----------------------------------------------------+----------------------
Comment (by brushtyler):
Replying to [comment:6 brushtyler]:
> This could be a buildvrt bug... I've opened a ticket on GDAL
[http://trac.osgeo.org/gdal/ticket/3254 ticket].
> They can add a new param to set which color is blanc (e.g. -nodata 0) or
resolve this bug in another way.
Hi all,[[BR]]
the GDAL bug was closed as fixed in gdal 1.7.0 (the dev version actually
in trunk)[[BR]]
Below the ticket closing comment:[[BR]]
-------
Enhancement implemented in :
r18146 /trunk/gdal/apps/ (gdal_utilities.dox gdalbuildvrt.cpp):
gdalbuildvrt: add -srcnodata and -vrtnodata options, similar to the ones
of gdalwarp, to set/override/unset the nodata settings at the source level
and the VRTRasterBand level (#3254)
r18147 /trunk/autotest/utilities/test_gdalbuildvrt.py: Add test for
-srcnodata option of gdalbuildvrt (#3254)
--> For your use case, 'gdalbuildvrt -srcnodata 0 out.vrt 250010.tif
250020.tif' should do.
-------
I think that now, if there isn't other related problems, this ticket
should be closed.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1929#comment:7>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list