I have been looking at this example to work out how to apply a Gauassian Blur to a GeoTiff:

How to convert GeoTIFF to grayscale and add gaussian blur?

A VRT file is created and this is used in the translate call:

gdal_translate -co TILED=YES shirley_gauss.vrt shirley_gauss.tif

I am using the C# wrapper for the GDAL library and this call:

Gdal.wrapper_GDALTranslate(pngOutputFileName, outputDataset, new GDALTranslateOptions(translateOptions), null, null)

Does not allow a VRT file to be specified in the call.

Does anyone know how I can apply a VRT file to apply a Gaussian Blur in C#?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.