Marciolegal wrote:
I found the solution here : https://dotspatial.codeplex.com/discussions/586346 . Had to create a GdalRasterProvider first and use its Open methodHow did you refrenced gdal extention?It has a folder with a lot of dll fileslet gdal= new DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider() let myraster = gdal.Open(@"D:\temp\SH-21-X-A.tif"); map.Layers.Add(myraster) map.Refresh()