[osg-users] [vpb] IgnoreData argument

Robert Osfield robert.osfield at gmail.com
Mon Jan 8 07:17:30 PST 2018


HI Saket,

On 8 January 2018 at 12:29, Saket Chawla <isak3t at gmail.com> wrote:
> I want to overlay a combination of textures[TIFF files] over the terrain. However all of them contain some blank data along the edges which overlap with actual data in other files.
>
> So is there a flag/argument to specify the data values to be ignored in the texture files?
>
> Note : I cannot combine the textures using gdal merge as the combined size of the texture would be very high and also they might not be available together at once.

VPB doesn't provide any direct support for setting which values to
ignore, but does check GDAL's GDALRasterBand NoDataValue, not all
image file formats will support a NoDataValue.  You'll need to check
with GDAL to see what is possible.

If it's image data you want to blend together then using RGBA image
data will allow blending between image layers that can effectively
mask out the no data areas.

Robert.


More information about the osg-users mailing list