public static void WriteIntBlock(OSGeo.GDAL.Band rasterBand, BandBlock <int> block) { rasterBand.WriteRaster(block.XOffset, block.YOffset, block.UsedPortionXSize, block.UsedPortionYSize, block.Buffer, block.UsedPortionXSize, block.UsedPortionYSize, block.PixelSpace, block.LineSpace); }
public static void ReadDoubleBlock(OSGeo.GDAL.Band rasterBand, BandBlock <double> block) { rasterBand.ReadRaster(block.XOffset, block.YOffset, block.UsedPortionXSize, block.UsedPortionYSize, block.Buffer, block.UsedPortionXSize, block.UsedPortionYSize, block.PixelSpace, block.LineSpace); }
public static void ReadShortBlock(OSGeo.GDAL.Band rasterBand, BandBlock<short> block) { rasterBand.ReadRaster(block.XOffset, block.YOffset, block.UsedPortionXSize, block.UsedPortionYSize, block.Buffer, block.UsedPortionXSize, block.UsedPortionYSize, block.PixelSpace, block.LineSpace); }
public void ReadBlock(BandBlock <T> block) { readBlock(gdalBand, block); }
public void WriteBlock(BandBlock <T> block) { writeBlock(gdalBand, block); }
public static void WriteByteBlock(OSGeo.GDAL.Band rasterBand, BandBlock<byte> block) { rasterBand.WriteRaster(block.XOffset, block.YOffset, block.UsedPortionXSize, block.UsedPortionYSize, block.Buffer, block.UsedPortionXSize, block.UsedPortionYSize, block.PixelSpace, block.LineSpace); }