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

Function GDALGridCreate

alg/gdalgrid.cpp:3769–3788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3767 */
3768
3769CPLErr GDALGridCreate(GDALGridAlgorithm eAlgorithm, const void *poOptions,
3770 GUInt32 nPoints, const double *padfX, const double *padfY,
3771 const double *padfZ, double dfXMin, double dfXMax,
3772 double dfYMin, double dfYMax, GUInt32 nXSize,
3773 GUInt32 nYSize, GDALDataType eType, void *pData,
3774 GDALProgressFunc pfnProgress, void *pProgressArg)
3775{
3776 GDALGridContext *psContext = GDALGridContextCreate(
3777 eAlgorithm, poOptions, nPoints, padfX, padfY, padfZ, TRUE);
3778 CPLErr eErr = CE_Failure;
3779 if (psContext)
3780 {
3781 eErr = GDALGridContextProcess(psContext, dfXMin, dfXMax, dfYMin, dfYMax,
3782 nXSize, nYSize, eType, pData, pfnProgress,
3783 pProgressArg);
3784 }
3785
3786 GDALGridContextFree(psContext);
3787 return eErr;
3788}
3789
3790/************************************************************************/
3791/* GDALGridParseAlgorithmAndOptions() */

Callers 1

IReadMethod · 0.85

Calls 3

GDALGridContextCreateFunction · 0.85
GDALGridContextProcessFunction · 0.85
GDALGridContextFreeFunction · 0.85

Tested by

no test coverage detected