Go to the documentation of this file.
31 #ifndef GDAL_ALG_H_INCLUDED
32 #define GDAL_ALG_H_INCLUDED
51 int (*pfnIncludePixel)(
int,
int,
void *),
int nColors,
58 GDALProgressFunc pfnProgress,
void *pProgressArg);
61 int nYOff,
int nXSize,
int nYSize);
66 GDALProgressFunc pfnProgress,
71 double dfMaxSearchDist,
int bDeprecatedOption,
int nSmoothingIterations,
72 char **papszOptions, GDALProgressFunc pfnProgress,
void *pProgressArg);
78 GDALProgressFunc pfnProgress,
83 OGRLayerH hOutLayer,
int iPixValField,
char **papszOptions,
84 GDALProgressFunc pfnProgress,
void *pProgressArg);
89 char **papszOptions, GDALProgressFunc pfnProgress,
void *pProgressArg);
96 int nPointCount,
double *x,
double *y,
97 double *z,
int *panSuccess);
100 #define GDAL_GTI2_SIGNATURE "GTI2"
104 GByte abySignature[4];
105 const char *pszClassName;
107 void (*pfnCleanup)(
void *pTransformerArg);
108 CPLXMLNode *(*pfnSerialize)(
void *pTransformerArg);
109 void *(*pfnCreateSimilar)(
void *pTransformerArg,
double dfSrcRatioX,
111 } GDALTransformerInfo;
115 void CPL_DLL GDALDestroyTransformer(
void *pTransformerArg);
116 int CPL_DLL GDALUseTransformer(
void *pTransformerArg,
int bDstToSrc,
117 int nPointCount,
double *x,
double *y,
double *z,
119 void *GDALCreateSimilarTransformer(
void *psTransformerArg,
double dfSrcRatioX,
130 int bGCPUseOK,
double dfGCPErrorThreshold,
134 char **papszOptions);
136 const char *pszSrcWKT,
const double *padfSrcGeoTransform,
137 const char *pszDstWKT,
const double *padfDstGeoTransform);
142 const char *
const *papszOptions);
148 int nPointCount,
double *x,
double *y,
149 double *z,
int *panSuccess);
156 const char *pszDstWKT);
160 const char *
const *papszOptions);
163 int nPointCount,
double *x,
double *y,
164 double *z,
int *panSuccess);
169 int nReqOrder,
int bReversed);
175 int nReqOrder,
int bReversed,
176 double tolerance,
int minimumGcps);
180 int nPointCount,
double *x,
double *y,
double *z,
190 int nPointCount,
double *x,
double *y,
double *z,
194 #ifdef GDAL_COMPILATION
195 #define RPCInfoV1ToMD RPCInfoToMD
197 #define RPCInfoToMD RPCInfoV2ToMD
199 char CPL_DLL **RPCInfoV1ToMD(GDALRPCInfoV1 *psRPCInfo);
206 #ifdef GDAL_COMPILATION
207 #define GDALCreateRPCTransformerV1 GDALCreateRPCTransformer
209 #define GDALCreateRPCTransformer GDALCreateRPCTransformerV2
212 void CPL_DLL *GDALCreateRPCTransformerV1(GDALRPCInfoV1 *psRPC,
int bReversed,
213 double dfPixErrThreshold,
214 char **papszOptions);
219 double dfPixErrThreshold,
220 char **papszOptions);
224 int nPointCount,
double *x,
double *y,
double *z,
230 char **papszGeolocationInfo,
234 int nPointCount,
double *x,
double *y,
235 double *z,
int *panSuccess);
239 void *pRawTransformerArg,
245 int nPointCount,
double *x,
double *y,
246 double *z,
int *panSuccess);
251 GDALProgressFunc pfnProgress,
void *pProgressArg,
char **papszWarpOptions);
253 CPLErr CPL_DLL CPL_STDCALL
255 void *pTransformArg,
double *padfGeoTransformOut,
256 int *pnPixels,
int *pnLines);
259 #define GDAL_SWO_ROUND_UP_SIZE 0x1
263 void *pTransformArg,
double *padfGeoTransformOut,
int *pnPixels,
264 int *pnLines,
double *padfExtent,
int nOptions);
268 void *pTransformArg);
271 void **ppTransformArg);
277 GDALProgressFunc pfnProgress,
void *pProgressArg,
char **papszOptions);
285 double *padfY,
void *);
291 GDAL_CG_Create(
int nWidth,
int nHeight,
int bNoDataSet,
double dfNoDataValue,
292 double dfContourInterval,
double dfContourBase,
295 double *padfScanline);
303 double adfGeoTransform[6];
310 } OGRContourWriterInfo;
312 CPLErr CPL_DLL OGRContourWriter(
double,
int,
double *,
double *,
void *pInfo);
317 int nFixedLevelCount,
double *padfFixedLevels,
int bUseNoData,
318 double dfNoDataValue,
void *hLayer,
int iIDField,
int iElevField,
319 GDALProgressFunc pfnProgress,
void *pProgressArg);
323 GDALProgressFunc pfnProgress,
343 GVOT_MIN_TARGET_HEIGHT_FROM_DEM = 2,
344 GVOT_MIN_TARGET_HEIGHT_FROM_GROUND = 3
349 const char *pszTargetRasterName,
CSLConstList papszCreationOptions,
350 double dfObserverX,
double dfObserverY,
double dfObserverHeight,
351 double dfTargetHeight,
double dfVisibleVal,
double dfInvisibleVal,
352 double dfOutOfRangeVal,
double dfNoDataVal,
double dfCurvCoeff,
362 GDALDatasetH hDS,
int nBandCount,
const int *panBandList,
int nGeomCount,
364 void *pTransformArg,
const double *padfGeomBurnValues,
365 CSLConstList papszOptions, GDALProgressFunc pfnProgress,
369 GDALDatasetH hDS,
int nBandCount,
const int *panBandList,
int nGeomCount,
371 void *pTransformArg,
const int64_t *panGeomBurnValues,
372 CSLConstList papszOptions, GDALProgressFunc pfnProgress,
376 GDALDatasetH hDS,
int nBandCount,
int *panBandList,
int nLayerCount,
378 void *pTransformArg,
double *padfLayerBurnValues,
char **papszOptions,
379 GDALProgressFunc pfnProgress,
void *pProgressArg);
382 void *pData,
int nBufXSize,
int nBufYSize,
GDALDataType eBufType,
383 int nPixelSpace,
int nLineSpace,
int nLayerCount,
OGRLayerH *pahLayers,
384 const char *pszDstProjection,
double *padfDstGeoTransform,
386 char **papszOptions, GDALProgressFunc pfnProgress,
void *pProgressArg);
603 const double *,
const double *,
const double *,
612 GUInt32 nPoints,
const double *padfX,
const double *padfY,
613 const double *padfZ,
int bCallerWillKeepPointArraysAlive);
618 double dfXMax,
double dfYMin,
621 void *pData, GDALProgressFunc pfnProgress,
637 int anNeighborIdx[3];
673 const double *padfY);
678 double *pdfL1,
double *pdfL2,
double *pdfL3);
680 double dfX,
double dfY,
681 int *panOutputFacetIdx);
683 int nFacetIdx,
double dfX,
685 int *panOutputFacetIdx);
689 #ifndef CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid
690 #define CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid CPL_WARN_DEPRECATED
697 CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid(
698 "GDALOpenVerticalShiftGrid() will be removed in GDAL 4.0")
703 #ifndef CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid
704 #define CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid CPL_WARN_DEPRECATED
711 double dfSrcUnitToMeter,
712 double dfDstUnitToMeter,
713 const char *
const *papszOptions)
715 CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid(
716 "GDALApplyVerticalShiftGrid() will be removed in GDAL 4.0")
GUInt32 nMaxPointsPerQuadrant
Definition: gdal_alg.h:481
CPLErr GDALTransformGeolocations(GDALRasterBandH hXBand, GDALRasterBandH hYBand, GDALRasterBandH hZBand, GDALTransformerFunc pfnTransformer, void *pTransformArg, GDALProgressFunc pfnProgress, void *pProgressArg, char **papszOptions)
Transform locations held in bands.
Definition: gdaltransformgeolocs.cpp:67
size_t nSizeOfStructure
Definition: gdal_alg.h:495
Data metrics method control options.
Definition: gdal_alg.h:551
GDALGridContext * GDALGridContextCreate(GDALGridAlgorithm eAlgorithm, const void *poOptions, GUInt32 nPoints, const double *padfX, const double *padfY, const double *padfZ, int bCallerWillKeepPointArraysAlive)
Creates a context to do regular gridding from the scattered data.
Definition: gdalgrid.cpp:2765
void GDALDestroyGenImgProjTransformer(void *)
GenImgProjTransformer deallocator.
Definition: gdaltransformer.cpp:2744
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:196
@ GGA_Linear
Definition: gdal_alg.h:406
void * GDALCreateGenImgProjTransformer4(OGRSpatialReferenceH hSrcSRS, const double *padfSrcGeoTransform, OGRSpatialReferenceH hDstSRS, const double *padfDstGeoTransform, const char *const *papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:2605
int GDALGCPTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Transforms point based on GCP derived polynomial model.
Definition: gdal_crs.cpp:423
void GDALDestroyGeoLocTransformer(void *pTransformArg)
Destroy GeoLocation transformer.
Definition: gdalgeoloc.cpp:2058
double dfRadius2
Definition: gdal_alg.h:559
void * GDALCreateReprojectionTransformerEx(OGRSpatialReferenceH hSrcSRS, OGRSpatialReferenceH hDstSRS, const char *const *papszOptions)
Create reprojection transformer.
Definition: gdaltransformer.cpp:3318
int GDALComputeMedianCutPCT(GDALRasterBandH hRed, GDALRasterBandH hGreen, GDALRasterBandH hBlue, int(*pfnIncludePixel)(int, int, void *), int nColors, GDALColorTableH hColorTable, GDALProgressFunc pfnProgress, void *pProgressArg)
Compute optimal PCT for RGB image.
Definition: gdalmediancut.cpp:143
void GDAL_CG_Destroy(GDALContourGeneratorH hCG)
Destroy contour generator.
Definition: contour.cpp:811
void * GDALCreateGCPTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed)
Create GCP based polynomial transformer.
Definition: gdal_crs.cpp:346
GDALTriBarycentricCoefficients * pasFacetCoefficients
arra of nFacets barycentric coefficients
Definition: gdal_alg.h:666
GUInt32 nMinPoints
Definition: gdal_alg.h:570
int(* GDALTransformerFunc)(void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Definition: gdal_alg.h:95
void * GDALCreateGenImgProjTransformer3(const char *pszSrcWKT, const double *padfSrcGeoTransform, const char *pszDstWKT, const double *padfDstGeoTransform)
Create image to image transformer.
Definition: gdaltransformer.cpp:2556
CPLErr GDALSieveFilter(GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand, GDALRasterBandH hDstBand, int nSizeThreshold, int nConnectedness, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Removes small raster polygons.
Definition: gdalsievefilter.cpp:196
GDALViewshedOutputType
Viewshed output types.
Definition: gdal_alg.h:340
CPLErr GDALContourGenerate(GDALRasterBandH hBand, double dfContourInterval, double dfContourBase, int nFixedLevelCount, double *padfFixedLevels, int bUseNoData, double dfNoDataValue, void *hLayer, int iIDField, int iElevField, GDALProgressFunc pfnProgress, void *pProgressArg)
Create vector contours from raster DEM.
Definition: contour.cpp:321
double dfAnisotropyAngle
Definition: gdal_alg.h:425
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:300
GUInt32 nMaxPointsPerQuadrant
Definition: gdal_alg.h:522
@ GGA_MovingAverage
Definition: gdal_alg.h:396
GDALDatasetH GDALApplyVerticalShiftGrid(GDALDatasetH hSrcDataset, GDALDatasetH hGridDataset, int bInverse, double dfSrcUnitToMeter, double dfDstUnitToMeter, const char *const *papszOptions)
Apply a vertical shift grid to a source (DEM typically) dataset.
Definition: gdalapplyverticalshiftgrid.cpp:358
@ GGA_MetricCount
Definition: gdal_alg.h:401
CPLErr GDALSuggestedWarpOutput(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines)
Suggest output file size.
Definition: gdaltransformer.cpp:233
GDAL_GCP * GDALComputeMatchingPoints(GDALDatasetH hFirstImage, GDALDatasetH hSecondImage, char **papszOptions, int *pnGCPCount)
GDALComputeMatchingPoints.
Definition: gdalmatching.cpp:184
@ GGA_InverseDistanceToAPowerNearestNeighbor
Definition: gdal_alg.h:409
GUInt32 nMinPoints
Definition: gdal_alg.h:515
GUInt32 nMaxPoints
Definition: gdal_alg.h:439
int GDALTriangulationComputeBarycentricCoordinates(const GDALTriangulation *psDT, int nFacetIdx, double dfX, double dfY, double *pdfL1, double *pdfL2, double *pdfL3)
Computes the barycentric coordinates of a point.
Definition: delaunay.c:395
double dfNoDataValue
Definition: gdal_alg.h:476
CPLErr GDALRasterizeLayersBuf(void *pData, int nBufXSize, int nBufYSize, GDALDataType eBufType, int nPixelSpace, int nLineSpace, int nLayerCount, OGRLayerH *pahLayers, const char *pszDstProjection, double *padfDstGeoTransform, GDALTransformerFunc pfnTransformer, void *pTransformArg, double dfBurnValue, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Burn geometries from the specified list of layer into raster.
Definition: gdalrasterize.cpp:1831
GDALDataType
Definition: gdal.h:63
Document node structure.
Definition: cpl_minixml.h:69
CPLErr GDALComputeProximity(GDALRasterBandH hSrcBand, GDALRasterBandH hProximityBand, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Compute the proximity of all pixels in the image to a set of pixels in the source image.
Definition: gdalproximity.cpp:112
GDALViewshedMode
Viewshed Modes.
Definition: gdal_alg.h:331
GUInt32 nMinPoints
Definition: gdal_alg.h:474
double dfNoDataValue
Definition: gdal_alg.h:599
Inverse distance to a power, with nearest neighbour search, control options.
Definition: gdal_alg.h:452
GUInt32 nMinPoints
Definition: gdal_alg.h:445
CPLErr GDALPolygonize(GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand, OGRLayerH hOutLayer, int iPixValField, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Create polygon coverage from raster data.
Definition: polygonize.cpp:504
double dfRadius
Definition: gdal_alg.h:597
double dfNoDataValue
Definition: gdal_alg.h:572
void GDALGetTransformerDstGeoTransform(void *, double *)
Get ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:4763
void GDALDestroyApproxTransformer(void *pApproxArg)
Cleanup approximate transformer.
Definition: gdaltransformer.cpp:3831
int GDALTriangulationFindFacetDirected(const GDALTriangulation *psDT, int nFacetIdx, double dfX, double dfY, int *panOutputFacetIdx)
Returns the index of the triangle that contains the point by walking in the triangulation.
Definition: delaunay.c:535
double dfRadius
Definition: gdal_alg.h:460
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:306
GUInt32 nMinPointsPerQuadrant
Definition: gdal_alg.h:487
double dfCstY
dfCstY
Definition: gdal_alg.h:657
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition: ogr_api.h:81
double dfSmoothing
Definition: gdal_alg.h:421
CPLErr GDALRasterizeGeometriesInt64(GDALDatasetH hDS, int nBandCount, const int *panBandList, int nGeomCount, const OGRGeometryH *pahGeometries, GDALTransformerFunc pfnTransformer, void *pTransformArg, const int64_t *panGeomBurnValues, CSLConstList papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Burn geometries into raster.
Definition: gdalrasterize.cpp:969
void GDALTriangulationFree(GDALTriangulation *psDT)
Free a triangulation.
Definition: delaunay.c:287
double dfRadius2
Definition: gdal_alg.h:499
CPLErr(* GDALContourWriter)(double dfLevel, int nPoints, double *padfX, double *padfY, void *)
Contour writer callback type.
Definition: gdal_alg.h:284
void * GDALCreateGeoLocTransformer(GDALDatasetH hBaseDS, char **papszGeolocationInfo, int bReversed)
Create GeoLocation transformer.
Definition: gdalgeoloc.cpp:2045
GUInt32 nMinPointsPerQuadrant
Definition: gdal_alg.h:583
int nFacets
number of facets
Definition: gdal_alg.h:663
void * GDALCreateApproxTransformer(GDALTransformerFunc pfnRawTransformer, void *pRawTransformerArg, double dfMaxError)
Create an approximating transformer.
Definition: gdaltransformer.cpp:3772
void GDALDestroyRPCTransformer(void *pTransformArg)
Destroy RPC tranformer.
Definition: gdal_rpc.cpp:1097
CPLErr GDAL_CG_FeedLine(GDALContourGeneratorH hCG, double *padfScanline)
Feed a line to the contour generator.
Definition: contour.cpp:798
void * GDALCreateRPCTransformerV2(const GDALRPCInfoV2 *psRPC, int bReversed, double dfPixErrThreshold, char **papszOptions)
Create an RPC based transformer.
Definition: gdal_rpc.cpp:815
void * GDALCreateGCPRefineTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed, double tolerance, int minimumGcps)
Create GCP based polynomial transformer, with a tolerance threshold to discard GCPs that transform ba...
Definition: gdal_crs.cpp:357
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1178
double dfPower
Definition: gdal_alg.h:419
int GDALRPCTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
RPC transform.
Definition: gdal_rpc.cpp:2042
Moving average method control options.
Definition: gdal_alg.h:491
size_t nSizeOfStructure
Definition: gdal_alg.h:536
GUInt32 nMinPointsPerQuadrant
Definition: gdal_alg.h:528
int GDALGeoLocTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Use GeoLocation transformer.
Definition: gdalgeoloc.cpp:2091
Ground Control Point.
Definition: gdal.h:1051
GUInt32 nMaxPoints
Definition: gdal_alg.h:509
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:310
CPLErr GDALFillNodata(GDALRasterBandH hTargetBand, GDALRasterBandH hMaskBand, double dfMaxSearchDist, int bDeprecatedOption, int nSmoothingIterations, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Fill selected raster regions by interpolation from the edges.
Definition: rasterfill.cpp:409
void GDALDestroyGCPTransformer(void *pTransformArg)
Destroy GCP transformer.
Definition: gdal_crs.cpp:381
Linear method control options.
Definition: gdal_alg.h:587
void GDALDestroyTPSTransformer(void *pTransformArg)
Destroy TPS transformer.
Definition: gdal_tps.cpp:308
GDALDatasetH GDALViewshedGenerate(GDALRasterBandH hBand, const char *pszDriverName, const char *pszTargetRasterName, CSLConstList papszCreationOptions, double dfObserverX, double dfObserverY, double dfObserverHeight, double dfTargetHeight, double dfVisibleVal, double dfInvisibleVal, double dfOutOfRangeVal, double dfNoDataVal, double dfCurvCoeff, GDALViewshedMode eMode, double dfMaxDistance, GDALProgressFunc pfnProgress, void *pProgressArg, GDALViewshedOutputType heightMode, CSLConstList papszExtraOptions)
Create viewshed from raster DEM.
Definition: viewshed.cpp:214
GDALContourGeneratorH GDAL_CG_Create(int nWidth, int nHeight, int bNoDataSet, double dfNoDataValue, double dfContourInterval, double dfContourBase, GDALContourWriter pfnWriter, void *pCBData)
Create contour generator.
Definition: contour.cpp:779
void * GDALCreateGenImgProjTransformer(GDALDatasetH hSrcDS, const char *pszSrcWKT, GDALDatasetH hDstDS, const char *pszDstWKT, int bGCPUseOK, double dfGCPErrorThreshold, int nOrder)
Create image to image transformer.
Definition: gdaltransformer.cpp:1354
double dfSmoothing
Definition: gdal_alg.h:462
void * GDALCreateReprojectionTransformer(const char *pszSrcWKT, const char *pszDstWKT)
Create reprojection transformer.
Definition: gdaltransformer.cpp:3249
Triangle fact.
Definition: gdal_alg.h:634
double dfRadius2
Definition: gdal_alg.h:429
void GDALDestroyReprojectionTransformer(void *)
Destroy reprojection transformation.
Definition: gdaltransformer.cpp:3414
CPLErr GDALFPolygonize(GDALRasterBandH hSrcBand, GDALRasterBandH hMaskBand, OGRLayerH hOutLayer, int iPixValField, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Create polygon coverage from raster data.
Definition: polygonize.cpp:580
Nearest neighbor method control options.
Definition: gdal_alg.h:532
CPLErr GDALSuggestedWarpOutput2(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines, double *padfExtent, int nOptions)
Suggest output file size.
Definition: gdaltransformer.cpp:407
int GDALTPSTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Transforms point based on GCP derived polynomial model.
Definition: gdal_tps.cpp:353
void GDALGridContextFree(GDALGridContext *psContext)
Free a context used created by GDALGridContextCreate()
Definition: gdalgrid.cpp:3368
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:66
double dfNoDataValue
Definition: gdal_alg.h:517
void GDALApproxTransformerOwnsSubtransformer(void *pCBData, int bOwnFlag)
Set bOwnSubtransformer flag.
Definition: gdaltransformer.cpp:3810
double dfAngle
Definition: gdal_alg.h:545
GUInt32 nMaxPointsPerQuadrant
Definition: gdal_alg.h:577
double dfMul1Y
dfMul1Y
Definition: gdal_alg.h:653
void GDALSetGenImgProjTransformerDstGeoTransform(void *, const double *)
Set GenImgProj output geotransform.
Definition: gdaltransformer.cpp:2713
void GDALSetTransformerDstGeoTransform(void *, const double *)
Set ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:4738
void * GDALCreateTPSTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int bReversed)
Create Thin Plate Spline transformer from GCPs.
Definition: gdal_tps.cpp:144
@ GGA_MetricAverageDistancePts
Definition: gdal_alg.h:404
double dfRadius2
Definition: gdal_alg.h:540
double dfMul1X
dfMul1X
Definition: gdal_alg.h:652
double dfNoDataValue
Definition: gdal_alg.h:547
@ GGA_MetricRange
Definition: gdal_alg.h:400
double dfRadius1
Definition: gdal_alg.h:557
size_t nSizeOfStructure
Definition: gdal_alg.h:456
int GDALApproxTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform approximate transformation.
Definition: gdaltransformer.cpp:4124
void * GDALContourGeneratorH
Contour generator opaque type.
Definition: gdal_alg.h:288
int GDALGenImgProjTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform general image reprojection transformation.
Definition: gdaltransformer.cpp:2782
CPLErr GDALRasterizeGeometries(GDALDatasetH hDS, int nBandCount, const int *panBandList, int nGeomCount, const OGRGeometryH *pahGeometries, GDALTransformerFunc pfnTransformer, void *pTransformArg, const double *padfGeomBurnValues, CSLConstList papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Burn geometries into raster.
Definition: gdalrasterize.cpp:946
GDALTriFacet * pasFacets
array of nFacets facets
Definition: gdal_alg.h:664
CPLErr GDALContourGenerateEx(GDALRasterBandH hBand, void *hLayer, CSLConstList options, GDALProgressFunc pfnProgress, void *pProgressArg)
Create vector contours from raster DEM.
Definition: contour.cpp:549
double dfAnisotropyRatio
Definition: gdal_alg.h:423
struct GDALGridContext GDALGridContext
Grid context opaque type.
Definition: gdal_alg.h:608
GDALDatasetH GDALOpenVerticalShiftGrid(const char *pszProj4Geoidgrids, int *pbError)
Load proj.4 geoidgrids as GDAL dataset.
Definition: gdalapplyverticalshiftgrid.cpp:580
double dfRadius1
Definition: gdal_alg.h:497
int GDALChecksumImage(GDALRasterBandH hBand, int nXOff, int nYOff, int nXSize, int nYSize)
Compute checksum for image region.
Definition: gdalchecksum.cpp:66
int GDALSimpleImageWarp(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, int nBandCount, int *panBandList, GDALTransformerFunc pfnTransform, void *pTransformArg, GDALProgressFunc pfnProgress, void *pProgressArg, char **papszWarpOptions)
Perform simple image warp.
Definition: gdalsimplewarp.cpp:232
size_t nSizeOfStructure
Definition: gdal_alg.h:555
double dfRadius1
Definition: gdal_alg.h:538
int GDALDitherRGB2PCT(GDALRasterBandH hRed, GDALRasterBandH hGreen, GDALRasterBandH hBlue, GDALRasterBandH hTarget, GDALColorTableH hColorTable, GDALProgressFunc pfnProgress, void *pProgressArg)
24bit to 8bit conversion with dithering.
Definition: gdaldither.cpp:146
CPLErr
Error category.
Definition: cpl_error.h:52
void * GDALCreateGenImgProjTransformer2(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, char **papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:1858
double dfMul2Y
dfMul2Y
Definition: gdal_alg.h:655
int GDALHasTriangulation(void)
Returns if GDAL is built with Delaunay triangulation support.
Definition: delaunay.c:102
double dfMul2X
dfMul2X
Definition: gdal_alg.h:654
size_t nSizeOfStructure
Definition: gdal_alg.h:417
int GDALReprojectionTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform reprojection transformation.
Definition: gdaltransformer.cpp:3447
double dfNoDataValue
Definition: gdal_alg.h:447
double dfAngle
Definition: gdal_alg.h:564
double dfPower
Definition: gdal_alg.h:458
double dfAngle
Definition: gdal_alg.h:434
int GDALTriangulationComputeBarycentricCoefficients(GDALTriangulation *psDT, const double *padfX, const double *padfY)
Computes barycentric coefficients for each triangles of the triangulation.
Definition: delaunay.c:313
double dfAngle
Definition: gdal_alg.h:504
CPLErr GDALGridCreate(GDALGridAlgorithm, const void *, GUInt32, const double *, const double *, const double *, double, double, double, double, GUInt32, GUInt32, GDALDataType, void *, GDALProgressFunc, void *)
Create regular grid from the scattered data.
Definition: gdalgrid.cpp:3657
GDALTriangulation * GDALTriangulationCreateDelaunay(int nPoints, const double *padfX, const double *padfY)
Computes a Delaunay triangulation of the passed points.
Definition: delaunay.c:125
@ GGA_NearestNeighbor
Definition: gdal_alg.h:397
@ GGA_MetricMaximum
Definition: gdal_alg.h:399
Inverse distance to a power method control options.
Definition: gdal_alg.h:413
CPLErr GDALRasterizeLayers(GDALDatasetH hDS, int nBandCount, int *panBandList, int nLayerCount, OGRLayerH *pahLayers, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfLayerBurnValues, char **papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Burn geometries from the specified list of layers into raster.
Definition: gdalrasterize.cpp:1454
@ GGA_MetricAverageDistance
Definition: gdal_alg.h:402
@ GGA_InverseDistanceToAPower
Definition: gdal_alg.h:395
Triangle barycentric coefficients.
Definition: gdal_alg.h:650
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1769
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:623
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:393
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:294
size_t nSizeOfStructure
Definition: gdal_alg.h:591
Triangulation structure.
Definition: gdal_alg.h:661
double dfRadius1
Definition: gdal_alg.h:427
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:291
CPLErr GDALGridContextProcess(GDALGridContext *psContext, double dfXMin, double dfXMax, double dfYMin, double dfYMax, GUInt32 nXSize, GUInt32 nYSize, GDALDataType eType, void *pData, GDALProgressFunc pfnProgress, void *pProgressArg)
Do the gridding of a window of a raster.
Definition: gdalgrid.cpp:3422
double dfCstX
dfCstX
Definition: gdal_alg.h:656
int GDALTriangulationFindFacetBruteForce(const GDALTriangulation *psDT, double dfX, double dfY, int *panOutputFacetIdx)
Returns the index of the triangle that contains the point by iterating over all triangles.
Definition: delaunay.c:440
GUInt32 nMaxPoints
Definition: gdal_alg.h:468
@ GGA_MetricMinimum
Definition: gdal_alg.h:398
unsigned int GUInt32
Unsigned int32 type.
Definition: cpl_port.h:188