15#ifndef GDAL_ALG_H_INCLUDED
16#define GDAL_ALG_H_INCLUDED
35 int (*pfnIncludePixel)(
int,
int,
void *),
int nColors,
42 GDALProgressFunc pfnProgress,
void *pProgressArg);
45 int nYOff,
int nXSize,
int nYSize);
50 GDALProgressFunc pfnProgress,
55 double dfMaxSearchDist,
int bDeprecatedOption,
int nSmoothingIterations,
56 char **papszOptions, GDALProgressFunc pfnProgress,
void *pProgressArg);
62 GDALProgressFunc pfnProgress,
67 OGRLayerH hOutLayer,
int iPixValField,
char **papszOptions,
68 GDALProgressFunc pfnProgress,
void *pProgressArg);
73 char **papszOptions, GDALProgressFunc pfnProgress,
void *pProgressArg);
80 int nPointCount,
double *x,
double *y,
81 double *z,
int *panSuccess);
84#define GDAL_GTI2_SIGNATURE "GTI2"
88 GByte abySignature[4];
89 const char *pszClassName;
91 void (*pfnCleanup)(
void *pTransformerArg);
92 CPLXMLNode *(*pfnSerialize)(
void *pTransformerArg);
93 void *(*pfnCreateSimilar)(
void *pTransformerArg,
double dfSrcRatioX,
100void CPL_DLL GDALDestroyTransformer(
void *pTransformerArg);
101int CPL_DLL GDALUseTransformer(
void *pTransformerArg,
int bDstToSrc,
102 int nPointCount,
double *x,
double *y,
double *z,
104void *GDALCreateSimilarTransformer(
void *psTransformerArg,
double dfSrcRatioX,
117 int bGCPUseOK,
double dfGCPErrorThreshold,
123 const char *pszSrcWKT,
const double *padfSrcGeoTransform,
124 const char *pszDstWKT,
const double *padfDstGeoTransform);
129 const char *
const *papszOptions);
135 int nPointCount,
double *x,
double *y,
136 double *z,
int *panSuccess);
143 const char *pszDstWKT);
147 const char *
const *papszOptions);
150 int nPointCount,
double *x,
double *y,
151 double *z,
int *panSuccess);
156 int nReqOrder,
int bReversed);
162 int nReqOrder,
int bReversed,
163 double tolerance,
int minimumGcps);
167 int nPointCount,
double *x,
double *y,
double *z,
177 int nPointCount,
double *x,
double *y,
178 double *z,
int *panSuccess);
187 int nPointCount,
double *x,
double *y,
double *z,
191#ifdef GDAL_COMPILATION
192#define RPCInfoV1ToMD RPCInfoToMD
194#define RPCInfoToMD RPCInfoV2ToMD
196char CPL_DLL **RPCInfoV1ToMD(GDALRPCInfoV1 *psRPCInfo);
203#ifdef GDAL_COMPILATION
204#define GDALCreateRPCTransformerV1 GDALCreateRPCTransformer
206#define GDALCreateRPCTransformer GDALCreateRPCTransformerV2
209void CPL_DLL *GDALCreateRPCTransformerV1(GDALRPCInfoV1 *psRPC,
int bReversed,
210 double dfPixErrThreshold,
211 char **papszOptions);
216 double dfPixErrThreshold,
221 int nPointCount,
double *x,
double *y,
double *z,
227 char **papszGeolocationInfo,
231 int nPointCount,
double *x,
double *y,
232 double *z,
int *panSuccess);
236 void *pRawTransformerArg,
242 int nPointCount,
double *x,
double *y,
243 double *z,
int *panSuccess);
248 GDALProgressFunc pfnProgress,
void *pProgressArg,
char **papszWarpOptions);
252 void *pTransformArg,
double *padfGeoTransformOut,
253 int *pnPixels,
int *pnLines);
256#define GDAL_SWO_ROUND_UP_SIZE 0x1
258#define GDAL_SWO_FORCE_SQUARE_PIXEL 0x2
262 void *pTransformArg,
double *padfGeoTransformOut,
int *pnPixels,
263 int *pnLines,
double *padfExtent,
int nOptions);
267 void *pTransformArg);
270 void **ppTransformArg);
276 GDALProgressFunc pfnProgress,
void *pProgressArg,
char **papszOptions);
284 double *padfY,
void *);
290GDAL_CG_Create(
int nWidth,
int nHeight,
int bNoDataSet,
double dfNoDataValue,
291 double dfContourInterval,
double dfContourBase,
294 double *padfScanline);
302 double adfGeoTransform[6];
310 GIntBig nWrittenFeatureCountSinceLastCommit;
311 GIntBig nTransactionCommitInterval;
312} OGRContourWriterInfo;
314CPLErr CPL_DLL OGRContourWriter(
double,
int,
double *,
double *,
void *pInfo);
319 int nFixedLevelCount,
double *padfFixedLevels,
int bUseNoData,
320 double dfNoDataValue,
void *hLayer,
int iIDField,
int iElevField,
321 GDALProgressFunc pfnProgress,
void *pProgressArg);
325 GDALProgressFunc pfnProgress,
345 GVOT_MIN_TARGET_HEIGHT_FROM_DEM = 2,
346 GVOT_MIN_TARGET_HEIGHT_FROM_GROUND = 3
351 const char *pszTargetRasterName,
CSLConstList papszCreationOptions,
352 double dfObserverX,
double dfObserverY,
double dfObserverHeight,
353 double dfTargetHeight,
double dfVisibleVal,
double dfInvisibleVal,
354 double dfOutOfRangeVal,
double dfNoDataVal,
double dfCurvCoeff,
361 const int xB,
const int yB,
const double zB,
int *pnxTerrainIntersection,
362 int *pnyTerrainIntersection,
CSLConstList papszOptions);
369 GDALDatasetH hDS,
int nBandCount,
const int *panBandList,
int nGeomCount,
371 void *pTransformArg,
const double *padfGeomBurnValues,
372 CSLConstList papszOptions, GDALProgressFunc pfnProgress,
376 GDALDatasetH hDS,
int nBandCount,
const int *panBandList,
int nGeomCount,
378 void *pTransformArg,
const int64_t *panGeomBurnValues,
379 CSLConstList papszOptions, GDALProgressFunc pfnProgress,
383 GDALDatasetH hDS,
int nBandCount,
int *panBandList,
int nLayerCount,
385 void *pTransformArg,
double *padfLayerBurnValues,
char **papszOptions,
386 GDALProgressFunc pfnProgress,
void *pProgressArg);
389 void *pData,
int nBufXSize,
int nBufYSize,
GDALDataType eBufType,
390 int nPixelSpace,
int nLineSpace,
int nLayerCount,
OGRLayerH *pahLayers,
391 const char *pszDstProjection,
double *padfDstGeoTransform,
393 char **papszOptions, GDALProgressFunc pfnProgress,
void *pProgressArg);
610 const double *,
const double *,
const double *,
615typedef struct GDALGridContext GDALGridContext;
617GDALGridContext CPL_DLL *
619 GUInt32 nPoints,
const double *padfX,
const double *padfY,
620 const double *padfZ,
int bCallerWillKeepPointArraysAlive);
625 double dfXMax,
double dfYMin,
628 void *pData, GDALProgressFunc pfnProgress,
680 const double *padfY);
685 double *pdfL1,
double *pdfL2,
double *pdfL3);
687 double dfX,
double dfY,
688 int *panOutputFacetIdx);
690 int nFacetIdx,
double dfX,
692 int *panOutputFacetIdx);
696#ifndef CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid
697#define CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid CPL_WARN_DEPRECATED
704 CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid(
705 "GDALOpenVerticalShiftGrid() will be removed in GDAL 4.0")
710#ifndef CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid
711#define CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid CPL_WARN_DEPRECATED
718 double dfSrcUnitToMeter,
719 double dfDstUnitToMeter,
720 const char *
const *papszOptions)
722 CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid(
723 "GDALApplyVerticalShiftGrid() will be removed in GDAL 4.0")
734 GDALProgressFunc pfnProgress,
void *pProgressArg);
CPLErr
Error category.
Definition cpl_error.h:37
Definitions for CPL mini XML Parser/Serializer.
#define CPL_C_END
Macro to end a block of C symbols.
Definition cpl_port.h:289
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:285
unsigned int GUInt32
Unsigned int32 type.
Definition cpl_port.h:167
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition cpl_port.h:1087
unsigned char GByte
Unsigned byte type.
Definition cpl_port.h:175
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition cpl_port.h:205
Public (C callable) GDAL entry points.
GDALDataType
Definition gdal.h:48
CPLErr GDALContourGenerateEx(GDALRasterBandH hBand, void *hLayer, CSLConstList options, GDALProgressFunc pfnProgress, void *pProgressArg)
Create vector contours from raster DEM.
Definition contour.cpp:569
void * GDALCreateGeoLocTransformer(GDALDatasetH hBaseDS, char **papszGeolocationInfo, int bReversed)
Create GeoLocation transformer.
Definition gdalgeoloc.cpp:2065
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:394
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:1004
int GDALGenImgProjTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform general image reprojection transformation.
Definition gdaltransformer.cpp:3086
GDALTriangulation * GDALTriangulationCreateDelaunay(int nPoints, const double *padfX, const double *padfY)
Computes a Delaunay triangulation of the passed points.
Definition delaunay.c:105
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:1005
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:365
void * GDALCreateReprojectionTransformer(const char *pszSrcWKT, const char *pszDstWKT)
Create reprojection transformer.
Definition gdaltransformer.cpp:3480
void * GDALCreateHomographyTransformerFromGCPs(int nGCPCount, const GDAL_GCP *pasGCPList)
Create Homography transformer from GCPs.
Definition gdal_homography.cpp:516
void * GDALCreateReprojectionTransformerEx(OGRSpatialReferenceH hSrcSRS, OGRSpatialReferenceH hDstSRS, const char *const *papszOptions)
Create reprojection transformer.
Definition gdaltransformer.cpp:3569
void GDALSetGenImgProjTransformerDstGeoTransform(void *, const double *)
Set GenImgProj output geotransform.
Definition gdaltransformer.cpp:3016
void GDALDestroyGeoLocTransformer(void *pTransformArg)
Destroy GeoLocation transformer.
Definition gdalgeoloc.cpp:2078
void GDALGridContextFree(GDALGridContext *psContext)
Free a context used created by GDALGridContextCreate().
Definition gdalgrid.cpp:3356
void GDALTriangulationFree(GDALTriangulation *psDT)
Free a triangulation.
Definition delaunay.c:266
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:1392
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:3645
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:981
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:139
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:372
const char * GDALGetGenImgProjTranformerOptionList(void)
Return a XML string describing options accepted by GDALCreateGenImgProjTransformer2().
Definition gdaltransformer.cpp:1732
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:178
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:339
bool GDALIsLineOfSightVisible(const GDALRasterBandH, const int xA, const int yA, const double zA, const int xB, const int yB, const double zB, int *pnxTerrainIntersection, int *pnyTerrainIntersection, CSLConstList papszOptions)
Check Line of Sight between two points.
Definition los.cpp:177
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:518
GDALViewshedMode
Viewshed Modes.
Definition gdal_alg.h:334
void GDALDestroyGCPTransformer(void *pTransformArg)
Destroy GCP transformer.
Definition gdal_crs.cpp:389
GDALGridAlgorithm
Gridding Algorithms.
Definition gdal_alg.h:401
@ GGA_MetricMinimum
Definition gdal_alg.h:405
@ GGA_InverseDistanceToAPowerNearestNeighbor
Definition gdal_alg.h:416
@ GGA_InverseDistanceToAPower
Definition gdal_alg.h:402
@ GGA_MetricAverageDistancePts
Definition gdal_alg.h:411
@ GGA_MetricMaximum
Definition gdal_alg.h:406
@ GGA_NearestNeighbor
Definition gdal_alg.h:404
@ GGA_MetricAverageDistance
Definition gdal_alg.h:409
@ GGA_MovingAverage
Definition gdal_alg.h:403
@ GGA_MetricCount
Definition gdal_alg.h:408
@ GGA_MetricRange
Definition gdal_alg.h:407
@ GGA_Linear
Definition gdal_alg.h:413
void * GDALCreateHomographyTransformer(double adfHomography[9])
Create Homography transformer from GCPs.
Definition gdal_homography.cpp:90
void GDALDestroyGenImgProjTransformer(void *)
GenImgProjTransformer deallocator.
Definition gdaltransformer.cpp:3048
int GDALRPCTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
RPC transform.
Definition gdal_rpc.cpp:1813
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:130
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:416
GDALDatasetH GDALOpenVerticalShiftGrid(const char *pszProj4Geoidgrids, int *pbError)
Load proj.4 geoidgrids as GDAL dataset.
Definition gdalapplyverticalshiftgrid.cpp:564
void GDAL_CG_Destroy(GDALContourGeneratorH hCG)
Destroy contour generator.
Definition contour.cpp:1037
void GDALApproxTransformerOwnsSubtransformer(void *pCBData, int bOwnFlag)
Set bOwnSubtransformer flag.
Definition gdaltransformer.cpp:4056
void GDALDestroyHomographyTransformer(void *pTransformArg)
Destroy Homography transformer.
Definition gdal_homography.cpp:542
int GDALApproxTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform approximate transformation.
Definition gdaltransformer.cpp:4374
void * GDALCreateGenImgProjTransformer4(OGRSpatialReferenceH hSrcSRS, const double *padfSrcGeoTransform, OGRSpatialReferenceH hDstSRS, const double *padfDstGeoTransform, const char *const *papszOptions)
Create image to image transformer.
Definition gdaltransformer.cpp:2915
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:602
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:3409
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:2752
CPLErr GDALSuggestedWarpOutput(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines)
Suggest output file size.
Definition gdaltransformer.cpp:173
int GDALHomographyTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Transforms point based on homography.
Definition gdal_homography.cpp:582
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:94
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:49
void GDALGetTransformerDstGeoTransform(void *, double *)
Get ApproxTransformer or GenImgProj output geotransform.
Definition gdaltransformer.cpp:5020
GDAL_GCP * GDALComputeMatchingPoints(GDALDatasetH hFirstImage, GDALDatasetH hSecondImage, char **papszOptions, int *pnGCPCount)
GDALComputeMatchingPoints.
Definition gdalmatching.cpp:168
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:116
CPLErr GDAL_CG_FeedLine(GDALContourGeneratorH hCG, double *padfScanline)
Feed a line to the contour generator.
Definition contour.cpp:1024
int GDALTriangulationComputeBarycentricCoefficients(GDALTriangulation *psDT, const double *padfX, const double *padfY)
Computes barycentric coefficients for each triangles of the triangulation.
Definition delaunay.c:291
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:428
GDALViewshedOutputType
Viewshed output types.
Definition gdal_alg.h:343
int(* GDALTransformerFunc)(void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Definition gdal_alg.h:79
void GDALDestroyApproxTransformer(void *pApproxArg)
Cleanup approximate transformer.
Definition gdaltransformer.cpp:4078
void * GDALCreateGenImgProjTransformer3(const char *pszSrcWKT, const double *padfSrcGeoTransform, const char *pszDstWKT, const double *padfDstGeoTransform)
Create image to image transformer.
Definition gdaltransformer.cpp:2866
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:342
int GDALHasTriangulation(void)
Returns if GDAL is built with Delaunay triangulation support.
Definition delaunay.c:83
CPLErr(* GDALContourWriter)(double dfLevel, int nPoints, double *padfX, double *padfY, void *)
Contour writer callback type.
Definition gdal_alg.h:283
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:1905
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:397
int GDALChecksumImage(GDALRasterBandH hBand, int nXOff, int nYOff, int nXSize, int nYSize)
Compute checksum for image region.
Definition gdalchecksum.cpp:48
void GDALSetTransformerDstGeoTransform(void *, const double *)
Set ApproxTransformer or GenImgProj output geotransform.
Definition gdaltransformer.cpp:4995
void * GDALContourGeneratorH
Contour generator opaque type.
Definition gdal_alg.h:287
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:332
void GDALDestroyRPCTransformer(void *pTransformArg)
Destroy RPC transformer.
Definition gdal_rpc.cpp:1097
void * GDALCreateGenImgProjTransformer2(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions)
Create image to image transformer.
Definition gdaltransformer.cpp:2236
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:1526
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:217
void GDALDestroyReprojectionTransformer(void *)
Destroy reprojection transformation.
Definition gdaltransformer.cpp:3675
void * GDALCreateGCPTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed)
Create GCP based polynomial transformer.
Definition gdal_crs.cpp:354
int GDALReprojectionTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform reprojection transformation.
Definition gdaltransformer.cpp:3708
void * GDALCreateApproxTransformer(GDALTransformerFunc pfnRawTransformer, void *pRawTransformerArg, double dfMaxError)
Create an approximating transformer.
Definition gdaltransformer.cpp:4019
int GDALGeoLocTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Use GeoLocation transformer.
Definition gdalgeoloc.cpp:2111
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:510
void * GDALCreateRPCTransformerV2(const GDALRPCInfoV2 *psRPC, int bReversed, double dfPixErrThreshold, CSLConstList papszOptions)
Create an RPC based transformer.
Definition gdal_rpc.cpp:814
void * GDALCreateTPSTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int bReversed)
Create Thin Plate Spline transformer from GCPs.
Definition gdal_tps.cpp:127
CPLErr GDALZonalStats(GDALDatasetH hSrcDS, GDALDatasetH hWeightsDS, GDALDatasetH hZonesDS, GDALDatasetH hOutDS, CSLConstList papszOptions, GDALProgressFunc pfnProgress, void *pProgressArg)
Compute statistics of raster values within defined zones.
Definition zonal.cpp:2128
void GDALDestroyTPSTransformer(void *pTransformArg)
Destroy TPS transformer.
Definition gdal_tps.cpp:355
void * OGRGeometryH
Opaque type for a geometry.
Definition gdal_fwd.h:96
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition gdal_fwd.h:42
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition gdal_fwd.h:195
void * OGRLayerH
Opaque type for a layer (OGRLayer).
Definition gdal_fwd.h:157
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition gdal_fwd.h:45
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition gdal_fwd.h:54
C API and defines for OGRFeature, OGRGeometry, and OGRDataSource related classes.
Document node structure.
Definition cpl_minixml.h:54
Data metrics method control options.
Definition gdal_alg.h:559
double dfRadius2
Definition gdal_alg.h:566
double dfAngle
Definition gdal_alg.h:571
double dfNoDataValue
Definition gdal_alg.h:579
double dfRadius1
Definition gdal_alg.h:564
size_t nSizeOfStructure
Definition gdal_alg.h:562
GUInt32 nMinPointsPerQuadrant
Definition gdal_alg.h:590
GUInt32 nMinPoints
Definition gdal_alg.h:577
GUInt32 nMaxPointsPerQuadrant
Definition gdal_alg.h:584
Inverse distance to a power, with nearest neighbour search, control options.
Definition gdal_alg.h:460
GUInt32 nMinPoints
Definition gdal_alg.h:481
double dfRadius
Definition gdal_alg.h:467
double dfPower
Definition gdal_alg.h:465
double dfNoDataValue
Definition gdal_alg.h:483
GUInt32 nMaxPoints
Definition gdal_alg.h:475
double dfSmoothing
Definition gdal_alg.h:469
size_t nSizeOfStructure
Definition gdal_alg.h:463
GUInt32 nMinPointsPerQuadrant
Definition gdal_alg.h:494
GUInt32 nMaxPointsPerQuadrant
Definition gdal_alg.h:488
Inverse distance to a power method control options.
Definition gdal_alg.h:421
GUInt32 nMinPoints
Definition gdal_alg.h:452
double dfPower
Definition gdal_alg.h:426
double dfRadius2
Definition gdal_alg.h:436
double dfNoDataValue
Definition gdal_alg.h:454
double dfSmoothing
Definition gdal_alg.h:428
double dfAngle
Definition gdal_alg.h:441
double dfRadius1
Definition gdal_alg.h:434
GUInt32 nMaxPoints
Definition gdal_alg.h:446
size_t nSizeOfStructure
Definition gdal_alg.h:424
double dfAnisotropyRatio
Definition gdal_alg.h:430
double dfAnisotropyAngle
Definition gdal_alg.h:432
Linear method control options.
Definition gdal_alg.h:595
size_t nSizeOfStructure
Definition gdal_alg.h:598
double dfNoDataValue
Definition gdal_alg.h:606
double dfRadius
Definition gdal_alg.h:604
Moving average method control options.
Definition gdal_alg.h:499
GUInt32 nMaxPoints
Definition gdal_alg.h:516
double dfRadius1
Definition gdal_alg.h:504
double dfNoDataValue
Definition gdal_alg.h:524
double dfAngle
Definition gdal_alg.h:511
GUInt32 nMinPoints
Definition gdal_alg.h:522
double dfRadius2
Definition gdal_alg.h:506
GUInt32 nMinPointsPerQuadrant
Definition gdal_alg.h:535
size_t nSizeOfStructure
Definition gdal_alg.h:502
GUInt32 nMaxPointsPerQuadrant
Definition gdal_alg.h:529
Nearest neighbor method control options.
Definition gdal_alg.h:540
double dfNoDataValue
Definition gdal_alg.h:554
size_t nSizeOfStructure
Definition gdal_alg.h:543
double dfRadius2
Definition gdal_alg.h:547
double dfAngle
Definition gdal_alg.h:552
double dfRadius1
Definition gdal_alg.h:545
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition gdal.h:2145
Triangle barycentric coefficients.
Definition gdal_alg.h:658
double dfCstY
dfCstY
Definition gdal_alg.h:664
double dfCstX
dfCstX
Definition gdal_alg.h:663
double dfMul2Y
dfMul2Y
Definition gdal_alg.h:662
double dfMul1Y
dfMul1Y
Definition gdal_alg.h:660
double dfMul2X
dfMul2X
Definition gdal_alg.h:661
double dfMul1X
dfMul1X
Definition gdal_alg.h:659
Triangle fact.
Definition gdal_alg.h:642
int anVertexIdx[3]
index to the padfX/padfY arrays
Definition gdal_alg.h:643
int anNeighborIdx[3]
index to GDALDelaunayTriangulation.pasFacets, or -1
Definition gdal_alg.h:644
Triangulation structure.
Definition gdal_alg.h:669
GDALTriBarycentricCoefficients * pasFacetCoefficients
array of nFacets barycentric coefficients
Definition gdal_alg.h:673
int nFacets
number of facets
Definition gdal_alg.h:670
GDALTriFacet * pasFacets
array of nFacets facets
Definition gdal_alg.h:671
Ground Control Point.
Definition gdal.h:1221