public override void OpenFile(string path, FileType fileType) { try { Gdal.AllRegister(); } catch (Exception e) { throw new ApplicationException("GDAL libraries missing!", e); } Gdal.SetConfigOption("NODATA_value", "-9999"); dataset = Gdal.Open(path, Access.GA_ReadOnly); info = new GDAL_Info(dataset); }
public GDALDataSource(Dataset dataset, AreaD worldArea) : base(worldArea) { data = dataset; info = new GDAL_Info(dataset); }