MCPcopy Create free account
hub / github.com/OSGeo/gdal / ReadWindow

Function ReadWindow

alg/zonal.cpp:1327–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1325 }
1326
1327 static bool ReadWindow(GDALRasterBand &band,
1328 const GDALRasterWindow &oWindow, GByte *pabyBuf,
1329 GDALDataType dataType)
1330 {
1331 return band.RasterIO(GF_Read, oWindow.nXOff, oWindow.nYOff,
1332 oWindow.nXSize, oWindow.nYSize, pabyBuf,
1333 oWindow.nXSize, oWindow.nYSize, dataType, 0, 0,
1334 nullptr) == CE_None;
1335 }
1336
1337#ifndef HAVE_GEOS
1338 bool ProcessVectorZonesByChunk(GDALProgressFunc, void *)

Callers 3

ProcessRasterZonesFunction · 0.85

Calls 1

RasterIOMethod · 0.45

Tested by

no test coverage detected