[gdal-dev] how to create just the msk file from a rgba vrt file

Brian Case rush at winkey.org
Thu Feb 6 13:51:06 PST 2014


Duarte


gdaltranslate -of outfrmt -b 1 -b 2 -b 3 -mask 4 infile outfile 

brian

you can output to vrt's
just dont try to mosaic masked or aphad files with vrts

brian

On Thu, 2014-02-06 at 13:20 +0000, Duarte Carreira wrote:
> Hi there.
> 
>  
> 
> Continuing with trying to cut processing times, I am trying to get a
> msk file from a vrt mosaic, without converting the entire vrt to tif
> just to get the msk file.
> 
>  
> 
> In other words, how can we create a msk file from the alpha band
> without rewriting the whole image?
> 
>  
> 
> Thanks again.
> 
> Duarte
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
> Duarte Carreira
> Diretor | Dep. Informação Geográfica e Cartografia
> 
> 
> www.edia.pt
> 
> www.alqueva.com.pt
> Tel. +351 284315100
> 
> 
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list