Go to the documentation of this file.
31 #ifndef GDAL_ALG_H_INCLUDED
32 #define GDAL_ALG_H_INCLUDED
52 int (*pfnIncludePixel)(
int,
int,
void*),
55 GDALProgressFunc pfnProgress,
56 void * pProgressArg );
63 GDALProgressFunc pfnProgress,
64 void * pProgressArg );
67 int nXOff,
int nYOff,
int nXSize,
int nYSize );
73 GDALProgressFunc pfnProgress,
74 void * pProgressArg );
79 double dfMaxSearchDist,
80 int bDeprecatedOption,
81 int nSmoothingIterations,
83 GDALProgressFunc pfnProgress,
84 void * pProgressArg );
91 GDALProgressFunc pfnProgress,
92 void * pProgressArg );
99 GDALProgressFunc pfnProgress,
100 void * pProgressArg );
102 CPLErr CPL_DLL CPL_STDCALL
105 int nSizeThreshold,
int nConnectedness,
107 GDALProgressFunc pfnProgress,
108 void * pProgressArg );
116 int bDstToSrc,
int nPointCount,
117 double *x,
double *y,
double *z,
int *panSuccess );
120 #define GDAL_GTI2_SIGNATURE "GTI2"
123 GByte abySignature[4];
124 const char *pszClassName;
126 void (*pfnCleanup)(
void * pTransformerArg );
127 CPLXMLNode *(*pfnSerialize)(
void * pTransformerArg );
128 void* (*pfnCreateSimilar)(
void* pTransformerArg,
double dfSrcRatioX,
double dfSrcRatioY );
129 } GDALTransformerInfo;
133 void CPL_DLL GDALDestroyTransformer(
void *pTransformerArg );
134 int CPL_DLL GDALUseTransformer(
void *pTransformerArg,
135 int bDstToSrc,
int nPointCount,
136 double *x,
double *y,
double *z,
138 void* GDALCreateSimilarTransformer(
void* psTransformerArg,
double dfSrcRatioX,
double dfSrcRatioY );
148 int bGCPUseOK,
double dfGCPErrorThreshold,
152 char **papszOptions );
155 const double *padfSrcGeoTransform,
156 const char *pszDstWKT,
157 const double *padfDstGeoTransform );
161 const double *padfSrcGeoTransform,
163 const double *padfDstGeoTransform,
164 const char*
const *papszOptions );
170 void *pTransformArg,
int bDstToSrc,
int nPointCount,
171 double *x,
double *y,
double *z,
int *panSuccess );
179 const char *pszDstWKT );
184 const char*
const *papszOptions);
187 void *pTransformArg,
int bDstToSrc,
int nPointCount,
188 double *x,
double *y,
double *z,
int *panSuccess );
193 int nReqOrder,
int bReversed );
198 int nReqOrder,
int bReversed,
double tolerance,
int minimumGcps);
202 void *pTransformArg,
int bDstToSrc,
int nPointCount,
203 double *x,
double *y,
double *z,
int *panSuccess );
212 void *pTransformArg,
int bDstToSrc,
int nPointCount,
213 double *x,
double *y,
double *z,
int *panSuccess );
216 #ifdef GDAL_COMPILATION
217 #define RPCInfoV1ToMD RPCInfoToMD
219 #define RPCInfoToMD RPCInfoV2ToMD
221 char CPL_DLL ** RPCInfoV1ToMD( GDALRPCInfoV1 *psRPCInfo );
228 #ifdef GDAL_COMPILATION
229 #define GDALCreateRPCTransformerV1 GDALCreateRPCTransformer
231 #define GDALCreateRPCTransformer GDALCreateRPCTransformerV2
235 GDALCreateRPCTransformerV1( GDALRPCInfoV1 *psRPC,
int bReversed,
236 double dfPixErrThreshold,
237 char **papszOptions );
242 double dfPixErrThreshold,
243 char **papszOptions );
247 void *pTransformArg,
int bDstToSrc,
int nPointCount,
248 double *x,
double *y,
double *z,
int *panSuccess );
254 char **papszGeolocationInfo,
258 void *pTransformArg,
int bDstToSrc,
int nPointCount,
259 double *x,
double *y,
double *z,
int *panSuccess );
264 void *pRawTransformerArg,
double dfMaxError );
269 void *pTransformArg,
int bDstToSrc,
int nPointCount,
270 double *x,
double *y,
double *z,
int *panSuccess );
272 int CPL_DLL CPL_STDCALL
275 int nBandCount,
int *panBandList,
278 GDALProgressFunc pfnProgress,
280 char **papszWarpOptions );
282 CPLErr CPL_DLL CPL_STDCALL
286 double *padfGeoTransformOut,
287 int *pnPixels,
int *pnLines );
290 #define GDAL_SWO_ROUND_UP_SIZE 0x1
292 CPLErr CPL_DLL CPL_STDCALL
296 double *padfGeoTransformOut,
297 int *pnPixels,
int *pnLines,
306 void **ppTransformArg );
315 GDALProgressFunc pfnProgress,
317 char **papszOptions );
325 double *padfX,
double *padfY,
void * );
332 int bNoDataSet,
double dfNoDataValue,
333 double dfContourInterval,
double dfContourBase,
336 double *padfScanline );
344 double adfGeoTransform[6];
351 } OGRContourWriterInfo;
354 OGRContourWriter(
double,
int,
double *,
double *,
void *pInfo );
359 double dfContourInterval,
double dfContourBase,
360 int nFixedLevelCount,
double *padfFixedLevels,
361 int bUseNoData,
double dfNoDataValue,
362 void *hLayer,
int iIDField,
int iElevField,
363 GDALProgressFunc pfnProgress,
void *pProgressArg );
368 GDALProgressFunc pfnProgress,
void *pProgressArg );
385 GVOT_MIN_TARGET_HEIGHT_FROM_DEM = 2,
386 GVOT_MIN_TARGET_HEIGHT_FROM_GROUND = 3
391 const char* pszDriverName,
392 const char* pszTargetRasterName,
394 double dfObserverX,
double dfObserverY,
double dfObserverHeight,
395 double dfTargetHeight,
double dfVisibleVal,
double dfInvisibleVal,
396 double dfOutOfRangeVal,
double dfNoDataVal,
double dfCurvCoeff,
398 GDALProgressFunc pfnProgress,
void *pProgressArg,
407 int nBandCount,
const int *panBandList,
411 const double *padfGeomBurnValues,
413 GDALProgressFunc pfnProgress,
414 void * pProgressArg );
418 int nBandCount,
const int *panBandList,
422 const int64_t *panGeomBurnValues,
424 GDALProgressFunc pfnProgress,
425 void * pProgressArg );
429 int nBandCount,
int *panBandList,
433 double *padfLayerBurnValues,
435 GDALProgressFunc pfnProgress,
436 void *pProgressArg );
442 const char *pszDstProjection,
443 double *padfDstGeoTransform,
445 void *pTransformArg,
double dfBurnValue,
446 char **papszOptions, GDALProgressFunc pfnProgress,
447 void *pProgressArg );
656 const double *,
const double *,
const double *,
657 double,
double,
double,
double,
659 GDALProgressFunc,
void *);
667 const double *padfX,
const double *padfY,
const double *padfZ,
668 int bCallerWillKeepPointArraysAlive );
673 double dfXMin,
double dfXMax,
double dfYMin,
double dfYMax,
675 GDALProgressFunc pfnProgress,
void *pProgressArg );
691 int anNeighborIdx[3];
725 const double* padfY);
729 const double* padfY);
741 int* panOutputFacetIdx );
746 int* panOutputFacetIdx );
750 #ifndef CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid
751 #define CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid CPL_WARN_DEPRECATED
756 const char* pszProj4Geoidgrids,
759 CPL_WARN_DEPRECATED_GDALOpenVerticalShiftGrid(
"GDALOpenVerticalShiftGrid() will be removed in GDAL 4.0")
764 #ifndef CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid
765 #define CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid CPL_WARN_DEPRECATED
772 double dfSrcUnitToMeter,
773 double dfDstUnitToMeter,
774 const char*
const* papszOptions )
776 CPL_WARN_DEPRECATED_GDALApplyVerticalShiftGrid(
"GDALApplyVerticalShiftGrid() will be removed in GDAL 4.0")
GUInt32 nMaxPointsPerQuadrant
Definition: gdal_alg.h:537
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:68
size_t nSizeOfStructure
Definition: gdal_alg.h:550
Data metrics method control options.
Definition: gdal_alg.h:605
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:2757
void GDALDestroyGenImgProjTransformer(void *)
GenImgProjTransformer deallocator.
Definition: gdaltransformer.cpp:2649
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:203
@ GGA_Linear
Definition: gdal_alg.h:466
void * GDALCreateGenImgProjTransformer4(OGRSpatialReferenceH hSrcSRS, const double *padfSrcGeoTransform, OGRSpatialReferenceH hDstSRS, const double *padfDstGeoTransform, const char *const *papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:2509
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:409
void GDALDestroyGeoLocTransformer(void *pTransformArg)
Destroy GeoLocation transformer.
Definition: gdalgeoloc.cpp:1983
double dfRadius2
Definition: gdal_alg.h:612
void * GDALCreateReprojectionTransformerEx(OGRSpatialReferenceH hSrcSRS, OGRSpatialReferenceH hDstSRS, const char *const *papszOptions)
Create reprojection transformer.
Definition: gdaltransformer.cpp:3252
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:147
void GDAL_CG_Destroy(GDALContourGeneratorH hCG)
Destroy contour generator.
Definition: contour.cpp:746
int(* GDALTransformerFunc)(void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Definition: gdal_alg.h:115
void * GDALCreateGCPTransformer(int nGCPCount, const GDAL_GCP *pasGCPList, int nReqOrder, int bReversed)
Create GCP based polynomial transformer.
Definition: gdal_crs.cpp:330
GDALTriBarycentricCoefficients * pasFacetCoefficients
arra of nFacets barycentric coefficients
Definition: gdal_alg.h:718
GUInt32 nMinPoints
Definition: gdal_alg.h:623
void * GDALCreateGenImgProjTransformer3(const char *pszSrcWKT, const double *padfSrcGeoTransform, const char *pszDstWKT, const double *padfDstGeoTransform)
Create image to image transformer.
Definition: gdaltransformer.cpp:2454
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:200
GDALViewshedOutputType
Viewshed output types.
Definition: gdal_alg.h:383
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:310
double dfAnisotropyAngle
Definition: gdal_alg.h:483
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:278
GUInt32 nMaxPointsPerQuadrant
Definition: gdal_alg.h:577
@ GGA_MovingAverage
Definition: gdal_alg.h:456
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:376
@ GGA_MetricCount
Definition: gdal_alg.h:461
CPLErr GDALSuggestedWarpOutput2(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines, double *padfExtents, int nOptions)
Suggest output file size.
Definition: gdaltransformer.cpp:409
CPLErr GDALSuggestedWarpOutput(GDALDatasetH hSrcDS, GDALTransformerFunc pfnTransformer, void *pTransformArg, double *padfGeoTransformOut, int *pnPixels, int *pnLines)
Suggest output file size.
Definition: gdaltransformer.cpp:231
GDAL_GCP * GDALComputeMatchingPoints(GDALDatasetH hFirstImage, GDALDatasetH hSecondImage, char **papszOptions, int *pnGCPCount)
GDALComputeMatchingPoints.
Definition: gdalmatching.cpp:188
@ GGA_InverseDistanceToAPowerNearestNeighbor
Definition: gdal_alg.h:468
GUInt32 nMinPoints
Definition: gdal_alg.h:570
GUInt32 nMaxPoints
Definition: gdal_alg.h:497
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:378
double dfNoDataValue
Definition: gdal_alg.h:532
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:1776
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:375
GUInt32 nMinPoints
Definition: gdal_alg.h:530
double dfNoDataValue
Definition: gdal_alg.h:651
Inverse distance to a power, with nearest neighbour search, control options.
Definition: gdal_alg.h:509
GUInt32 nMinPoints
Definition: gdal_alg.h:503
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:953
double dfRadius
Definition: gdal_alg.h:649
double dfNoDataValue
Definition: gdal_alg.h:625
void GDALGetTransformerDstGeoTransform(void *, double *)
Get ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:4740
void GDALDestroyApproxTransformer(void *pApproxArg)
Cleanup approximate transformer.
Definition: gdaltransformer.cpp:3751
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:521
double dfRadius
Definition: gdal_alg.h:516
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:304
GUInt32 nMinPointsPerQuadrant
Definition: gdal_alg.h:543
double dfCstY
dfCstY
Definition: gdal_alg.h:710
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition: ogr_api.h:81
double dfSmoothing
Definition: gdal_alg.h:479
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:915
void GDALTriangulationFree(GDALTriangulation *psDT)
Free a triangulation.
Definition: delaunay.c:275
double dfRadius2
Definition: gdal_alg.h:554
CPLErr(* GDALContourWriter)(double dfLevel, int nPoints, double *padfX, double *padfY, void *)
Contour writer callback type.
Definition: gdal_alg.h:324
void * GDALCreateGeoLocTransformer(GDALDatasetH hBaseDS, char **papszGeolocationInfo, int bReversed)
Create GeoLocation transformer.
Definition: gdalgeoloc.cpp:1969
GUInt32 nMinPointsPerQuadrant
Definition: gdal_alg.h:636
int nFacets
number of facets
Definition: gdal_alg.h:716
void * GDALCreateApproxTransformer(GDALTransformerFunc pfnRawTransformer, void *pRawTransformerArg, double dfMaxError)
Create an approximating transformer.
Definition: gdaltransformer.cpp:3687
void GDALDestroyRPCTransformer(void *pTransformArg)
Destroy RPC tranformer.
Definition: gdal_rpc.cpp:1098
CPLErr GDAL_CG_FeedLine(GDALContourGeneratorH hCG, double *padfScanline)
Feed a line to the contour generator.
Definition: contour.cpp:734
void * GDALCreateRPCTransformerV2(const GDALRPCInfoV2 *psRPC, int bReversed, double dfPixErrThreshold, char **papszOptions)
Create an RPC based transformer.
Definition: gdal_rpc.cpp:810
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:340
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1056
double dfPower
Definition: gdal_alg.h:477
int GDALRPCTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
RPC transform.
Definition: gdal_rpc.cpp:2046
Moving average method control options.
Definition: gdal_alg.h:547
size_t nSizeOfStructure
Definition: gdal_alg.h:590
GUInt32 nMinPointsPerQuadrant
Definition: gdal_alg.h:583
int GDALGeoLocTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Use GeoLocation transformer.
Definition: gdalgeoloc.cpp:2014
Ground Control Point.
Definition: gdal.h:892
GUInt32 nMaxPoints
Definition: gdal_alg.h:564
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:306
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:414
void GDALDestroyGCPTransformer(void *pTransformArg)
Destroy GCP transformer.
Definition: gdal_crs.cpp:367
Linear method control options.
Definition: gdal_alg.h:640
void GDALDestroyTPSTransformer(void *pTransformArg)
Destroy TPS transformer.
Definition: gdal_tps.cpp:313
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:202
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:712
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:1353
double dfSmoothing
Definition: gdal_alg.h:518
void * GDALCreateReprojectionTransformer(const char *pszSrcWKT, const char *pszDstWKT)
Create reprojection transformer.
Definition: gdaltransformer.cpp:3181
Triangle fact.
Definition: gdal_alg.h:688
double dfRadius2
Definition: gdal_alg.h:487
void GDALDestroyReprojectionTransformer(void *)
Destroy reprojection transformation.
Definition: gdaltransformer.cpp:3351
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:1032
Nearest neighbor method control options.
Definition: gdal_alg.h:587
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:358
void GDALGridContextFree(GDALGridContext *psContext)
Free a context used created by GDALGridContextCreate()
Definition: gdalgrid.cpp:3338
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:66
double dfNoDataValue
Definition: gdal_alg.h:572
void GDALApproxTransformerOwnsSubtransformer(void *pCBData, int bOwnFlag)
Set bOwnSubtransformer flag.
Definition: gdaltransformer.cpp:3730
double dfAngle
Definition: gdal_alg.h:599
GUInt32 nMaxPointsPerQuadrant
Definition: gdal_alg.h:630
double dfMul1Y
dfMul1Y
Definition: gdal_alg.h:706
void GDALSetGenImgProjTransformerDstGeoTransform(void *, const double *)
Set GenImgProj output geotransform.
Definition: gdaltransformer.cpp:2618
void GDALSetTransformerDstGeoTransform(void *, const double *)
Set ApproxTransformer or GenImgProj output geotransform.
Definition: gdaltransformer.cpp:4716
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:464
double dfRadius2
Definition: gdal_alg.h:594
double dfMul1X
dfMul1X
Definition: gdal_alg.h:705
double dfNoDataValue
Definition: gdal_alg.h:601
@ GGA_MetricRange
Definition: gdal_alg.h:460
double dfRadius1
Definition: gdal_alg.h:610
size_t nSizeOfStructure
Definition: gdal_alg.h:512
int GDALApproxTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform approximate transformation.
Definition: gdaltransformer.cpp:4079
void * GDALContourGeneratorH
Contour generator opaque type.
Definition: gdal_alg.h:328
int GDALGenImgProjTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform general image reprojection transformation.
Definition: gdaltransformer.cpp:2687
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:882
GDALTriFacet * pasFacets
array of nFacets facets
Definition: gdal_alg.h:717
CPLErr GDALContourGenerateEx(GDALRasterBandH hBand, void *hLayer, CSLConstList options, GDALProgressFunc pfnProgress, void *pProgressArg)
Create vector contours from raster DEM.
Definition: contour.cpp:523
double dfAnisotropyRatio
Definition: gdal_alg.h:481
struct GDALGridContext GDALGridContext
Grid context opaque type.
Definition: gdal_alg.h:662
GDALDatasetH GDALOpenVerticalShiftGrid(const char *pszProj4Geoidgrids, int *pbError)
Load proj.4 geoidgrids as GDAL dataset.
Definition: gdalapplyverticalshiftgrid.cpp:619
double dfRadius1
Definition: gdal_alg.h:552
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:230
size_t nSizeOfStructure
Definition: gdal_alg.h:608
double dfRadius1
Definition: gdal_alg.h:592
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:147
CPLErr
Error category.
Definition: cpl_error.h:52
void * GDALCreateGenImgProjTransformer2(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, char **papszOptions)
Create image to image transformer.
Definition: gdaltransformer.cpp:1766
double dfMul2Y
dfMul2Y
Definition: gdal_alg.h:708
int GDALHasTriangulation(void)
Returns if GDAL is built with Delaunay triangulation support.
Definition: delaunay.c:92
double dfMul2X
dfMul2X
Definition: gdal_alg.h:707
size_t nSizeOfStructure
Definition: gdal_alg.h:475
int GDALReprojectionTransform(void *pTransformArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Perform reprojection transformation.
Definition: gdaltransformer.cpp:3384
double dfNoDataValue
Definition: gdal_alg.h:505
double dfAngle
Definition: gdal_alg.h:617
double dfPower
Definition: gdal_alg.h:514
double dfAngle
Definition: gdal_alg.h:492
int GDALTriangulationComputeBarycentricCoefficients(GDALTriangulation *psDT, const double *padfX, const double *padfY)
Computes barycentric coefficients for each triangles of the triangulation.
Definition: delaunay.c:301
double dfAngle
Definition: gdal_alg.h:559
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:3631
GDALTriangulation * GDALTriangulationCreateDelaunay(int nPoints, const double *padfX, const double *padfY)
Computes a Delaunay triangulation of the passed points.
Definition: delaunay.c:115
@ GGA_NearestNeighbor
Definition: gdal_alg.h:457
@ GGA_MetricMaximum
Definition: gdal_alg.h:459
Inverse distance to a power method control options.
Definition: gdal_alg.h:472
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:1382
@ GGA_MetricAverageDistance
Definition: gdal_alg.h:462
@ GGA_InverseDistanceToAPower
Definition: gdal_alg.h:455
Triangle barycentric coefficients.
Definition: gdal_alg.h:703
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1478
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:592
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:454
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:272
size_t nSizeOfStructure
Definition: gdal_alg.h:643
Triangulation structure.
Definition: gdal_alg.h:714
double dfRadius1
Definition: gdal_alg.h:485
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:269
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:3392
double dfCstX
dfCstX
Definition: gdal_alg.h:709
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:426
GUInt32 nMaxPoints
Definition: gdal_alg.h:524
@ GGA_MetricMinimum
Definition: gdal_alg.h:458
unsigned int GUInt32
Unsigned int32 type.
Definition: cpl_port.h:195