GDAL

gdal.h
Go to the documentation of this file.
1 /******************************************************************************
2 * $Id$
3 *
4 * Project: GDAL Core
5 * Purpose: GDAL Core C/Public declarations.
6 * Author: Frank Warmerdam, warmerdam@pobox.com
7 *
8 ******************************************************************************
9 * Copyright (c) 1998, 2002 Frank Warmerdam
10 * Copyright (c) 2007-2014, Even Rouault <even dot rouault at spatialys.com>
11 *
12 * Permission is hereby granted, free of charge, to any person obtaining a
13 * copy of this software and associated documentation files (the "Software"),
14 * to deal in the Software without restriction, including without limitation
15 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 * and/or sell copies of the Software, and to permit persons to whom the
17 * Software is furnished to do so, subject to the following conditions:
18 *
19 * The above copyright notice and this permission notice shall be included
20 * in all copies or substantial portions of the Software.
21 *
22 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28 * DEALINGS IN THE SOFTWARE.
29 ****************************************************************************/
30
31 #ifndef GDAL_H_INCLUDED
32 #define GDAL_H_INCLUDED
33
40 #ifndef DOXYGEN_SKIP
41 #if defined(GDAL_COMPILATION)
42 #define DO_NOT_DEFINE_GDAL_DATE_NAME
43 #endif
44 #include "gdal_version.h"
45 #include "cpl_port.h"
46 #include "cpl_error.h"
47 #include "cpl_progress.h"
48 #include "cpl_virtualmem.h"
49 #include "cpl_minixml.h"
50 #include "ogr_api.h"
51 #endif
52
53 #include <stdbool.h>
54 #include <stdint.h>
55
56 /* -------------------------------------------------------------------- */
57 /* Significant constants. */
58 /* -------------------------------------------------------------------- */
59
60 CPL_C_START
61
63 typedef enum
64 { GDT_Unknown = 0, GDT_Byte = 1, GDT_Int8 = 14, GDT_UInt16 = 2, GDT_Int16 = 3, GDT_UInt32 = 4, GDT_Int32 = 5, GDT_UInt64 = 12, GDT_Int64 = 13, GDT_Float32 = 6, GDT_Float64 = 7, GDT_CInt16 = 8, GDT_CInt32 = 9,
78 /* TODO?(#6879): GDT_CInt64 */ GDT_CFloat32 = 10, GDT_CFloat64 = 11,
81 GDT_TypeCount = 15 /* maximum type # + 1 */
82 } GDALDataType;
83
84 int CPL_DLL CPL_STDCALL GDALGetDataTypeSize(GDALDataType); // Deprecated.
85 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBits(GDALDataType eDataType);
86 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBytes(GDALDataType);
87 int CPL_DLL CPL_STDCALL GDALDataTypeIsComplex(GDALDataType);
88 int CPL_DLL CPL_STDCALL GDALDataTypeIsInteger(GDALDataType);
89 int CPL_DLL CPL_STDCALL GDALDataTypeIsFloating(GDALDataType);
90 int CPL_DLL CPL_STDCALL GDALDataTypeIsSigned(GDALDataType);
91 const char CPL_DLL *CPL_STDCALL GDALGetDataTypeName(GDALDataType);
92 GDALDataType CPL_DLL CPL_STDCALL GDALGetDataTypeByName(const char *);
93 GDALDataType CPL_DLL CPL_STDCALL GDALDataTypeUnion(GDALDataType, GDALDataType);
94 GDALDataType CPL_DLL CPL_STDCALL GDALDataTypeUnionWithValue(GDALDataType eDT,
95 double dValue,
96 int bComplex);
97 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataType(int nBits, int bSigned,
98 int bFloating, int bComplex);
99 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataTypeForValue(double dValue,
100 int bComplex);
101 double CPL_DLL GDALAdjustValueToDataType(GDALDataType eDT, double dfValue,
102 int *pbClamped, int *pbRounded);
103 GDALDataType CPL_DLL CPL_STDCALL GDALGetNonComplexDataType(GDALDataType);
104 int CPL_DLL CPL_STDCALL GDALDataTypeIsConversionLossy(GDALDataType eTypeFrom,
105 GDALDataType eTypeTo);
106
110 typedef enum
111 {
112 GARIO_PENDING = 0,
113 GARIO_UPDATE = 1,
114 GARIO_ERROR = 2,
115 GARIO_COMPLETE = 3,
116 GARIO_TypeCount = 4
117 } GDALAsyncStatusType;
118
119 const char CPL_DLL *CPL_STDCALL GDALGetAsyncStatusTypeName(GDALAsyncStatusType);
120 GDALAsyncStatusType CPL_DLL CPL_STDCALL
121 GDALGetAsyncStatusTypeByName(const char *);
122
124 typedef enum
125 { GA_ReadOnly = 0, GA_Update = 1
128 } GDALAccess;
129
131 typedef enum
132 { GF_Read = 0, GF_Write = 1
135 } GDALRWFlag;
136
137 /* NOTE: values are selected to be consistent with GDALResampleAlg of
138 * alg/gdalwarper.h */
142 typedef enum
143 { GRIORA_NearestNeighbour = 0, GRIORA_Bilinear = 1, GRIORA_Cubic = 2, GRIORA_CubicSpline = 3, GRIORA_Lanczos = 4, GRIORA_Average = 5,
152 GRIORA_Mode = 6, GRIORA_Gauss = 7,
154 /* NOTE: values 8 to 13 are reserved for max,min,med,Q1,Q3,sum */
156 GRIORA_RESERVED_START = 8,
157 GRIORA_RESERVED_END = 13,
163 GRIORA_RMS = 14,
165 GRIORA_LAST = GRIORA_RMS
167 } GDALRIOResampleAlg;
168
169 /* NOTE to developers: only add members, and if so edit INIT_RASTERIO_EXTRA_ARG
170 */
175 typedef struct
176 {
178 int nVersion;
179
181 GDALRIOResampleAlg eResampleAlg;
182
184 GDALProgressFunc pfnProgress;
186 void *pProgressData;
187
193 int bFloatingPointWindowValidity;
196 double dfXOff;
199 double dfYOff;
202 double dfXSize;
205 double dfYSize;
206 } GDALRasterIOExtraArg;
207
208 #ifndef DOXYGEN_SKIP
209 #define RASTERIO_EXTRA_ARG_CURRENT_VERSION 1
210 #endif
211
215 #define INIT_RASTERIO_EXTRA_ARG(s) \
216 do \
217 { \
218 (s).nVersion = RASTERIO_EXTRA_ARG_CURRENT_VERSION; \
219 (s).eResampleAlg = GRIORA_NearestNeighbour; \
220 (s).pfnProgress = CPL_NULLPTR; \
221 (s).pProgressData = CPL_NULLPTR; \
222 (s).bFloatingPointWindowValidity = FALSE; \
223 } while (0)
224
226 typedef enum
227 { GCI_Undefined = 0, GCI_GrayIndex = 1, GCI_PaletteIndex = 2, GCI_RedBand = 3, GCI_GreenBand = 4, GCI_BlueBand = 5, GCI_AlphaBand = 6, GCI_HueBand = 7, GCI_SaturationBand = 8, GCI_LightnessBand = 9, GCI_CyanBand = 10, GCI_MagentaBand = 11, GCI_YellowBand = 12, GCI_BlackBand = 13, GCI_YCbCr_YBand = 14, GCI_YCbCr_CbBand = 15, GCI_YCbCr_CrBand = 16, GCI_Max = 16
246 } GDALColorInterp;
247
248 const char CPL_DLL *GDALGetColorInterpretationName(GDALColorInterp);
249 GDALColorInterp CPL_DLL GDALGetColorInterpretationByName(const char *pszName);
250
252 typedef enum
253 { GPI_Gray = 0, GPI_RGB = 1, GPI_CMYK = 2, GPI_HLS = 3
258 } GDALPaletteInterp;
259
260 const char CPL_DLL *GDALGetPaletteInterpretationName(GDALPaletteInterp);
261
262 /* "well known" metadata items. */
263
266 #define GDALMD_AREA_OR_POINT "AREA_OR_POINT"
267
269 #define GDALMD_AOP_AREA "Area"
270
272 #define GDALMD_AOP_POINT "Point"
273
274 /* -------------------------------------------------------------------- */
275 /* GDAL Specific error codes. */
276 /* */
277 /* error codes 100 to 299 reserved for GDAL. */
278 /* -------------------------------------------------------------------- */
279 #ifndef DOXYGEN_SKIP
280 #define CPLE_WrongFormat CPL_STATIC_CAST(CPLErrorNum, 200)
281 #endif
282
283 /* -------------------------------------------------------------------- */
284 /* Define handle types related to various internal classes. */
285 /* -------------------------------------------------------------------- */
286
288 typedef void *GDALMajorObjectH;
289
291 typedef void *GDALDatasetH;
292
294 typedef void *GDALRasterBandH;
295
297 typedef void *GDALDriverH;
298
300 typedef void *GDALColorTableH;
301
304 typedef void *GDALRasterAttributeTableH;
305
307 typedef void *GDALAsyncReaderH;
308
312 typedef void *GDALRelationshipH;
313
315 typedef GIntBig GSpacing;
316
320 typedef enum
321 {
323 GEDTC_NUMERIC,
325 GEDTC_STRING,
327 GEDTC_COMPOUND
328 } GDALExtendedDataTypeClass;
329
333 typedef enum
334 {
336 GEDTST_NONE,
338 GEDTST_JSON
339 } GDALExtendedDataTypeSubType;
340
342 typedef struct GDALExtendedDataTypeHS *GDALExtendedDataTypeH;
344 typedef struct GDALEDTComponentHS *GDALEDTComponentH;
346 typedef struct GDALGroupHS *GDALGroupH;
348 typedef struct GDALMDArrayHS *GDALMDArrayH;
350 typedef struct GDALAttributeHS *GDALAttributeH;
352 typedef struct GDALDimensionHS *GDALDimensionH;
353
354 /* ==================================================================== */
355 /* Registration/driver related. */
356 /* ==================================================================== */
357
359 #define GDAL_DMD_LONGNAME "DMD_LONGNAME"
360
362 #define GDAL_DMD_HELPTOPIC "DMD_HELPTOPIC"
363
365 #define GDAL_DMD_MIMETYPE "DMD_MIMETYPE"
366
368 #define GDAL_DMD_EXTENSION "DMD_EXTENSION"
369
374 #define GDAL_DMD_CONNECTION_PREFIX "DMD_CONNECTION_PREFIX"
375
379 #define GDAL_DMD_EXTENSIONS "DMD_EXTENSIONS"
380
382 #define GDAL_DMD_CREATIONOPTIONLIST "DMD_CREATIONOPTIONLIST"
383
387 #define GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST \
388 "DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST"
389
393 #define GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST \
394 "DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST"
395
399 #define GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST \
400 "DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST"
401
405 #define GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST \
406 "DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST"
407
411 #define GDAL_DMD_MULTIDIM_ARRAY_OPENOPTIONLIST \
412 "DMD_MULTIDIM_ARRAY_OPENOPTIONLIST"
413
417 #define GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST \
418 "DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST"
419
423 #define GDAL_DMD_OPENOPTIONLIST "DMD_OPENOPTIONLIST"
424
427 #define GDAL_DMD_CREATIONDATATYPES "DMD_CREATIONDATATYPES"
428
433 #define GDAL_DMD_CREATIONFIELDDATATYPES "DMD_CREATIONFIELDDATATYPES"
434
439 #define GDAL_DMD_CREATIONFIELDDATASUBTYPES "DMD_CREATIONFIELDDATASUBTYPES"
440
458 #define GDAL_DMD_CREATION_FIELD_DEFN_FLAGS "DMD_CREATION_FIELD_DEFN_FLAGS"
459
468 #define GDAL_DMD_SUBDATASETS "DMD_SUBDATASETS"
469
478 #define GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR \
479 "DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR"
480
489 #define GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN \
490 "DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN"
491
493 #define GDAL_DCAP_OPEN "DCAP_OPEN"
494
503 #define GDAL_DCAP_CREATE "DCAP_CREATE"
504
509 #define GDAL_DCAP_CREATE_MULTIDIMENSIONAL "DCAP_CREATE_MULTIDIMENSIONAL"
510
519 #define GDAL_DCAP_CREATECOPY "DCAP_CREATECOPY"
520
526 #define GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL "DCAP_CREATECOPY_MULTIDIMENSIONAL"
527
531 #define GDAL_DCAP_MULTIDIM_RASTER "DCAP_MULTIDIM_RASTER"
532
534 #define GDAL_DCAP_SUBCREATECOPY "DCAP_SUBCREATECOPY"
535
538 #define GDAL_DCAP_VIRTUALIO "DCAP_VIRTUALIO"
539
543 #define GDAL_DCAP_RASTER "DCAP_RASTER"
544
548 #define GDAL_DCAP_VECTOR "DCAP_VECTOR"
549
553 #define GDAL_DCAP_GNM "DCAP_GNM"
554
558 #define GDAL_DCAP_CREATE_LAYER "DCAP_CREATE_LAYER"
559
563 #define GDAL_DCAP_DELETE_LAYER "DCAP_DELETE_LAYER"
564
568 #define GDAL_DCAP_CREATE_FIELD "DCAP_CREATE_FIELD"
569
573 #define GDAL_DCAP_DELETE_FIELD "DCAP_DELETE_FIELD"
574
578 #define GDAL_DCAP_REORDER_FIELDS "DCAP_REORDER_FIELDS"
579
599 #define GDAL_DMD_ALTER_FIELD_DEFN_FLAGS "GDAL_DMD_ALTER_FIELD_DEFN_FLAGS"
600
606 #define GDAL_DMD_ILLEGAL_FIELD_NAMES "GDAL_DMD_ILLEGAL_FIELD_NAMES"
607
611 #define GDAL_DCAP_NOTNULL_FIELDS "DCAP_NOTNULL_FIELDS"
612
616 #define GDAL_DCAP_UNIQUE_FIELDS "DCAP_UNIQUE_FIELDS"
617
621 #define GDAL_DCAP_DEFAULT_FIELDS "DCAP_DEFAULT_FIELDS"
622
627 #define GDAL_DCAP_NOTNULL_GEOMFIELDS "DCAP_NOTNULL_GEOMFIELDS"
628
634 #define GDAL_DCAP_NONSPATIAL "DCAP_NONSPATIAL"
635
639 #define GDAL_DCAP_CURVE_GEOMETRIES "DCAP_CURVE_GEOMETRIES"
640
645 #define GDAL_DCAP_MEASURED_GEOMETRIES "DCAP_MEASURED_GEOMETRIES"
646
651 #define GDAL_DCAP_Z_GEOMETRIES "DCAP_Z_GEOMETRIES"
652
665 #define GDAL_DMD_GEOMETRY_FLAGS "GDAL_DMD_GEOMETRY_FLAGS"
666
675 #define GDAL_DCAP_FEATURE_STYLES "DCAP_FEATURE_STYLES"
676
680 #define GDAL_DCAP_FEATURE_STYLES_READ "DCAP_FEATURE_STYLES_READ"
681
685 #define GDAL_DCAP_FEATURE_STYLES_WRITE "DCAP_FEATURE_STYLES_WRITE"
686
691 #define GDAL_DCAP_COORDINATE_EPOCH "DCAP_COORDINATE_EPOCH"
692
701 #define GDAL_DCAP_MULTIPLE_VECTOR_LAYERS "DCAP_MULTIPLE_VECTOR_LAYERS"
702
707 #define GDAL_DCAP_FIELD_DOMAINS "DCAP_FIELD_DOMAINS"
708
714 #define GDAL_DCAP_RELATIONSHIPS "DCAP_RELATIONSHIPS"
715
720 #define GDAL_DCAP_CREATE_RELATIONSHIP "DCAP_CREATE_RELATIONSHIP"
721
726 #define GDAL_DCAP_DELETE_RELATIONSHIP "DCAP_DELETE_RELATIONSHIP"
727
732 #define GDAL_DCAP_UPDATE_RELATIONSHIP "DCAP_UPDATE_RELATIONSHIP"
733
760 #define GDAL_DMD_RELATIONSHIP_FLAGS "GDAL_DMD_RELATIONSHIP_FLAGS"
761
769 #define GDAL_DMD_RELATIONSHIP_RELATED_TABLE_TYPES \
770 "GDAL_DMD_RELATIONSHIP_RELATED_TABLE_TYPES"
771
776 #define GDAL_DCAP_RENAME_LAYERS "DCAP_RENAME_LAYERS"
777
787 #define GDAL_DMD_CREATION_FIELD_DOMAIN_TYPES "DMD_CREATION_FIELD_DOMAIN_TYPES"
788
804 #define GDAL_DMD_ALTER_GEOM_FIELD_DEFN_FLAGS "DMD_ALTER_GEOM_FIELD_DEFN_FLAGS"
805
827 #define GDAL_DMD_SUPPORTED_SQL_DIALECTS "DMD_SUPPORTED_SQL_DIALECTS"
828
833 #define GDAL_DIM_TYPE_HORIZONTAL_X "HORIZONTAL_X"
834
839 #define GDAL_DIM_TYPE_HORIZONTAL_Y "HORIZONTAL_Y"
840
844 #define GDAL_DIM_TYPE_VERTICAL "VERTICAL"
845
849 #define GDAL_DIM_TYPE_TEMPORAL "TEMPORAL"
850
854 #define GDAL_DIM_TYPE_PARAMETRIC "PARAMETRIC"
855
856 #define GDsCAddRelationship \
857 "AddRelationship"
859 #define GDsCDeleteRelationship \
860 "DeleteRelationship"
862 #define GDsCUpdateRelationship \
863 "UpdateRelationship"
866 void CPL_DLL CPL_STDCALL GDALAllRegister(void);
867
868 GDALDatasetH CPL_DLL CPL_STDCALL
869 GDALCreate(GDALDriverH hDriver, const char *, int, int, int, GDALDataType,
870 CSLConstList) CPL_WARN_UNUSED_RESULT;
871 GDALDatasetH CPL_DLL CPL_STDCALL GDALCreateCopy(GDALDriverH, const char *,
872 GDALDatasetH, int, CSLConstList,
873 GDALProgressFunc,
874 void *) CPL_WARN_UNUSED_RESULT;
875
876 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriver(const char *pszFilename,
877 CSLConstList papszFileList);
878
879 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriverEx(
880 const char *pszFilename, unsigned int nIdentifyFlags,
881 const char *const *papszAllowedDrivers, const char *const *papszFileList);
882
883 GDALDatasetH CPL_DLL CPL_STDCALL
884 GDALOpen(const char *pszFilename, GDALAccess eAccess) CPL_WARN_UNUSED_RESULT;
885 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenShared(const char *, GDALAccess)
886 CPL_WARN_UNUSED_RESULT;
887
888 /* Note: we define GDAL_OF_READONLY and GDAL_OF_UPDATE to be on purpose */
889 /* equals to GA_ReadOnly and GA_Update */
890
895 #define GDAL_OF_READONLY 0x00
896
901 #define GDAL_OF_UPDATE 0x01
902
907 #define GDAL_OF_ALL 0x00
908
913 #define GDAL_OF_RASTER 0x02
914
919 #define GDAL_OF_VECTOR 0x04
920
925 #define GDAL_OF_GNM 0x08
926
931 #define GDAL_OF_MULTIDIM_RASTER 0x10
932
933 #ifndef DOXYGEN_SKIP
934 #define GDAL_OF_KIND_MASK 0x1E
935 #endif
936
941 #define GDAL_OF_SHARED 0x20
942
947 #define GDAL_OF_VERBOSE_ERROR 0x40
948
955 #define GDAL_OF_INTERNAL 0x80
956
966 #define GDAL_OF_DEFAULT_BLOCK_ACCESS 0
967
976 #define GDAL_OF_ARRAY_BLOCK_ACCESS 0x100
977
986 #define GDAL_OF_HASHSET_BLOCK_ACCESS 0x200
987
988 #ifndef DOXYGEN_SKIP
989 /* Reserved for a potential future alternative to GDAL_OF_ARRAY_BLOCK_ACCESS
990 * and GDAL_OF_HASHSET_BLOCK_ACCESS */
991 #define GDAL_OF_RESERVED_1 0x300
992
994 #define GDAL_OF_BLOCK_ACCESS_MASK 0x300
995 #endif
996
997 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx(
998 const char *pszFilename, unsigned int nOpenFlags,
999 const char *const *papszAllowedDrivers, const char *const *papszOpenOptions,
1000 const char *const *papszSiblingFiles) CPL_WARN_UNUSED_RESULT;
1001
1002 int CPL_DLL CPL_STDCALL GDALDumpOpenDatasets(FILE *);
1003
1004 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriverByName(const char *);
1005 int CPL_DLL CPL_STDCALL GDALGetDriverCount(void);
1006 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriver(int);
1007 GDALDriverH CPL_DLL CPL_STDCALL GDALCreateDriver(void);
1008 void CPL_DLL CPL_STDCALL GDALDestroyDriver(GDALDriverH);
1009 int CPL_DLL CPL_STDCALL GDALRegisterDriver(GDALDriverH);
1010 void CPL_DLL CPL_STDCALL GDALDeregisterDriver(GDALDriverH);
1011 void CPL_DLL CPL_STDCALL GDALDestroyDriverManager(void);
1012 #ifndef DOXYGEN_SKIP
1013 void CPL_DLL GDALDestroy(void);
1014 #endif
1015 CPLErr CPL_DLL CPL_STDCALL GDALDeleteDataset(GDALDriverH, const char *);
1016 CPLErr CPL_DLL CPL_STDCALL GDALRenameDataset(GDALDriverH,
1017 const char *pszNewName,
1018 const char *pszOldName);
1019 CPLErr CPL_DLL CPL_STDCALL GDALCopyDatasetFiles(GDALDriverH,
1020 const char *pszNewName,
1021 const char *pszOldName);
1022 int CPL_DLL CPL_STDCALL
1023 GDALValidateCreationOptions(GDALDriverH, CSLConstList papszCreationOptions);
1024
1025 /* The following are deprecated */
1026 const char CPL_DLL *CPL_STDCALL GDALGetDriverShortName(GDALDriverH);
1027 const char CPL_DLL *CPL_STDCALL GDALGetDriverLongName(GDALDriverH);
1028 const char CPL_DLL *CPL_STDCALL GDALGetDriverHelpTopic(GDALDriverH);
1029 const char CPL_DLL *CPL_STDCALL GDALGetDriverCreationOptionList(GDALDriverH);
1030
1031 /* ==================================================================== */
1032 /* GDAL_GCP */
1033 /* ==================================================================== */
1034
1036 typedef struct
1037 {
1039 char *pszId;
1040
1042 char *pszInfo;
1043
1045 double dfGCPPixel;
1047 double dfGCPLine;
1048
1050 double dfGCPX;
1051
1053 double dfGCPY;
1054
1056 double dfGCPZ;
1057 } GDAL_GCP;
1058
1059 void CPL_DLL CPL_STDCALL GDALInitGCPs(int, GDAL_GCP *);
1060 void CPL_DLL CPL_STDCALL GDALDeinitGCPs(int, GDAL_GCP *);
1061 GDAL_GCP CPL_DLL *CPL_STDCALL GDALDuplicateGCPs(int, const GDAL_GCP *);
1062
1063 int CPL_DLL CPL_STDCALL GDALGCPsToGeoTransform(
1064 int nGCPCount, const GDAL_GCP *pasGCPs, double *padfGeoTransform,
1065 int bApproxOK) CPL_WARN_UNUSED_RESULT;
1066 int CPL_DLL CPL_STDCALL GDALInvGeoTransform(double *padfGeoTransformIn,
1067 double *padfInvGeoTransformOut)
1068 CPL_WARN_UNUSED_RESULT;
1069 void CPL_DLL CPL_STDCALL GDALApplyGeoTransform(double *, double, double,
1070 double *, double *);
1071 void CPL_DLL GDALComposeGeoTransforms(const double *padfGeoTransform1,
1072 const double *padfGeoTransform2,
1073 double *padfGeoTransformOut);
1074
1075 /* ==================================================================== */
1076 /* major objects (dataset, and, driver, drivermanager). */
1077 /* ==================================================================== */
1078
1079 char CPL_DLL **CPL_STDCALL GDALGetMetadataDomainList(GDALMajorObjectH hObject);
1080 char CPL_DLL **CPL_STDCALL GDALGetMetadata(GDALMajorObjectH, const char *);
1081 CPLErr CPL_DLL CPL_STDCALL GDALSetMetadata(GDALMajorObjectH, CSLConstList,
1082 const char *);
1083 const char CPL_DLL *CPL_STDCALL GDALGetMetadataItem(GDALMajorObjectH,
1084 const char *, const char *);
1085 CPLErr CPL_DLL CPL_STDCALL GDALSetMetadataItem(GDALMajorObjectH, const char *,
1086 const char *, const char *);
1087 const char CPL_DLL *CPL_STDCALL GDALGetDescription(GDALMajorObjectH);
1088 void CPL_DLL CPL_STDCALL GDALSetDescription(GDALMajorObjectH, const char *);
1089
1090 /* ==================================================================== */
1091 /* GDALDataset class ... normally this represents one file. */
1092 /* ==================================================================== */
1093
1095 #define GDAL_DS_LAYER_CREATIONOPTIONLIST "DS_LAYER_CREATIONOPTIONLIST"
1096
1097 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDatasetDriver(GDALDatasetH);
1098 char CPL_DLL **CPL_STDCALL GDALGetFileList(GDALDatasetH);
1099 CPLErr CPL_DLL CPL_STDCALL GDALClose(GDALDatasetH);
1100 int CPL_DLL CPL_STDCALL GDALGetRasterXSize(GDALDatasetH);
1101 int CPL_DLL CPL_STDCALL GDALGetRasterYSize(GDALDatasetH);
1102 int CPL_DLL CPL_STDCALL GDALGetRasterCount(GDALDatasetH);
1103 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetRasterBand(GDALDatasetH, int);
1104
1105 CPLErr CPL_DLL CPL_STDCALL GDALAddBand(GDALDatasetH hDS, GDALDataType eType,
1106 CSLConstList papszOptions);
1107
1108 GDALAsyncReaderH CPL_DLL CPL_STDCALL GDALBeginAsyncReader(
1109 GDALDatasetH hDS, int nXOff, int nYOff, int nXSize, int nYSize, void *pBuf,
1110 int nBufXSize, int nBufYSize, GDALDataType eBufType, int nBandCount,
1111 int *panBandMap, int nPixelSpace, int nLineSpace, int nBandSpace,
1112 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1113
1114 void CPL_DLL CPL_STDCALL GDALEndAsyncReader(GDALDatasetH hDS,
1115 GDALAsyncReaderH hAsynchReaderH);
1116
1117 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIO(
1118 GDALDatasetH hDS, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff,
1119 int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize,
1120 GDALDataType eBDataType, int nBandCount, int *panBandCount, int nPixelSpace,
1121 int nLineSpace, int nBandSpace) CPL_WARN_UNUSED_RESULT;
1122
1123 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIOEx(
1124 GDALDatasetH hDS, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff,
1125 int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize,
1126 GDALDataType eBDataType, int nBandCount, int *panBandCount,
1127 GSpacing nPixelSpace, GSpacing nLineSpace, GSpacing nBandSpace,
1128 GDALRasterIOExtraArg *psExtraArg) CPL_WARN_UNUSED_RESULT;
1129
1130 CPLErr CPL_DLL CPL_STDCALL GDALDatasetAdviseRead(
1131 GDALDatasetH hDS, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
1132 int nBXSize, int nBYSize, GDALDataType eBDataType, int nBandCount,
1133 int *panBandCount, CSLConstList papszOptions);
1134
1135 char CPL_DLL **
1136 GDALDatasetGetCompressionFormats(GDALDatasetH hDS, int nXOff, int nYOff,
1137 int nXSize, int nYSize, int nBandCount,
1138 const int *panBandList) CPL_WARN_UNUSED_RESULT;
1139 CPLErr CPL_DLL GDALDatasetReadCompressedData(
1140 GDALDatasetH hDS, const char *pszFormat, int nXOff, int nYOff, int nXSize,
1141 int nYSize, int nBandCount, const int *panBandList, void **ppBuffer,
1142 size_t *pnBufferSize, char **ppszDetailedFormat);
1143
1144 const char CPL_DLL *CPL_STDCALL GDALGetProjectionRef(GDALDatasetH);
1145 OGRSpatialReferenceH CPL_DLL GDALGetSpatialRef(GDALDatasetH);
1146 CPLErr CPL_DLL CPL_STDCALL GDALSetProjection(GDALDatasetH, const char *);
1147 CPLErr CPL_DLL GDALSetSpatialRef(GDALDatasetH, OGRSpatialReferenceH);
1148 CPLErr CPL_DLL CPL_STDCALL GDALGetGeoTransform(GDALDatasetH, double *);
1149 CPLErr CPL_DLL CPL_STDCALL GDALSetGeoTransform(GDALDatasetH, double *);
1150
1151 int CPL_DLL CPL_STDCALL GDALGetGCPCount(GDALDatasetH);
1152 const char CPL_DLL *CPL_STDCALL GDALGetGCPProjection(GDALDatasetH);
1153 OGRSpatialReferenceH CPL_DLL GDALGetGCPSpatialRef(GDALDatasetH);
1154 const GDAL_GCP CPL_DLL *CPL_STDCALL GDALGetGCPs(GDALDatasetH);
1155 CPLErr CPL_DLL CPL_STDCALL GDALSetGCPs(GDALDatasetH, int, const GDAL_GCP *,
1156 const char *);
1157 CPLErr CPL_DLL GDALSetGCPs2(GDALDatasetH, int, const GDAL_GCP *,
1158 OGRSpatialReferenceH);
1159
1160 void CPL_DLL *CPL_STDCALL GDALGetInternalHandle(GDALDatasetH, const char *);
1161 int CPL_DLL CPL_STDCALL GDALReferenceDataset(GDALDatasetH);
1162 int CPL_DLL CPL_STDCALL GDALDereferenceDataset(GDALDatasetH);
1163 int CPL_DLL CPL_STDCALL GDALReleaseDataset(GDALDatasetH);
1164
1165 CPLErr CPL_DLL CPL_STDCALL GDALBuildOverviews(GDALDatasetH, const char *, int,
1166 const int *, int, const int *,
1167 GDALProgressFunc,
1168 void *) CPL_WARN_UNUSED_RESULT;
1169 CPLErr CPL_DLL CPL_STDCALL GDALBuildOverviewsEx(
1170 GDALDatasetH, const char *, int, const int *, int, const int *,
1171 GDALProgressFunc, void *, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1172 void CPL_DLL CPL_STDCALL GDALGetOpenDatasets(GDALDatasetH **hDS, int *pnCount);
1173 int CPL_DLL CPL_STDCALL GDALGetAccess(GDALDatasetH hDS);
1174 CPLErr CPL_DLL CPL_STDCALL GDALFlushCache(GDALDatasetH hDS);
1175
1176 CPLErr CPL_DLL CPL_STDCALL GDALCreateDatasetMaskBand(GDALDatasetH hDS,
1177 int nFlags);
1178
1179 CPLErr CPL_DLL CPL_STDCALL GDALDatasetCopyWholeRaster(
1180 GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions,
1181 GDALProgressFunc pfnProgress, void *pProgressData) CPL_WARN_UNUSED_RESULT;
1182
1183 CPLErr CPL_DLL CPL_STDCALL GDALRasterBandCopyWholeRaster(
1184 GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand,
1185 const char *const *constpapszOptions, GDALProgressFunc pfnProgress,
1186 void *pProgressData) CPL_WARN_UNUSED_RESULT;
1187
1188 CPLErr CPL_DLL GDALRegenerateOverviews(GDALRasterBandH hSrcBand,
1189 int nOverviewCount,
1190 GDALRasterBandH *pahOverviewBands,
1191 const char *pszResampling,
1192 GDALProgressFunc pfnProgress,
1193 void *pProgressData);
1194
1195 CPLErr CPL_DLL GDALRegenerateOverviewsEx(GDALRasterBandH hSrcBand,
1196 int nOverviewCount,
1197 GDALRasterBandH *pahOverviewBands,
1198 const char *pszResampling,
1199 GDALProgressFunc pfnProgress,
1200 void *pProgressData,
1201 CSLConstList papszOptions);
1202
1203 int CPL_DLL GDALDatasetGetLayerCount(GDALDatasetH);
1204 OGRLayerH CPL_DLL GDALDatasetGetLayer(GDALDatasetH, int);
1205 OGRLayerH CPL_DLL GDALDatasetGetLayerByName(GDALDatasetH, const char *);
1206 int CPL_DLL GDALDatasetIsLayerPrivate(GDALDatasetH, int);
1207 OGRErr CPL_DLL GDALDatasetDeleteLayer(GDALDatasetH, int);
1208 OGRLayerH CPL_DLL GDALDatasetCreateLayer(GDALDatasetH, const char *,
1209 OGRSpatialReferenceH,
1210 OGRwkbGeometryType, CSLConstList);
1211 OGRLayerH CPL_DLL GDALDatasetCopyLayer(GDALDatasetH, OGRLayerH, const char *,
1212 CSLConstList);
1213 void CPL_DLL GDALDatasetResetReading(GDALDatasetH);
1214 OGRFeatureH CPL_DLL GDALDatasetGetNextFeature(GDALDatasetH hDS,
1215 OGRLayerH *phBelongingLayer,
1216 double *pdfProgressPct,
1217 GDALProgressFunc pfnProgress,
1218 void *pProgressData);
1219 int CPL_DLL GDALDatasetTestCapability(GDALDatasetH, const char *);
1220 OGRLayerH CPL_DLL GDALDatasetExecuteSQL(GDALDatasetH, const char *,
1221 OGRGeometryH, const char *);
1222 OGRErr CPL_DLL GDALDatasetAbortSQL(GDALDatasetH);
1223 void CPL_DLL GDALDatasetReleaseResultSet(GDALDatasetH, OGRLayerH);
1224 OGRStyleTableH CPL_DLL GDALDatasetGetStyleTable(GDALDatasetH);
1225 void CPL_DLL GDALDatasetSetStyleTableDirectly(GDALDatasetH, OGRStyleTableH);
1226 void CPL_DLL GDALDatasetSetStyleTable(GDALDatasetH, OGRStyleTableH);
1227 OGRErr CPL_DLL GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce);
1228 OGRErr CPL_DLL GDALDatasetCommitTransaction(GDALDatasetH hDS);
1229 OGRErr CPL_DLL GDALDatasetRollbackTransaction(GDALDatasetH hDS);
1230 void CPL_DLL GDALDatasetClearStatistics(GDALDatasetH hDS);
1231
1232 char CPL_DLL **GDALDatasetGetFieldDomainNames(GDALDatasetH, CSLConstList)
1233 CPL_WARN_UNUSED_RESULT;
1234 OGRFieldDomainH CPL_DLL GDALDatasetGetFieldDomain(GDALDatasetH hDS,
1235 const char *pszName);
1236 bool CPL_DLL GDALDatasetAddFieldDomain(GDALDatasetH hDS,
1237 OGRFieldDomainH hFieldDomain,
1238 char **ppszFailureReason);
1239 bool CPL_DLL GDALDatasetDeleteFieldDomain(GDALDatasetH hDS, const char *pszName,
1240 char **ppszFailureReason);
1241 bool CPL_DLL GDALDatasetUpdateFieldDomain(GDALDatasetH hDS,
1242 OGRFieldDomainH hFieldDomain,
1243 char **ppszFailureReason);
1244
1245 char CPL_DLL **GDALDatasetGetRelationshipNames(GDALDatasetH, CSLConstList)
1246 CPL_WARN_UNUSED_RESULT;
1247 GDALRelationshipH CPL_DLL GDALDatasetGetRelationship(GDALDatasetH hDS,
1248 const char *pszName);
1249
1250 bool CPL_DLL GDALDatasetAddRelationship(GDALDatasetH hDS,
1251 GDALRelationshipH hRelationship,
1252 char **ppszFailureReason);
1253 bool CPL_DLL GDALDatasetDeleteRelationship(GDALDatasetH hDS,
1254 const char *pszName,
1255 char **ppszFailureReason);
1256 bool CPL_DLL GDALDatasetUpdateRelationship(GDALDatasetH hDS,
1257 GDALRelationshipH hRelationship,
1258 char **ppszFailureReason);
1259
1262 typedef void (*GDALQueryLoggerFunc)(const char *pszSQL, const char *pszError,
1263 int64_t lNumRecords,
1264 int64_t lExecutionTimeMilliseconds,
1265 void *pQueryLoggerArg);
1266
1283 bool CPL_DLL GDALDatasetSetQueryLoggerFunc(
1284 GDALDatasetH hDS, GDALQueryLoggerFunc pfnQueryLoggerFunc,
1285 void *poQueryLoggerArg);
1286
1287 /* ==================================================================== */
1288 /* GDALRasterBand ... one band/channel in a dataset. */
1289 /* ==================================================================== */
1290
1291 /* Note: the only user of SRCVAL() was frmts/vrt/pixelfunctions.cpp and we no */
1292 /* longer use it. */
1293
1298 #define SRCVAL(papoSource, eSrcType, ii) \
1299 (eSrcType == GDT_Byte \
1300 ? CPL_REINTERPRET_CAST(const GByte *, papoSource)[ii] \
1301 : (eSrcType == GDT_Int8 \
1302 ? CPL_REINTERPRET_CAST(const GInt8 *, papoSource)[ii] \
1303 : (eSrcType == GDT_Float32 \
1304 ? CPL_REINTERPRET_CAST(const float *, papoSource)[ii] \
1305 : (eSrcType == GDT_Float64 \
1306 ? CPL_REINTERPRET_CAST(const double *, \
1307 papoSource)[ii] \
1308 : (eSrcType == GDT_Int32 \
1309 ? CPL_REINTERPRET_CAST(const GInt32 *, \
1310 papoSource)[ii] \
1311 : (eSrcType == GDT_UInt16 \
1312 ? CPL_REINTERPRET_CAST( \
1313 const GUInt16 *, \
1314 papoSource)[ii] \
1315 : (eSrcType == GDT_Int16 \
1316 ? CPL_REINTERPRET_CAST( \
1317 const GInt16 *, \
1318 papoSource)[ii] \
1319 : (eSrcType == GDT_UInt32 \
1320 ? CPL_REINTERPRET_CAST( \
1321 const GUInt32 \
1322 *, \
1323 papoSource) \
1324 [ii] \
1325 : (eSrcType == \
1326 GDT_CInt16 \
1327 ? CPL_REINTERPRET_CAST( \
1328 const GInt16 \
1329 *, \
1330 papoSource) \
1331 [(ii)*2] \
1332 : (eSrcType == \
1333 GDT_CInt32 \
1334 ? CPL_REINTERPRET_CAST( \
1335 const GInt32 \
1336 *, \
1337 papoSource) \
1338 [(ii)*2] \
1339 : (eSrcType == \
1340 GDT_CFloat32 \
1341 ? CPL_REINTERPRET_CAST( \
1342 const float \
1343 *, \
1344 papoSource) \
1345 [(ii)*2] \
1346 : (eSrcType == \
1347 GDT_CFloat64 \
1348 ? CPL_REINTERPRET_CAST( \
1349 const double \
1350 *, \
1351 papoSource) \
1352 [(ii)*2] \
1353 : 0))))))))))))
1354
1357 typedef CPLErr (*GDALDerivedPixelFunc)(void **papoSources, int nSources,
1358 void *pData, int nBufXSize,
1359 int nBufYSize, GDALDataType eSrcType,
1360 GDALDataType eBufType, int nPixelSpace,
1361 int nLineSpace);
1362
1365 typedef CPLErr (*GDALDerivedPixelFuncWithArgs)(
1366 void **papoSources, int nSources, void *pData, int nBufXSize, int nBufYSize,
1367 GDALDataType eSrcType, GDALDataType eBufType, int nPixelSpace,
1368 int nLineSpace, CSLConstList papszFunctionArgs);
1369
1370 GDALDataType CPL_DLL CPL_STDCALL GDALGetRasterDataType(GDALRasterBandH);
1371 void CPL_DLL CPL_STDCALL GDALGetBlockSize(GDALRasterBandH, int *pnXSize,
1372 int *pnYSize);
1373
1374 CPLErr CPL_DLL CPL_STDCALL GDALGetActualBlockSize(GDALRasterBandH,
1375 int nXBlockOff,
1376 int nYBlockOff, int *pnXValid,
1377 int *pnYValid);
1378
1379 CPLErr CPL_DLL CPL_STDCALL GDALRasterAdviseRead(GDALRasterBandH hRB,
1380 int nDSXOff, int nDSYOff,
1381 int nDSXSize, int nDSYSize,
1382 int nBXSize, int nBYSize,
1383 GDALDataType eBDataType,
1384 CSLConstList papszOptions);
1385
1386 CPLErr CPL_DLL CPL_STDCALL GDALRasterIO(GDALRasterBandH hRBand,
1387 GDALRWFlag eRWFlag, int nDSXOff,
1388 int nDSYOff, int nDSXSize, int nDSYSize,
1389 void *pBuffer, int nBXSize, int nBYSize,
1390 GDALDataType eBDataType,
1391 int nPixelSpace,
1392 int nLineSpace) CPL_WARN_UNUSED_RESULT;
1393 CPLErr CPL_DLL CPL_STDCALL GDALRasterIOEx(
1394 GDALRasterBandH hRBand, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff,
1395 int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize,
1396 GDALDataType eBDataType, GSpacing nPixelSpace, GSpacing nLineSpace,
1397 GDALRasterIOExtraArg *psExtraArg) CPL_WARN_UNUSED_RESULT;
1398 CPLErr CPL_DLL CPL_STDCALL GDALReadBlock(GDALRasterBandH, int, int,
1399 void *) CPL_WARN_UNUSED_RESULT;
1400 CPLErr CPL_DLL CPL_STDCALL GDALWriteBlock(GDALRasterBandH, int, int,
1401 void *) CPL_WARN_UNUSED_RESULT;
1402 int CPL_DLL CPL_STDCALL GDALGetRasterBandXSize(GDALRasterBandH);
1403 int CPL_DLL CPL_STDCALL GDALGetRasterBandYSize(GDALRasterBandH);
1404 GDALAccess CPL_DLL CPL_STDCALL GDALGetRasterAccess(GDALRasterBandH);
1405 int CPL_DLL CPL_STDCALL GDALGetBandNumber(GDALRasterBandH);
1406 GDALDatasetH CPL_DLL CPL_STDCALL GDALGetBandDataset(GDALRasterBandH);
1407
1408 GDALColorInterp
1409 CPL_DLL CPL_STDCALL GDALGetRasterColorInterpretation(GDALRasterBandH);
1410 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterColorInterpretation(GDALRasterBandH,
1411 GDALColorInterp);
1412 GDALColorTableH CPL_DLL CPL_STDCALL GDALGetRasterColorTable(GDALRasterBandH);
1413 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterColorTable(GDALRasterBandH,
1414 GDALColorTableH);
1415 int CPL_DLL CPL_STDCALL GDALHasArbitraryOverviews(GDALRasterBandH);
1416 int CPL_DLL CPL_STDCALL GDALGetOverviewCount(GDALRasterBandH);
1417 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetOverview(GDALRasterBandH, int);
1418 double CPL_DLL CPL_STDCALL GDALGetRasterNoDataValue(GDALRasterBandH, int *);
1419 int64_t CPL_DLL CPL_STDCALL GDALGetRasterNoDataValueAsInt64(GDALRasterBandH,
1420 int *);
1421 uint64_t CPL_DLL CPL_STDCALL GDALGetRasterNoDataValueAsUInt64(GDALRasterBandH,
1422 int *);
1423 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValue(GDALRasterBandH, double);
1424 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValueAsInt64(GDALRasterBandH,
1425 int64_t);
1426 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValueAsUInt64(GDALRasterBandH,
1427 uint64_t);
1428 CPLErr CPL_DLL CPL_STDCALL GDALDeleteRasterNoDataValue(GDALRasterBandH);
1429 char CPL_DLL **CPL_STDCALL GDALGetRasterCategoryNames(GDALRasterBandH);
1430 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterCategoryNames(GDALRasterBandH,
1431 CSLConstList);
1432 double CPL_DLL CPL_STDCALL GDALGetRasterMinimum(GDALRasterBandH,
1433 int *pbSuccess);
1434 double CPL_DLL CPL_STDCALL GDALGetRasterMaximum(GDALRasterBandH,
1435 int *pbSuccess);
1436 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterStatistics(
1437 GDALRasterBandH, int bApproxOK, int bForce, double *pdfMin, double *pdfMax,
1438 double *pdfMean, double *pdfStdDev);
1439 CPLErr CPL_DLL CPL_STDCALL
1440 GDALComputeRasterStatistics(GDALRasterBandH, int bApproxOK, double *pdfMin,
1441 double *pdfMax, double *pdfMean, double *pdfStdDev,
1442 GDALProgressFunc pfnProgress, void *pProgressData);
1443 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterStatistics(GDALRasterBandH hBand,
1444 double dfMin, double dfMax,
1445 double dfMean,
1446 double dfStdDev);
1447
1448 GDALMDArrayH
1449 CPL_DLL GDALRasterBandAsMDArray(GDALRasterBandH) CPL_WARN_UNUSED_RESULT;
1450
1451 const char CPL_DLL *CPL_STDCALL GDALGetRasterUnitType(GDALRasterBandH);
1452 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterUnitType(GDALRasterBandH hBand,
1453 const char *pszNewValue);
1454 double CPL_DLL CPL_STDCALL GDALGetRasterOffset(GDALRasterBandH, int *pbSuccess);
1455 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterOffset(GDALRasterBandH hBand,
1456 double dfNewOffset);
1457 double CPL_DLL CPL_STDCALL GDALGetRasterScale(GDALRasterBandH, int *pbSuccess);
1458 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterScale(GDALRasterBandH hBand,
1459 double dfNewOffset);
1460 CPLErr CPL_DLL CPL_STDCALL GDALComputeRasterMinMax(GDALRasterBandH hBand,
1461 int bApproxOK,
1462 double adfMinMax[2]);
1463 CPLErr CPL_DLL CPL_STDCALL GDALFlushRasterCache(GDALRasterBandH hBand);
1464 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogram(
1465 GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets,
1466 int *panHistogram, int bIncludeOutOfRange, int bApproxOK,
1467 GDALProgressFunc pfnProgress, void *pProgressData)
1469 CPL_WARN_DEPRECATED("Use GDALGetRasterHistogramEx() instead")
1471 ;
1472 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogramEx(
1473 GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets,
1474 GUIntBig *panHistogram, int bIncludeOutOfRange, int bApproxOK,
1475 GDALProgressFunc pfnProgress, void *pProgressData);
1476 CPLErr CPL_DLL CPL_STDCALL
1477 GDALGetDefaultHistogram(GDALRasterBandH hBand, double *pdfMin, double *pdfMax,
1478 int *pnBuckets, int **ppanHistogram, int bForce,
1479 GDALProgressFunc pfnProgress, void *pProgressData)
1481 CPL_WARN_DEPRECATED("Use GDALGetDefaultHistogramEx() instead")
1483 ;
1484 CPLErr CPL_DLL CPL_STDCALL
1485 GDALGetDefaultHistogramEx(GDALRasterBandH hBand, double *pdfMin, double *pdfMax,
1486 int *pnBuckets, GUIntBig **ppanHistogram, int bForce,
1487 GDALProgressFunc pfnProgress, void *pProgressData);
1488 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogram(GDALRasterBandH hBand,
1489 double dfMin, double dfMax,
1490 int nBuckets,
1491 int *panHistogram)
1493 CPL_WARN_DEPRECATED("Use GDALSetDefaultHistogramEx() instead")
1495 ;
1496 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogramEx(GDALRasterBandH hBand,
1497 double dfMin, double dfMax,
1498 int nBuckets,
1499 GUIntBig *panHistogram);
1500 int CPL_DLL CPL_STDCALL GDALGetRandomRasterSample(GDALRasterBandH, int,
1501 float *);
1502 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetRasterSampleOverview(GDALRasterBandH,
1503 int);
1504 GDALRasterBandH CPL_DLL CPL_STDCALL
1505 GDALGetRasterSampleOverviewEx(GDALRasterBandH, GUIntBig);
1506 CPLErr CPL_DLL CPL_STDCALL GDALFillRaster(GDALRasterBandH hBand,
1507 double dfRealValue,
1508 double dfImaginaryValue);
1509 CPLErr CPL_DLL CPL_STDCALL GDALComputeBandStats(
1510 GDALRasterBandH hBand, int nSampleStep, double *pdfMean, double *pdfStdDev,
1511 GDALProgressFunc pfnProgress, void *pProgressData);
1512 CPLErr CPL_DLL GDALOverviewMagnitudeCorrection(GDALRasterBandH hBaseBand,
1513 int nOverviewCount,
1514 GDALRasterBandH *pahOverviews,
1515 GDALProgressFunc pfnProgress,
1516 void *pProgressData);
1517
1518 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1519 GDALGetDefaultRAT(GDALRasterBandH hBand);
1520 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultRAT(GDALRasterBandH,
1521 GDALRasterAttributeTableH);
1522 CPLErr CPL_DLL CPL_STDCALL GDALAddDerivedBandPixelFunc(
1523 const char *pszName, GDALDerivedPixelFunc pfnPixelFunc);
1524 CPLErr CPL_DLL CPL_STDCALL GDALAddDerivedBandPixelFuncWithArgs(
1525 const char *pszName, GDALDerivedPixelFuncWithArgs pfnPixelFunc,
1526 const char *pszMetadata);
1527
1528 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetMaskBand(GDALRasterBandH hBand);
1529 int CPL_DLL CPL_STDCALL GDALGetMaskFlags(GDALRasterBandH hBand);
1530 CPLErr CPL_DLL CPL_STDCALL GDALCreateMaskBand(GDALRasterBandH hBand,
1531 int nFlags);
1532 bool CPL_DLL GDALIsMaskBand(GDALRasterBandH hBand);
1533
1535 #define GMF_ALL_VALID 0x01
1536
1538 #define GMF_PER_DATASET 0x02
1539
1541 #define GMF_ALPHA 0x04
1542
1544 #define GMF_NODATA 0x08
1545
1549 #define GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED 0x01
1550
1555 #define GDAL_DATA_COVERAGE_STATUS_DATA 0x02
1556
1562 #define GDAL_DATA_COVERAGE_STATUS_EMPTY 0x04
1563
1564 int CPL_DLL CPL_STDCALL GDALGetDataCoverageStatus(GDALRasterBandH hBand,
1565 int nXOff, int nYOff,
1566 int nXSize, int nYSize,
1567 int nMaskFlagStop,
1568 double *pdfDataPct);
1569
1570 /* ==================================================================== */
1571 /* GDALAsyncReader */
1572 /* ==================================================================== */
1573
1574 GDALAsyncStatusType CPL_DLL CPL_STDCALL GDALARGetNextUpdatedRegion(
1575 GDALAsyncReaderH hARIO, double dfTimeout, int *pnXBufOff, int *pnYBufOff,
1576 int *pnXBufSize, int *pnYBufSize);
1577 int CPL_DLL CPL_STDCALL GDALARLockBuffer(GDALAsyncReaderH hARIO,
1578 double dfTimeout);
1579 void CPL_DLL CPL_STDCALL GDALARUnlockBuffer(GDALAsyncReaderH hARIO);
1580
1581 /* -------------------------------------------------------------------- */
1582 /* Helper functions. */
1583 /* -------------------------------------------------------------------- */
1584 int CPL_DLL CPL_STDCALL GDALGeneralCmdLineProcessor(int nArgc,
1585 char ***ppapszArgv,
1586 int nOptions);
1587 void CPL_DLL CPL_STDCALL GDALSwapWords(void *pData, int nWordSize,
1588 int nWordCount, int nWordSkip);
1589 void CPL_DLL CPL_STDCALL GDALSwapWordsEx(void *pData, int nWordSize,
1590 size_t nWordCount, int nWordSkip);
1591
1592 void CPL_DLL CPL_STDCALL GDALCopyWords(const void *CPL_RESTRICT pSrcData,
1593 GDALDataType eSrcType,
1594 int nSrcPixelOffset,
1595 void *CPL_RESTRICT pDstData,
1596 GDALDataType eDstType,
1597 int nDstPixelOffset, int nWordCount);
1598
1599 void CPL_DLL CPL_STDCALL GDALCopyWords64(
1600 const void *CPL_RESTRICT pSrcData, GDALDataType eSrcType,
1601 int nSrcPixelOffset, void *CPL_RESTRICT pDstData, GDALDataType eDstType,
1602 int nDstPixelOffset, GPtrDiff_t nWordCount);
1603
1604 void CPL_DLL GDALCopyBits(const GByte *pabySrcData, int nSrcOffset,
1605 int nSrcStep, GByte *pabyDstData, int nDstOffset,
1606 int nDstStep, int nBitCount, int nStepCount);
1607
1608 void CPL_DLL GDALDeinterleave(const void *pSourceBuffer, GDALDataType eSourceDT,
1609 int nComponents, void **ppDestBuffer,
1610 GDALDataType eDestDT, size_t nIters);
1611
1612 int CPL_DLL CPL_STDCALL GDALLoadWorldFile(const char *, double *);
1613 int CPL_DLL CPL_STDCALL GDALReadWorldFile(const char *, const char *, double *);
1614 int CPL_DLL CPL_STDCALL GDALWriteWorldFile(const char *, const char *,
1615 double *);
1616 int CPL_DLL CPL_STDCALL GDALLoadTabFile(const char *, double *, char **, int *,
1617 GDAL_GCP **);
1618 int CPL_DLL CPL_STDCALL GDALReadTabFile(const char *, double *, char **, int *,
1619 GDAL_GCP **);
1620 int CPL_DLL CPL_STDCALL GDALLoadOziMapFile(const char *, double *, char **,
1621 int *, GDAL_GCP **);
1622 int CPL_DLL CPL_STDCALL GDALReadOziMapFile(const char *, double *, char **,
1623 int *, GDAL_GCP **);
1624
1625 const char CPL_DLL *CPL_STDCALL GDALDecToDMS(double, const char *, int);
1626 double CPL_DLL CPL_STDCALL GDALPackedDMSToDec(double);
1627 double CPL_DLL CPL_STDCALL GDALDecToPackedDMS(double);
1628
1629 /* Note to developers : please keep this section in sync with ogr_core.h */
1630
1631 #ifndef GDAL_VERSION_INFO_DEFINED
1632 #ifndef DOXYGEN_SKIP
1633 #define GDAL_VERSION_INFO_DEFINED
1634 #endif
1635 const char CPL_DLL *CPL_STDCALL GDALVersionInfo(const char *);
1636 #endif
1637
1638 #ifndef GDAL_CHECK_VERSION
1639
1640 int CPL_DLL CPL_STDCALL GDALCheckVersion(int nVersionMajor, int nVersionMinor,
1641 const char *pszCallingComponentName);
1642
1646 #define GDAL_CHECK_VERSION(pszCallingComponentName) \
1647 GDALCheckVersion(GDAL_VERSION_MAJOR, GDAL_VERSION_MINOR, \
1648 pszCallingComponentName)
1649
1650 #endif
1651
1653 #ifdef GDAL_COMPILATION
1654 #define GDALExtractRPCInfoV1 GDALExtractRPCInfo
1655 #else
1656 #define GDALRPCInfo GDALRPCInfoV2
1657 #define GDALExtractRPCInfo GDALExtractRPCInfoV2
1658 #endif
1659
1660 /* Deprecated: use GDALRPCInfoV2 */
1661 typedef struct
1662 {
1663 double dfLINE_OFF;
1664 double dfSAMP_OFF;
1665 double dfLAT_OFF;
1666 double dfLONG_OFF;
1667 double dfHEIGHT_OFF;
1669 double dfLINE_SCALE;
1670 double dfSAMP_SCALE;
1671 double dfLAT_SCALE;
1672 double dfLONG_SCALE;
1673 double dfHEIGHT_SCALE;
1675 double adfLINE_NUM_COEFF[20];
1676 double adfLINE_DEN_COEFF[20];
1677 double adfSAMP_NUM_COEFF[20];
1678 double adfSAMP_DEN_COEFF[20];
1680 double dfMIN_LONG;
1681 double dfMIN_LAT;
1682 double dfMAX_LONG;
1683 double dfMAX_LAT;
1684 } GDALRPCInfoV1;
1689 typedef struct
1690 {
1691 double dfLINE_OFF;
1692 double dfSAMP_OFF;
1693 double dfLAT_OFF;
1694 double dfLONG_OFF;
1695 double dfHEIGHT_OFF;
1697 double dfLINE_SCALE;
1698 double dfSAMP_SCALE;
1699 double dfLAT_SCALE;
1700 double dfLONG_SCALE;
1701 double dfHEIGHT_SCALE;
1703 double adfLINE_NUM_COEFF[20];
1704 double adfLINE_DEN_COEFF[20];
1705 double adfSAMP_NUM_COEFF[20];
1706 double adfSAMP_DEN_COEFF[20];
1708 double dfMIN_LONG;
1709 double dfMIN_LAT;
1710 double dfMAX_LONG;
1711 double dfMAX_LAT;
1713 /* Those fields should be at the end. And all above fields should be the
1714 * same as in GDALRPCInfoV1 */
1715 double dfERR_BIAS;
1716 double dfERR_RAND;
1717 } GDALRPCInfoV2;
1718
1720 int CPL_DLL CPL_STDCALL GDALExtractRPCInfoV1(CSLConstList, GDALRPCInfoV1 *);
1722 int CPL_DLL CPL_STDCALL GDALExtractRPCInfoV2(CSLConstList, GDALRPCInfoV2 *);
1723
1724 /* ==================================================================== */
1725 /* Color tables. */
1726 /* ==================================================================== */
1727
1729 typedef struct
1730 {
1732 short c1;
1733
1735 short c2;
1736
1738 short c3;
1739
1741 short c4;
1742 } GDALColorEntry;
1743
1744 GDALColorTableH CPL_DLL CPL_STDCALL GDALCreateColorTable(GDALPaletteInterp)
1745 CPL_WARN_UNUSED_RESULT;
1746 void CPL_DLL CPL_STDCALL GDALDestroyColorTable(GDALColorTableH);
1747 GDALColorTableH CPL_DLL CPL_STDCALL GDALCloneColorTable(GDALColorTableH);
1748 GDALPaletteInterp
1749 CPL_DLL CPL_STDCALL GDALGetPaletteInterpretation(GDALColorTableH);
1750 int CPL_DLL CPL_STDCALL GDALGetColorEntryCount(GDALColorTableH);
1751 const GDALColorEntry CPL_DLL *CPL_STDCALL GDALGetColorEntry(GDALColorTableH,
1752 int);
1753 int CPL_DLL CPL_STDCALL GDALGetColorEntryAsRGB(GDALColorTableH, int,
1754 GDALColorEntry *);
1755 void CPL_DLL CPL_STDCALL GDALSetColorEntry(GDALColorTableH, int,
1756 const GDALColorEntry *);
1757 void CPL_DLL CPL_STDCALL GDALCreateColorRamp(GDALColorTableH hTable,
1758 int nStartIndex,
1759 const GDALColorEntry *psStartColor,
1760 int nEndIndex,
1761 const GDALColorEntry *psEndColor);
1762
1763 /* ==================================================================== */
1764 /* Raster Attribute Table */
1765 /* ==================================================================== */
1766
1768 typedef enum
1769 { GFT_Integer, GFT_Real, GFT_String
1773 } GDALRATFieldType;
1774
1776 typedef enum
1777 { GFU_Generic = 0, GFU_PixelCount = 1, GFU_Name = 2, GFU_Min = 3, GFU_Max = 4, GFU_MinMax = 5, GFU_Red = 6, GFU_Green = 7, GFU_Blue = 8, GFU_Alpha = 9, GFU_RedMin = 10, GFU_GreenMin = 11, GFU_BlueMin = 12, GFU_AlphaMin = 13, GFU_RedMax = 14, GFU_GreenMax = 15, GFU_BlueMax = 16, GFU_AlphaMax = 17, GFU_MaxCount
1797 } GDALRATFieldUsage;
1798
1802 typedef enum
1803 { GRTT_THEMATIC, GRTT_ATHEMATIC
1806 } GDALRATTableType;
1807
1808 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1809 GDALCreateRasterAttributeTable(void) CPL_WARN_UNUSED_RESULT;
1810
1811 void CPL_DLL CPL_STDCALL
1812 GDALDestroyRasterAttributeTable(GDALRasterAttributeTableH);
1813
1814 int CPL_DLL CPL_STDCALL GDALRATGetColumnCount(GDALRasterAttributeTableH);
1815
1816 const char CPL_DLL *CPL_STDCALL GDALRATGetNameOfCol(GDALRasterAttributeTableH,
1817 int);
1818 GDALRATFieldUsage CPL_DLL CPL_STDCALL
1819 GDALRATGetUsageOfCol(GDALRasterAttributeTableH, int);
1820 GDALRATFieldType CPL_DLL CPL_STDCALL
1821 GDALRATGetTypeOfCol(GDALRasterAttributeTableH, int);
1822
1823 int CPL_DLL CPL_STDCALL GDALRATGetColOfUsage(GDALRasterAttributeTableH,
1824 GDALRATFieldUsage);
1825 int CPL_DLL CPL_STDCALL GDALRATGetRowCount(GDALRasterAttributeTableH);
1826
1827 const char CPL_DLL *CPL_STDCALL
1828 GDALRATGetValueAsString(GDALRasterAttributeTableH, int, int);
1829 int CPL_DLL CPL_STDCALL GDALRATGetValueAsInt(GDALRasterAttributeTableH, int,
1830 int);
1831 double CPL_DLL CPL_STDCALL GDALRATGetValueAsDouble(GDALRasterAttributeTableH,
1832 int, int);
1833
1834 void CPL_DLL CPL_STDCALL GDALRATSetValueAsString(GDALRasterAttributeTableH, int,
1835 int, const char *);
1836 void CPL_DLL CPL_STDCALL GDALRATSetValueAsInt(GDALRasterAttributeTableH, int,
1837 int, int);
1838 void CPL_DLL CPL_STDCALL GDALRATSetValueAsDouble(GDALRasterAttributeTableH, int,
1839 int, double);
1840
1841 int CPL_DLL CPL_STDCALL
1842 GDALRATChangesAreWrittenToFile(GDALRasterAttributeTableH hRAT);
1843
1844 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsDouble(
1845 GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag, int iField,
1846 int iStartRow, int iLength, double *pdfData);
1847 CPLErr CPL_DLL CPL_STDCALL
1848 GDALRATValuesIOAsInteger(GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1849 int iField, int iStartRow, int iLength, int *pnData);
1850 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsString(
1851 GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag, int iField,
1852 int iStartRow, int iLength, CSLConstList papszStrList);
1853
1854 void CPL_DLL CPL_STDCALL GDALRATSetRowCount(GDALRasterAttributeTableH, int);
1855 CPLErr CPL_DLL CPL_STDCALL GDALRATCreateColumn(GDALRasterAttributeTableH,
1856 const char *, GDALRATFieldType,
1857 GDALRATFieldUsage);
1858 CPLErr CPL_DLL CPL_STDCALL GDALRATSetLinearBinning(GDALRasterAttributeTableH,
1859 double, double);
1860 int CPL_DLL CPL_STDCALL GDALRATGetLinearBinning(GDALRasterAttributeTableH,
1861 double *, double *);
1862 CPLErr CPL_DLL CPL_STDCALL GDALRATSetTableType(
1863 GDALRasterAttributeTableH hRAT, const GDALRATTableType eInTableType);
1864 GDALRATTableType CPL_DLL CPL_STDCALL
1865 GDALRATGetTableType(GDALRasterAttributeTableH hRAT);
1866 CPLErr CPL_DLL CPL_STDCALL
1867 GDALRATInitializeFromColorTable(GDALRasterAttributeTableH, GDALColorTableH);
1868 GDALColorTableH CPL_DLL CPL_STDCALL
1869 GDALRATTranslateToColorTable(GDALRasterAttributeTableH, int nEntryCount);
1870 void CPL_DLL CPL_STDCALL GDALRATDumpReadable(GDALRasterAttributeTableH, FILE *);
1871 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1872 GDALRATClone(const GDALRasterAttributeTableH);
1873
1874 void CPL_DLL *CPL_STDCALL GDALRATSerializeJSON(GDALRasterAttributeTableH)
1875 CPL_WARN_UNUSED_RESULT;
1876
1877 int CPL_DLL CPL_STDCALL GDALRATGetRowOfValue(GDALRasterAttributeTableH, double);
1878 void CPL_DLL CPL_STDCALL GDALRATRemoveStatistics(GDALRasterAttributeTableH);
1879
1880 /* -------------------------------------------------------------------- */
1881 /* Relationships */
1882 /* -------------------------------------------------------------------- */
1883
1888 typedef enum
1889 {
1891 GRC_ONE_TO_ONE,
1893 GRC_ONE_TO_MANY,
1895 GRC_MANY_TO_ONE,
1897 GRC_MANY_TO_MANY,
1898 } GDALRelationshipCardinality;
1899
1904 typedef enum
1905 {
1907 GRT_COMPOSITE,
1909 GRT_ASSOCIATION,
1911 GRT_AGGREGATION,
1912 } GDALRelationshipType;
1913
1914 GDALRelationshipH CPL_DLL GDALRelationshipCreate(const char *, const char *,
1915 const char *,
1916 GDALRelationshipCardinality);
1917 void CPL_DLL CPL_STDCALL GDALDestroyRelationship(GDALRelationshipH);
1918 const char CPL_DLL *GDALRelationshipGetName(GDALRelationshipH);
1919 GDALRelationshipCardinality
1920 CPL_DLL GDALRelationshipGetCardinality(GDALRelationshipH);
1921 const char CPL_DLL *GDALRelationshipGetLeftTableName(GDALRelationshipH);
1922 const char CPL_DLL *GDALRelationshipGetRightTableName(GDALRelationshipH);
1923 const char CPL_DLL *GDALRelationshipGetMappingTableName(GDALRelationshipH);
1924 void CPL_DLL GDALRelationshipSetMappingTableName(GDALRelationshipH,
1925 const char *);
1926 char CPL_DLL **GDALRelationshipGetLeftTableFields(GDALRelationshipH);
1927 char CPL_DLL **GDALRelationshipGetRightTableFields(GDALRelationshipH);
1928 void CPL_DLL GDALRelationshipSetLeftTableFields(GDALRelationshipH,
1929 CSLConstList);
1930 void CPL_DLL GDALRelationshipSetRightTableFields(GDALRelationshipH,
1931 CSLConstList);
1932 char CPL_DLL **GDALRelationshipGetLeftMappingTableFields(GDALRelationshipH);
1933 char CPL_DLL **GDALRelationshipGetRightMappingTableFields(GDALRelationshipH);
1934 void CPL_DLL GDALRelationshipSetLeftMappingTableFields(GDALRelationshipH,
1935 CSLConstList);
1936 void CPL_DLL GDALRelationshipSetRightMappingTableFields(GDALRelationshipH,
1937 CSLConstList);
1938 GDALRelationshipType CPL_DLL GDALRelationshipGetType(GDALRelationshipH);
1939 void CPL_DLL GDALRelationshipSetType(GDALRelationshipH, GDALRelationshipType);
1940 const char CPL_DLL *GDALRelationshipGetForwardPathLabel(GDALRelationshipH);
1941 void CPL_DLL GDALRelationshipSetForwardPathLabel(GDALRelationshipH,
1942 const char *);
1943 const char CPL_DLL *GDALRelationshipGetBackwardPathLabel(GDALRelationshipH);
1944 void CPL_DLL GDALRelationshipSetBackwardPathLabel(GDALRelationshipH,
1945 const char *);
1946 const char CPL_DLL *GDALRelationshipGetRelatedTableType(GDALRelationshipH);
1947 void CPL_DLL GDALRelationshipSetRelatedTableType(GDALRelationshipH,
1948 const char *);
1949
1950 /* ==================================================================== */
1951 /* GDAL Cache Management */
1952 /* ==================================================================== */
1953
1954 void CPL_DLL CPL_STDCALL GDALSetCacheMax(int nBytes);
1955 int CPL_DLL CPL_STDCALL GDALGetCacheMax(void);
1956 int CPL_DLL CPL_STDCALL GDALGetCacheUsed(void);
1957 void CPL_DLL CPL_STDCALL GDALSetCacheMax64(GIntBig nBytes);
1958 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheMax64(void);
1959 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheUsed64(void);
1960
1961 int CPL_DLL CPL_STDCALL GDALFlushCacheBlock(void);
1962
1963 /* ==================================================================== */
1964 /* GDAL virtual memory */
1965 /* ==================================================================== */
1966
1967 CPLVirtualMem CPL_DLL *GDALDatasetGetVirtualMem(
1968 GDALDatasetH hDS, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize,
1969 int nYSize, int nBufXSize, int nBufYSize, GDALDataType eBufType,
1970 int nBandCount, int *panBandMap, int nPixelSpace, GIntBig nLineSpace,
1971 GIntBig nBandSpace, size_t nCacheSize, size_t nPageSizeHint,
1972 int bSingleThreadUsage, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1973
1974 CPLVirtualMem CPL_DLL *GDALRasterBandGetVirtualMem(
1975 GDALRasterBandH hBand, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize,
1976 int nYSize, int nBufXSize, int nBufYSize, GDALDataType eBufType,
1977 int nPixelSpace, GIntBig nLineSpace, size_t nCacheSize,
1978 size_t nPageSizeHint, int bSingleThreadUsage,
1979 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1980
1981 CPLVirtualMem CPL_DLL *
1982 GDALGetVirtualMemAuto(GDALRasterBandH hBand, GDALRWFlag eRWFlag,
1983 int *pnPixelSpace, GIntBig *pnLineSpace,
1984 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1985
1987 typedef enum
1988 {
1991 GTO_TIP,
1995 GTO_BIT,
1998 GTO_BSQ
1999 } GDALTileOrganization;
2000
2001 CPLVirtualMem CPL_DLL *GDALDatasetGetTiledVirtualMem(
2002 GDALDatasetH hDS, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize,
2003 int nYSize, int nTileXSize, int nTileYSize, GDALDataType eBufType,
2004 int nBandCount, int *panBandMap, GDALTileOrganization eTileOrganization,
2005 size_t nCacheSize, int bSingleThreadUsage,
2006 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2007
2008 CPLVirtualMem CPL_DLL *GDALRasterBandGetTiledVirtualMem(
2009 GDALRasterBandH hBand, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize,
2010 int nYSize, int nTileXSize, int nTileYSize, GDALDataType eBufType,
2011 size_t nCacheSize, int bSingleThreadUsage,
2012 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2013
2014 /* ==================================================================== */
2015 /* VRTPansharpenedDataset class. */
2016 /* ==================================================================== */
2017
2018 GDALDatasetH CPL_DLL GDALCreatePansharpenedVRT(
2019 const char *pszXML, GDALRasterBandH hPanchroBand, int nInputSpectralBands,
2020 GDALRasterBandH *pahInputSpectralBands) CPL_WARN_UNUSED_RESULT;
2021
2022 /* =================================================================== */
2023 /* Misc API */
2024 /* ==================================================================== */
2025
2026 CPLXMLNode CPL_DLL *
2027 GDALGetJPEG2000Structure(const char *pszFilename,
2028 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2029
2030 /* ==================================================================== */
2031 /* Multidimensional API_api */
2032 /* ==================================================================== */
2033
2034 GDALDatasetH CPL_DLL
2035 GDALCreateMultiDimensional(GDALDriverH hDriver, const char *pszName,
2036 CSLConstList papszRootGroupOptions,
2037 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2038
2039 GDALExtendedDataTypeH CPL_DLL GDALExtendedDataTypeCreate(GDALDataType eType)
2040 CPL_WARN_UNUSED_RESULT;
2041 GDALExtendedDataTypeH CPL_DLL GDALExtendedDataTypeCreateString(
2042 size_t nMaxStringLength) CPL_WARN_UNUSED_RESULT;
2043 GDALExtendedDataTypeH CPL_DLL GDALExtendedDataTypeCreateStringEx(
2044 size_t nMaxStringLength,
2045 GDALExtendedDataTypeSubType eSubType) CPL_WARN_UNUSED_RESULT;
2046 GDALExtendedDataTypeH CPL_DLL GDALExtendedDataTypeCreateCompound(
2047 const char *pszName, size_t nTotalSize, size_t nComponents,
2048 const GDALEDTComponentH *comps) CPL_WARN_UNUSED_RESULT;
2049 void CPL_DLL GDALExtendedDataTypeRelease(GDALExtendedDataTypeH hEDT);
2050 const char CPL_DLL *GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT);
2051 GDALExtendedDataTypeClass CPL_DLL
2052 GDALExtendedDataTypeGetClass(GDALExtendedDataTypeH hEDT);
2053 GDALDataType CPL_DLL
2054 GDALExtendedDataTypeGetNumericDataType(GDALExtendedDataTypeH hEDT);
2055 size_t CPL_DLL GDALExtendedDataTypeGetSize(GDALExtendedDataTypeH hEDT);
2056 size_t CPL_DLL
2057 GDALExtendedDataTypeGetMaxStringLength(GDALExtendedDataTypeH hEDT);
2058 GDALEDTComponentH CPL_DLL *
2059 GDALExtendedDataTypeGetComponents(GDALExtendedDataTypeH hEDT,
2060 size_t *pnCount) CPL_WARN_UNUSED_RESULT;
2061 void CPL_DLL GDALExtendedDataTypeFreeComponents(GDALEDTComponentH *components,
2062 size_t nCount);
2063 int CPL_DLL GDALExtendedDataTypeCanConvertTo(GDALExtendedDataTypeH hSourceEDT,
2064 GDALExtendedDataTypeH hTargetEDT);
2065 int CPL_DLL GDALExtendedDataTypeEquals(GDALExtendedDataTypeH hFirstEDT,
2066 GDALExtendedDataTypeH hSecondEDT);
2067 GDALExtendedDataTypeSubType CPL_DLL
2068 GDALExtendedDataTypeGetSubType(GDALExtendedDataTypeH hEDT);
2069
2070 GDALEDTComponentH CPL_DLL
2071 GDALEDTComponentCreate(const char *pszName, size_t nOffset,
2072 GDALExtendedDataTypeH hType) CPL_WARN_UNUSED_RESULT;
2073 void CPL_DLL GDALEDTComponentRelease(GDALEDTComponentH hComp);
2074 const char CPL_DLL *GDALEDTComponentGetName(GDALEDTComponentH hComp);
2075 size_t CPL_DLL GDALEDTComponentGetOffset(GDALEDTComponentH hComp);
2076 GDALExtendedDataTypeH CPL_DLL GDALEDTComponentGetType(GDALEDTComponentH hComp)
2077 CPL_WARN_UNUSED_RESULT;
2078
2079 GDALGroupH CPL_DLL GDALDatasetGetRootGroup(GDALDatasetH hDS)
2080 CPL_WARN_UNUSED_RESULT;
2081 void CPL_DLL GDALGroupRelease(GDALGroupH hGroup);
2082 const char CPL_DLL *GDALGroupGetName(GDALGroupH hGroup);
2083 const char CPL_DLL *GDALGroupGetFullName(GDALGroupH hGroup);
2084 char CPL_DLL **
2085 GDALGroupGetMDArrayNames(GDALGroupH hGroup,
2086 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2087 GDALMDArrayH CPL_DLL
2088 GDALGroupOpenMDArray(GDALGroupH hGroup, const char *pszMDArrayName,
2089 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2090 GDALMDArrayH CPL_DLL GDALGroupOpenMDArrayFromFullname(
2091 GDALGroupH hGroup, const char *pszMDArrayName,
2092 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2093 GDALMDArrayH CPL_DLL GDALGroupResolveMDArray(
2094 GDALGroupH hGroup, const char *pszName, const char *pszStartingPoint,
2095 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2096 char CPL_DLL **
2097 GDALGroupGetGroupNames(GDALGroupH hGroup,
2098 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2099 GDALGroupH CPL_DLL
2100 GDALGroupOpenGroup(GDALGroupH hGroup, const char *pszSubGroupName,
2101 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2102 GDALGroupH CPL_DLL GDALGroupOpenGroupFromFullname(
2103 GDALGroupH hGroup, const char *pszMDArrayName,
2104 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2105 char CPL_DLL **
2106 GDALGroupGetVectorLayerNames(GDALGroupH hGroup,
2107 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2108 OGRLayerH CPL_DLL
2109 GDALGroupOpenVectorLayer(GDALGroupH hGroup, const char *pszVectorLayerName,
2110 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2111 GDALDimensionH CPL_DLL *
2112 GDALGroupGetDimensions(GDALGroupH hGroup, size_t *pnCount,
2113 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2114 GDALAttributeH CPL_DLL GDALGroupGetAttribute(
2115 GDALGroupH hGroup, const char *pszName) CPL_WARN_UNUSED_RESULT;
2116 GDALAttributeH CPL_DLL *
2117 GDALGroupGetAttributes(GDALGroupH hGroup, size_t *pnCount,
2118 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2119 CSLConstList CPL_DLL GDALGroupGetStructuralInfo(GDALGroupH hGroup);
2120 GDALGroupH CPL_DLL
2121 GDALGroupCreateGroup(GDALGroupH hGroup, const char *pszSubGroupName,
2122 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2123 GDALDimensionH CPL_DLL GDALGroupCreateDimension(
2124 GDALGroupH hGroup, const char *pszName, const char *pszType,
2125 const char *pszDirection, GUInt64 nSize,
2126 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2127 GDALMDArrayH CPL_DLL GDALGroupCreateMDArray(
2128 GDALGroupH hGroup, const char *pszName, size_t nDimensions,
2129 GDALDimensionH *pahDimensions, GDALExtendedDataTypeH hEDT,
2130 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2131 GDALAttributeH CPL_DLL GDALGroupCreateAttribute(
2132 GDALGroupH hGroup, const char *pszName, size_t nDimensions,
2133 const GUInt64 *panDimensions, GDALExtendedDataTypeH hEDT,
2134 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2135
2136 void CPL_DLL GDALMDArrayRelease(GDALMDArrayH hMDArray);
2137 const char CPL_DLL *GDALMDArrayGetName(GDALMDArrayH hArray);
2138 const char CPL_DLL *GDALMDArrayGetFullName(GDALMDArrayH hArray);
2139 GUInt64 CPL_DLL GDALMDArrayGetTotalElementsCount(GDALMDArrayH hArray);
2140 size_t CPL_DLL GDALMDArrayGetDimensionCount(GDALMDArrayH hArray);
2141 GDALDimensionH CPL_DLL *
2142 GDALMDArrayGetDimensions(GDALMDArrayH hArray,
2143 size_t *pnCount) CPL_WARN_UNUSED_RESULT;
2144 GDALExtendedDataTypeH CPL_DLL GDALMDArrayGetDataType(GDALMDArrayH hArray)
2145 CPL_WARN_UNUSED_RESULT;
2146 int CPL_DLL GDALMDArrayRead(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx,
2147 const size_t *count, const GInt64 *arrayStep,
2148 const GPtrDiff_t *bufferStride,
2149 GDALExtendedDataTypeH bufferDatatype,
2150 void *pDstBuffer, const void *pDstBufferAllocStart,
2151 size_t nDstBufferllocSize);
2152 int CPL_DLL GDALMDArrayWrite(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx,
2153 const size_t *count, const GInt64 *arrayStep,
2154 const GPtrDiff_t *bufferStride,
2155 GDALExtendedDataTypeH bufferDatatype,
2156 const void *pSrcBuffer,
2157 const void *psrcBufferAllocStart,
2158 size_t nSrcBufferllocSize);
2159 int CPL_DLL GDALMDArrayAdviseRead(GDALMDArrayH hArray,
2160 const GUInt64 *arrayStartIdx,
2161 const size_t *count);
2162 int CPL_DLL GDALMDArrayAdviseReadEx(GDALMDArrayH hArray,
2163 const GUInt64 *arrayStartIdx,
2164 const size_t *count,
2165 CSLConstList papszOptions);
2166 GDALAttributeH CPL_DLL GDALMDArrayGetAttribute(
2167 GDALMDArrayH hArray, const char *pszName) CPL_WARN_UNUSED_RESULT;
2168 GDALAttributeH CPL_DLL *
2169 GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t *pnCount,
2170 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2171 GDALAttributeH CPL_DLL GDALMDArrayCreateAttribute(
2172 GDALMDArrayH hArray, const char *pszName, size_t nDimensions,
2173 const GUInt64 *panDimensions, GDALExtendedDataTypeH hEDT,
2174 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2175 bool CPL_DLL GDALMDArrayResize(GDALMDArrayH hArray,
2176 const GUInt64 *panNewDimSizes,
2177 CSLConstList papszOptions);
2178 const void CPL_DLL *GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray);
2179 double CPL_DLL GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray,
2180 int *pbHasNoDataValue);
2181 int64_t CPL_DLL GDALMDArrayGetNoDataValueAsInt64(GDALMDArrayH hArray,
2182 int *pbHasNoDataValue);
2183 uint64_t CPL_DLL GDALMDArrayGetNoDataValueAsUInt64(GDALMDArrayH hArray,
2184 int *pbHasNoDataValue);
2185 int CPL_DLL GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void *);
2186 int CPL_DLL GDALMDArraySetNoDataValueAsDouble(GDALMDArrayH hArray,
2187 double dfNoDataValue);
2188 int CPL_DLL GDALMDArraySetNoDataValueAsInt64(GDALMDArrayH hArray,
2189 int64_t nNoDataValue);
2190 int CPL_DLL GDALMDArraySetNoDataValueAsUInt64(GDALMDArrayH hArray,
2191 uint64_t nNoDataValue);
2192 int CPL_DLL GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale);
2193 int CPL_DLL GDALMDArraySetScaleEx(GDALMDArrayH hArray, double dfScale,
2194 GDALDataType eStorageType);
2195 double CPL_DLL GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue);
2196 double CPL_DLL GDALMDArrayGetScaleEx(GDALMDArrayH hArray, int *pbHasValue,
2197 GDALDataType *peStorageType);
2198 int CPL_DLL GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset);
2199 int CPL_DLL GDALMDArraySetOffsetEx(GDALMDArrayH hArray, double dfOffset,
2200 GDALDataType eStorageType);
2201 double CPL_DLL GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue);
2202 double CPL_DLL GDALMDArrayGetOffsetEx(GDALMDArrayH hArray, int *pbHasValue,
2203 GDALDataType *peStorageType);
2204 GUInt64 CPL_DLL *GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount);
2205 int CPL_DLL GDALMDArraySetUnit(GDALMDArrayH hArray, const char *);
2206 const char CPL_DLL *GDALMDArrayGetUnit(GDALMDArrayH hArray);
2207 int CPL_DLL GDALMDArraySetSpatialRef(GDALMDArrayH, OGRSpatialReferenceH);
2208 OGRSpatialReferenceH CPL_DLL GDALMDArrayGetSpatialRef(GDALMDArrayH hArray);
2209 size_t CPL_DLL *GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray,
2210 size_t *pnCount,
2211 size_t nMaxChunkMemory);
2212 CSLConstList CPL_DLL GDALMDArrayGetStructuralInfo(GDALMDArrayH hArray);
2213 GDALMDArrayH CPL_DLL GDALMDArrayGetView(GDALMDArrayH hArray,
2214 const char *pszViewExpr);
2215 GDALMDArrayH CPL_DLL GDALMDArrayTranspose(GDALMDArrayH hArray,
2216 size_t nNewAxisCount,
2217 const int *panMapNewAxisToOldAxis);
2218 GDALMDArrayH CPL_DLL GDALMDArrayGetUnscaled(GDALMDArrayH hArray);
2219 GDALMDArrayH CPL_DLL GDALMDArrayGetMask(GDALMDArrayH hArray,
2220 CSLConstList papszOptions);
2221 GDALDatasetH CPL_DLL GDALMDArrayAsClassicDataset(GDALMDArrayH hArray,
2222 size_t iXDim, size_t iYDim);
2223 CPLErr CPL_DLL GDALMDArrayGetStatistics(
2224 GDALMDArrayH hArray, GDALDatasetH, int bApproxOK, int bForce,
2225 double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev,
2226 GUInt64 *pnValidCount, GDALProgressFunc pfnProgress, void *pProgressData);
2227 int CPL_DLL GDALMDArrayComputeStatistics(GDALMDArrayH hArray, GDALDatasetH,
2228 int bApproxOK, double *pdfMin,
2229 double *pdfMax, double *pdfMean,
2230 double *pdfStdDev,
2231 GUInt64 *pnValidCount,
2232 GDALProgressFunc, void *pProgressData);
2233 GDALMDArrayH CPL_DLL GDALMDArrayGetResampled(GDALMDArrayH hArray,
2234 size_t nNewDimCount,
2235 const GDALDimensionH *pahNewDims,
2236 GDALRIOResampleAlg resampleAlg,
2237 OGRSpatialReferenceH hTargetSRS,
2238 CSLConstList papszOptions);
2239 GDALMDArrayH CPL_DLL GDALMDArrayGetGridded(
2240 GDALMDArrayH hArray, const char *pszGridOptions, GDALMDArrayH hXArray,
2241 GDALMDArrayH hYArray, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
2242
2243 GDALMDArrayH CPL_DLL *
2244 GDALMDArrayGetCoordinateVariables(GDALMDArrayH hArray,
2245 size_t *pnCount) CPL_WARN_UNUSED_RESULT;
2246 void CPL_DLL GDALReleaseArrays(GDALMDArrayH *arrays, size_t nCount);
2247 int CPL_DLL GDALMDArrayCache(GDALMDArrayH hArray, CSLConstList papszOptions);
2248
2249 void CPL_DLL GDALAttributeRelease(GDALAttributeH hAttr);
2250 void CPL_DLL GDALReleaseAttributes(GDALAttributeH *attributes, size_t nCount);
2251 const char CPL_DLL *GDALAttributeGetName(GDALAttributeH hAttr);
2252 const char CPL_DLL *GDALAttributeGetFullName(GDALAttributeH hAttr);
2253 GUInt64 CPL_DLL GDALAttributeGetTotalElementsCount(GDALAttributeH hAttr);
2254 size_t CPL_DLL GDALAttributeGetDimensionCount(GDALAttributeH hAttr);
2255 GUInt64 CPL_DLL *
2256 GDALAttributeGetDimensionsSize(GDALAttributeH hAttr,
2257 size_t *pnCount) CPL_WARN_UNUSED_RESULT;
2258 GDALExtendedDataTypeH CPL_DLL GDALAttributeGetDataType(GDALAttributeH hAttr)
2259 CPL_WARN_UNUSED_RESULT;
2260 GByte CPL_DLL *GDALAttributeReadAsRaw(GDALAttributeH hAttr,
2261 size_t *pnSize) CPL_WARN_UNUSED_RESULT;
2262 void CPL_DLL GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte *raw,
2263 size_t nSize);
2264 const char CPL_DLL *GDALAttributeReadAsString(GDALAttributeH hAttr);
2265 int CPL_DLL GDALAttributeReadAsInt(GDALAttributeH hAttr);
2266 double CPL_DLL GDALAttributeReadAsDouble(GDALAttributeH hAttr);
2267 char CPL_DLL **
2268 GDALAttributeReadAsStringArray(GDALAttributeH hAttr) CPL_WARN_UNUSED_RESULT;
2269 int CPL_DLL *GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t *pnCount)
2270 CPL_WARN_UNUSED_RESULT;
2271 double CPL_DLL *
2272 GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr,
2273 size_t *pnCount) CPL_WARN_UNUSED_RESULT;
2274 int CPL_DLL GDALAttributeWriteRaw(GDALAttributeH hAttr, const void *, size_t);
2275 int CPL_DLL GDALAttributeWriteString(GDALAttributeH hAttr, const char *);
2276 int CPL_DLL GDALAttributeWriteStringArray(GDALAttributeH hAttr, CSLConstList);
2277 int CPL_DLL GDALAttributeWriteInt(GDALAttributeH hAttr, int);
2278 int CPL_DLL GDALAttributeWriteDouble(GDALAttributeH hAttr, double);
2279 int CPL_DLL GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double *,
2280 size_t);
2281
2282 void CPL_DLL GDALDimensionRelease(GDALDimensionH hDim);
2283 void CPL_DLL GDALReleaseDimensions(GDALDimensionH *dims, size_t nCount);
2284 const char CPL_DLL *GDALDimensionGetName(GDALDimensionH hDim);
2285 const char CPL_DLL *GDALDimensionGetFullName(GDALDimensionH hDim);
2286 const char CPL_DLL *GDALDimensionGetType(GDALDimensionH hDim);
2287 const char CPL_DLL *GDALDimensionGetDirection(GDALDimensionH hDim);
2288 GUInt64 CPL_DLL GDALDimensionGetSize(GDALDimensionH hDim);
2289 GDALMDArrayH CPL_DLL GDALDimensionGetIndexingVariable(GDALDimensionH hDim)
2290 CPL_WARN_UNUSED_RESULT;
2291 int CPL_DLL GDALDimensionSetIndexingVariable(GDALDimensionH hDim,
2292 GDALMDArrayH hArray);
2293
2294 CPL_C_END
2295
2296 #endif /* ndef GDAL_H_INCLUDED */
GCI_HueBand
@ GCI_HueBand
Definition: gdal.h:235
GDALGetAsyncStatusTypeByName
GDALAsyncStatusType GDALGetAsyncStatusTypeByName(const char *)
Get AsyncStatusType by symbolic name.
Definition: gdal_misc.cpp:931
GDALAttributeReadAsIntArray
int * GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of integers.
Definition: gdalmultidim.cpp:11201
GDALGroupGetStructuralInfo
CSLConstList GDALGroupGetStructuralInfo(GDALGroupH hGroup)
Return structural information on the group.
Definition: gdalmultidim.cpp:9641
GDALCheckVersion
int GDALCheckVersion(int nVersionMajor, int nVersionMinor, const char *pszCallingComponentName)
Return TRUE if GDAL library version at runtime matches nVersionMajor.nVersionMinor.
Definition: gdal_misc.cpp:2524
GDALDimensionGetType
const char * GDALDimensionGetType(GDALDimensionH hDim)
Return dimension type.
Definition: gdalmultidim.cpp:11433
GDALRPCInfoV2::dfMIN_LONG
double dfMIN_LONG
Definition: gdal.h:1708
GDALMDArrayGetName
const char * GDALMDArrayGetName(GDALMDArrayH hArray)
Return array name.
Definition: gdalmultidim.cpp:9793
GDALRATInitializeFromColorTable
CPLErr GDALRATInitializeFromColorTable(GDALRasterAttributeTableH, GDALColorTableH)
Initialize from color table.
Definition: gdal_rat.cpp:984
GRC_ONE_TO_ONE
@ GRC_ONE_TO_ONE
One-to-one.
Definition: gdal.h:1891
GDALRATTableType
GDALRATTableType
RAT table type (thematic or athematic)
Definition: gdal.h:1802
GDAL_GCP::pszId
char * pszId
Unique identifier, often numeric.
Definition: gdal.h:1039
GDALMDArrayH
struct GDALMDArrayHS * GDALMDArrayH
Opaque type for C++ GDALMDArray.
Definition: gdal.h:348
GDALVersionInfo
const char * GDALVersionInfo(const char *)
Get runtime version information.
Definition: gdal_misc.cpp:2357
GDALMDArrayGetOffsetEx
double GDALMDArrayGetOffsetEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType *peStorageType)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10469
GDALRPCInfoV2::dfSAMP_SCALE
double dfSAMP_SCALE
Definition: gdal.h:1698
GRC_MANY_TO_ONE
@ GRC_MANY_TO_ONE
Many-to-one.
Definition: gdal.h:1895
GDALExtendedDataTypeGetSubType
GDALExtendedDataTypeSubType GDALExtendedDataTypeGetSubType(GDALExtendedDataTypeH hEDT)
Return the subtype of a type.
Definition: gdalmultidim.cpp:9144
GDT_Int32
@ GDT_Int32
Definition: gdal.h:71
GDALRenameDataset
CPLErr GDALRenameDataset(GDALDriverH, const char *pszNewName, const char *pszOldName)
Rename a dataset.
Definition: gdaldriver.cpp:1566
GDALRelationshipGetBackwardPathLabel
const char * GDALRelationshipGetBackwardPathLabel(GDALRelationshipH)
Get the label of the backward path for the relationship.
Definition: gdalrelationship.cpp:608
GDALDatasetRasterIO
CPLErr GDALDatasetRasterIO(GDALDatasetH hDS, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, int nBandCount, int *panBandCount, int nPixelSpace, int nLineSpace, int nBandSpace)
Read/write a region of image data from multiple bands.
Definition: gdaldataset.cpp:2680
GDALAttributeReadAsRaw
GByte * GDALAttributeReadAsRaw(GDALAttributeH hAttr, size_t *pnSize)
Return the raw value of an attribute.
Definition: gdalmultidim.cpp:11070
GDALRasterAttributeTableH
void * GDALRasterAttributeTableH
Opaque type used for the C bindings of the C++ GDALRasterAttributeTable class.
Definition: gdal.h:304
GDALGetDataTypeSizeBytes
int GDALGetDataTypeSizeBytes(GDALDataType)
Get data type size in bytes.
Definition: gdal_misc.cpp:336
GDALGetRasterScale
double GDALGetRasterScale(GDALRasterBandH, int *pbSuccess)
Fetch the raster value scale.
Definition: gdalrasterband.cpp:2929
GDALGetDriverShortName
const char * GDALGetDriverShortName(GDALDriverH)
Return the short name of a driver.
Definition: gdaldriver.cpp:1726
GDALRATValuesIOAsDouble
CPLErr GDALRATValuesIOAsDouble(GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag, int iField, int iStartRow, int iLength, double *pdfData)
Read or Write a block of doubles to/from the Attribute Table.
Definition: gdal_rat.cpp:160
GDALDatasetSetQueryLoggerFunc
bool GDALDatasetSetQueryLoggerFunc(GDALDatasetH hDS, GDALQueryLoggerFunc pfnQueryLoggerFunc, void *poQueryLoggerArg)
Sets the SQL query logger callback.
Definition: gdaldataset.cpp:9186
GDALAdjustValueToDataType
double GDALAdjustValueToDataType(GDALDataType eDT, double dfValue, int *pbClamped, int *pbRounded)
Adjust a value to the output data type.
Definition: gdal_misc.cpp:795
GDALGetDriverCreationOptionList
const char * GDALGetDriverCreationOptionList(GDALDriverH)
Return the list of creation options of the driver.
Definition: gdaldriver.cpp:1802
GDALMDArrayAdviseReadEx
int GDALMDArrayAdviseReadEx(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx, const size_t *count, CSLConstList papszOptions)
Advise driver of upcoming read requests.
Definition: gdalmultidim.cpp:10002
GDALEDTComponentGetName
const char * GDALEDTComponentGetName(GDALEDTComponentH hComp)
Return the name.
Definition: gdalmultidim.cpp:9246
GDALGetRasterSampleOverview
GDALRasterBandH GDALGetRasterSampleOverview(GDALRasterBandH, int)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2694
GByte
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:205
GDALGetDefaultHistogramEx
CPLErr GDALGetDefaultHistogramEx(GDALRasterBandH hBand, double *pdfMin, double *pdfMax, int *pnBuckets, GUIntBig **ppanHistogram, int bForce, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch default raster histogram.
Definition: gdalrasterband.cpp:4121
GDALDuplicateGCPs
GDAL_GCP * GDALDuplicateGCPs(int, const GDAL_GCP *)
Duplicate an array of GCPs.
Definition: gdal_misc.cpp:1415
GDALAttributeH
struct GDALAttributeHS * GDALAttributeH
Opaque type for C++ GDALAttribute.
Definition: gdal.h:350
GUInt64
GUIntBig GUInt64
Unsigned 64 bit integer type.
Definition: cpl_port.h:258
GDT_UInt64
@ GDT_UInt64
Definition: gdal.h:72
GDALGeneralCmdLineProcessor
int GDALGeneralCmdLineProcessor(int nArgc, char ***ppapszArgv, int nOptions)
General utility option processing.
Definition: gdal_misc.cpp:3057
GDALRPCInfoV2::dfLONG_OFF
double dfLONG_OFF
Definition: gdal.h:1694
GDALMDArrayGetSpatialRef
OGRSpatialReferenceH GDALMDArrayGetSpatialRef(GDALMDArrayH hArray)
Return the spatial reference system object associated with the array.
Definition: gdalmultidim.cpp:10783
GDALRelationshipGetType
GDALRelationshipType GDALRelationshipGetType(GDALRelationshipH)
Get the type of the relationship.
Definition: gdalrelationship.cpp:492
GCI_GreenBand
@ GCI_GreenBand
Definition: gdal.h:232
GTO_TIP
@ GTO_TIP
Definition: gdal.h:1991
GDALRPCInfoV2::dfMIN_LAT
double dfMIN_LAT
Definition: gdal.h:1709
GDALRasterIOExtraArg::bFloatingPointWindowValidity
int bFloatingPointWindowValidity
Definition: gdal.h:193
GDALRasterIOEx
CPLErr GDALRasterIOEx(GDALRasterBandH hRBand, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, GSpacing nPixelSpace, GSpacing nLineSpace, GDALRasterIOExtraArg *psExtraArg)
Read/write a region of image data for this band.
Definition: gdalrasterband.cpp:430
GDALFlushCacheBlock
int GDALFlushCacheBlock(void)
Try to flush one cached raster block.
Definition: gdalrasterblock.cpp:372
GDALAttributeWriteString
int GDALAttributeWriteString(GDALAttributeH hAttr, const char *)
Write an attribute from a string value.
Definition: gdalmultidim.cpp:11286
GDT_Float32
@ GDT_Float32
Definition: gdal.h:74
GDALDatasetDeleteFieldDomain
bool GDALDatasetDeleteFieldDomain(GDALDatasetH hDS, const char *pszName, char **ppszFailureReason)
Removes a field domain from the dataset.
Definition: gdaldataset.cpp:8759
GDALGetMetadataDomainList
char ** GDALGetMetadataDomainList(GDALMajorObjectH hObject)
Fetch list of metadata domains.
Definition: gdalmajorobject.cpp:217
GDALDimensionGetFullName
const char * GDALDimensionGetFullName(GDALDimensionH hDim)
Return dimension full name.
Definition: gdalmultidim.cpp:11419
GDALRATGetRowOfValue
int GDALRATGetRowOfValue(GDALRasterAttributeTableH, double)
Get row for pixel value.
Definition: gdal_rat.cpp:381
cpl_error.h
GRC_MANY_TO_MANY
@ GRC_MANY_TO_MANY
Many-to-many.
Definition: gdal.h:1897
GDALGetRasterCategoryNames
char ** GDALGetRasterCategoryNames(GDALRasterBandH)
Fetch the list of category names for this raster.
Definition: gdalrasterband.cpp:1602
GDALGetColorInterpretationName
const char * GDALGetColorInterpretationName(GDALColorInterp)
Get name of color interpretation.
Definition: gdal_misc.cpp:1045
GDALDimensionGetIndexingVariable
GDALMDArrayH GDALDimensionGetIndexingVariable(GDALDimensionH hDim)
Return the variable that is used to index the dimension (if there is one).
Definition: gdalmultidim.cpp:11480
GDALARLockBuffer
int GDALARLockBuffer(GDALAsyncReaderH hARIO, double dfTimeout)
Lock image buffer.
Definition: gdaldefaultasync.cpp:220
GDALRelationshipGetMappingTableName
const char * GDALRelationshipGetMappingTableName(GDALRelationshipH)
Get the name of the mapping table for many-to-many relationships.
Definition: gdalrelationship.cpp:190
GDALGetJPEG2000Structure
CPLXMLNode * GDALGetJPEG2000Structure(const char *pszFilename, CSLConstList papszOptions)
Dump the structure of a JPEG2000 file as a XML tree.
Definition: gdaljp2structure.cpp:2362
GDAL_GCP::dfGCPX
double dfGCPX
X position of GCP in georeferenced space.
Definition: gdal.h:1050
GDALRPCInfoV2::dfLINE_SCALE
double dfLINE_SCALE
Definition: gdal.h:1697
GDALOpenEx
GDALDatasetH GDALOpenEx(const char *pszFilename, unsigned int nOpenFlags, const char *const *papszAllowedDrivers, const char *const *papszOpenOptions, const char *const *papszSiblingFiles)
Open a raster or vector file as a GDALDataset.
Definition: gdaldataset.cpp:3370
GFU_GreenMax
@ GFU_GreenMax
Definition: gdal.h:1793
GDALGroupGetGroupNames
char ** GDALGroupGetGroupNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of sub-groups contained in this group.
Definition: gdalmultidim.cpp:9429
GDALRelationshipSetRelatedTableType
void GDALRelationshipSetRelatedTableType(GDALRelationshipH, const char *)
Sets the type string of the related table.
Definition: gdalrelationship.cpp:699
cpl_virtualmem.h
GDALMDArraySetNoDataValueAsDouble
int GDALMDArraySetNoDataValueAsDouble(GDALMDArrayH hArray, double dfNoDataValue)
Set the nodata value as a double.
Definition: gdalmultidim.cpp:10231
GDALMDArrayGetStructuralInfo
CSLConstList GDALMDArrayGetStructuralInfo(GDALMDArrayH hArray)
Return structural information on the array.
Definition: gdalmultidim.cpp:10571
GDALDatasetSetStyleTableDirectly
void GDALDatasetSetStyleTableDirectly(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4964
GDALRATClone
GDALRasterAttributeTableH GDALRATClone(const GDALRasterAttributeTableH)
Copy Raster Attribute Table.
Definition: gdal_rat.cpp:2173
GDALDatasetReadCompressedData
CPLErr GDALDatasetReadCompressedData(GDALDatasetH hDS, const char *pszFormat, int nXOff, int nYOff, int nXSize, int nYSize, int nBandCount, const int *panBandList, void **ppBuffer, size_t *pnBufferSize, char **ppszDetailedFormat)
Return the compressed content that can be natively obtained for the window of interest and requested ...
Definition: gdaldataset.cpp:9633
GDALGroupCreateAttribute
GDALAttributeH GDALGroupCreateAttribute(GDALGroupH hGroup, const char *pszName, size_t nDimensions, const GUInt64 *panDimensions, GDALExtendedDataTypeH hEDT, CSLConstList papszOptions)
Create a attribute within a group.
Definition: gdalmultidim.cpp:9752
GDALDeinitGCPs
void GDALDeinitGCPs(int, GDAL_GCP *)
De-initialize an array of GCPs (initialized with GDALInitGCPs())
Definition: gdal_misc.cpp:1388
GDALDatasetUpdateFieldDomain
bool GDALDatasetUpdateFieldDomain(GDALDatasetH hDS, OGRFieldDomainH hFieldDomain, char **ppszFailureReason)
Updates an existing field domain by replacing its definition.
Definition: gdaldataset.cpp:8832
GDALFindDataType
GDALDataType GDALFindDataType(int nBits, int bSigned, int bFloating, int bComplex)
Finds the smallest data type able to support the given requirements.
Definition: gdal_misc.cpp:248
GEDTC_STRING
@ GEDTC_STRING
String value.
Definition: gdal.h:325
GDALGetRandomRasterSample
int GDALGetRandomRasterSample(GDALRasterBandH, int, float *)
Undocumented.
Definition: gdal_misc.cpp:1153
GDALSetRasterNoDataValueAsUInt64
CPLErr GDALSetRasterNoDataValueAsUInt64(GDALRasterBandH, uint64_t)
Set the no data value for this band.
Definition: gdalrasterband.cpp:2051
GDALRATValuesIOAsInteger
CPLErr GDALRATValuesIOAsInteger(GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag, int iField, int iStartRow, int iLength, int *pnData)
Read or Write a block of ints to/from the Attribute Table.
Definition: gdal_rat.cpp:224
GDALGetRasterHistogramEx
CPLErr GDALGetRasterHistogramEx(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram, int bIncludeOutOfRange, int bApproxOK, GDALProgressFunc pfnProgress, void *pProgressData)
Compute raster histogram.
Definition: gdalrasterband.cpp:3921
GFU_MinMax
@ GFU_MinMax
Definition: gdal.h:1783
GEDTC_NUMERIC
@ GEDTC_NUMERIC
Numeric value.
Definition: gdal.h:323
GCI_Max
@ GCI_Max
Definition: gdal.h:245
GDT_Unknown
@ GDT_Unknown
Definition: gdal.h:65
GDALMDArraySetOffsetEx
int GDALMDArraySetOffsetEx(GDALMDArrayH hArray, double dfOffset, GDALDataType eStorageType)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10381
GDALExtendedDataTypeGetName
const char * GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT)
Return type name.
Definition: gdalmultidim.cpp:9026
GDALRATGetValueAsDouble
double GDALRATGetValueAsDouble(GDALRasterAttributeTableH, int, int)
Fetch field value as a double.
Definition: gdal_rat.cpp:1622
GRIORA_Cubic
@ GRIORA_Cubic
Definition: gdal.h:146
GDALRPCInfoV2::dfLAT_SCALE
double dfLAT_SCALE
Definition: gdal.h:1699
GDALSetMetadataItem
CPLErr GDALSetMetadataItem(GDALMajorObjectH, const char *, const char *, const char *)
Set single metadata item.
Definition: gdalmajorobject.cpp:411
GDT_Int8
@ GDT_Int8
Definition: gdal.h:67
GDALCopyDatasetFiles
CPLErr GDALCopyDatasetFiles(GDALDriverH, const char *pszNewName, const char *pszOldName)
Copy the files of a dataset.
Definition: gdaldriver.cpp:1691
GDAL_GCP::dfGCPLine
double dfGCPLine
Line (y) location of GCP on raster.
Definition: gdal.h:1047
GCI_GrayIndex
@ GCI_GrayIndex
Definition: gdal.h:229
GDALGetPaletteInterpretation
GDALPaletteInterp GDALGetPaletteInterpretation(GDALColorTableH)
Fetch palette interpretation.
Definition: gdalcolortable.cpp:353
GDALMDArrayComputeStatistics
int GDALMDArrayComputeStatistics(GDALMDArrayH hArray, GDALDatasetH, int bApproxOK, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GUInt64 *pnValidCount, GDALProgressFunc, void *pProgressData)
Compute statistics.
Definition: gdalmultidim.cpp:10827
GDALGetCacheUsed64
GIntBig GDALGetCacheUsed64(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:352
GRT_ASSOCIATION
@ GRT_ASSOCIATION
Association relationship.
Definition: gdal.h:1909
GDALOverviewMagnitudeCorrection
CPLErr GDALOverviewMagnitudeCorrection(GDALRasterBandH hBaseBand, int nOverviewCount, GDALRasterBandH *pahOverviews, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:5586
GDALRATGetUsageOfCol
GDALRATFieldUsage GDALRATGetUsageOfCol(GDALRasterAttributeTableH, int)
Fetch column usage value.
Definition: gdal_rat.cpp:1333
GDALRATGetTypeOfCol
GDALRATFieldType GDALRATGetTypeOfCol(GDALRasterAttributeTableH, int)
Fetch column type.
Definition: gdal_rat.cpp:1373
GDALRelationshipGetLeftTableName
const char * GDALRelationshipGetLeftTableName(GDALRelationshipH)
Get the name of the left (or base/origin) table in the relationship.
Definition: gdalrelationship.cpp:143
cpl_minixml.h
GDALSetColorEntry
void GDALSetColorEntry(GDALColorTableH, int, const GDALColorEntry *)
Set entry in color table.
Definition: gdalcolortable.cpp:242
GDALTileOrganization
GDALTileOrganization
! Enumeration to describe the tile organization
Definition: gdal.h:1987
GDALRPCInfoV2::dfERR_RAND
double dfERR_RAND
Definition: gdal.h:1716
GDALMDArraySetOffset
int GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10362
GFU_Red
@ GFU_Red
Definition: gdal.h:1784
GRIORA_Lanczos
@ GRIORA_Lanczos
Definition: gdal.h:148
GDALReadWorldFile
int GDALReadWorldFile(const char *, const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:2130
GDALColorTableH
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:300
GDALSetRasterCategoryNames
CPLErr GDALSetRasterCategoryNames(GDALRasterBandH, CSLConstList)
Set the category names for this band.
Definition: gdalrasterband.cpp:1653
GDALGroupGetMDArrayNames
char ** GDALGroupGetMDArrayNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of multidimensional array names contained in this group.
Definition: gdalmultidim.cpp:9337
GDT_UInt32
@ GDT_UInt32
Definition: gdal.h:70
GDALRPCInfoV2::dfHEIGHT_OFF
double dfHEIGHT_OFF
Definition: gdal.h:1695
GDALGetCacheMax
int GDALGetCacheMax(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:199
GDALRPCInfoV2::dfHEIGHT_SCALE
double dfHEIGHT_SCALE
Definition: gdal.h:1701
GDT_CFloat64
@ GDT_CFloat64
Definition: gdal.h:80
GDALGetOpenDatasets
void GDALGetOpenDatasets(GDALDatasetH **hDS, int *pnCount)
Fetch all open GDAL dataset handles.
Definition: gdaldataset.cpp:2775
GDALDatasetStartTransaction
OGRErr GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce)
For datasources which support transactions, StartTransaction creates a transaction.
Definition: gdaldataset.cpp:7533
GDT_CInt32
@ GDT_CInt32
Definition: gdal.h:77
GDALDatasetCopyWholeRaster
CPLErr GDALDatasetCopyWholeRaster(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy all dataset raster data.
Definition: rasterio.cpp:4548
GDALGetRasterBand
GDALRasterBandH GDALGetRasterBand(GDALDatasetH, int)
Fetch a band object for a dataset.
Definition: gdaldataset.cpp:945
GDALGetGCPs
const GDAL_GCP * GDALGetGCPs(GDALDatasetH)
Fetch GCPs.
Definition: gdaldataset.cpp:1782
GDALGetNonComplexDataType
GDALDataType GDALGetNonComplexDataType(GDALDataType)
Return the base data type for the specified input.
Definition: gdal_misc.cpp:885
GDALDestroyRasterAttributeTable
void GDALDestroyRasterAttributeTable(GDALRasterAttributeTableH)
Destroys a RAT.
Definition: gdal_rat.cpp:1205
GDALMDArrayGetDimensionCount
size_t GDALMDArrayGetDimensionCount(GDALMDArrayH hArray)
Return the number of dimensions.
Definition: gdalmultidim.cpp:9836
GDALSwapWordsEx
void GDALSwapWordsEx(void *pData, int nWordSize, size_t nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:2072
GDALGetBlockSize
void GDALGetBlockSize(GDALRasterBandH, int *pnXSize, int *pnYSize)
Fetch the "natural" block size of this band.
Definition: gdalrasterband.cpp:950
GDALColorEntry::c4
short c4
Definition: gdal.h:1741
GCI_PaletteIndex
@ GCI_PaletteIndex
Definition: gdal.h:230
GDALDatasetDeleteRelationship
bool GDALDatasetDeleteRelationship(GDALDatasetH hDS, const char *pszName, char **ppszFailureReason)
Removes a relationship from the dataset.
Definition: gdaldataset.cpp:9076
GDALColorEntry
Color tuple.
Definition: gdal.h:1729
GDALGroupOpenGroupFromFullname
GDALGroupH GDALGroupOpenGroupFromFullname(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a sub-group from its fully qualified name.
Definition: gdalmultidim.cpp:9524
GDALGetFileList
char ** GDALGetFileList(GDALDatasetH)
Fetch files forming dataset.
Definition: gdaldataset.cpp:3138
GTO_BSQ
@ GTO_BSQ
Definition: gdal.h:1998
GDALGetRasterAccess
GDALAccess GDALGetRasterAccess(GDALRasterBandH)
Find out if we have update permission for this band.
Definition: gdalrasterband.cpp:1556
GDALColorInterp
GDALColorInterp
Definition: gdal.h:226
GDALDatasetUpdateRelationship
bool GDALDatasetUpdateRelationship(GDALDatasetH hDS, GDALRelationshipH hRelationship, char **ppszFailureReason)
Updates an existing relationship by replacing its definition.
Definition: gdaldataset.cpp:9147
GFT_Real
@ GFT_Real
Definition: gdal.h:1771
GFU_Max
@ GFU_Max
Definition: gdal.h:1782
GDALMDArrayCreateAttribute
GDALAttributeH GDALMDArrayCreateAttribute(GDALMDArrayH hArray, const char *pszName, size_t nDimensions, const GUInt64 *panDimensions, GDALExtendedDataTypeH hEDT, CSLConstList papszOptions)
Create a attribute within an array.
Definition: gdalmultidim.cpp:10075
GRT_AGGREGATION
@ GRT_AGGREGATION
Aggregation relationship.
Definition: gdal.h:1911
GDALInitGCPs
void GDALInitGCPs(int, GDAL_GCP *)
Initialize an array of GCPs.
Definition: gdal_misc.cpp:1362
GDALGetMetadata
char ** GDALGetMetadata(GDALMajorObjectH, const char *)
Fetch metadata.
Definition: gdalmajorobject.cpp:263
GDALGetOverviewCount
int GDALGetOverviewCount(GDALRasterBandH)
Return the number of overview layers available.
Definition: gdalrasterband.cpp:2578
GF_Read
@ GF_Read
Definition: gdal.h:133
GTO_BIT
@ GTO_BIT
Definition: gdal.h:1995
GDALDeleteRasterNoDataValue
CPLErr GDALDeleteRasterNoDataValue(GDALRasterBandH)
Remove the no data value for this band.
Definition: gdalrasterband.cpp:2099
GDALARUnlockBuffer
void GDALARUnlockBuffer(GDALAsyncReaderH hARIO)
Unlock image buffer.
Definition: gdaldefaultasync.cpp:255
GDALMDArrayGetStatistics
CPLErr GDALMDArrayGetStatistics(GDALMDArrayH hArray, GDALDatasetH, int bApproxOK, int bForce, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GUInt64 *pnValidCount, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch statistics.
Definition: gdalmultidim.cpp:10802
GDALDimensionGetSize
GUInt64 GDALDimensionGetSize(GDALDimensionH hDim)
Return the size, that is the number of values along the dimension.
Definition: gdalmultidim.cpp:11461
GDALSetRasterStatistics
CPLErr GDALSetRasterStatistics(GDALRasterBandH hBand, double dfMin, double dfMax, double dfMean, double dfStdDev)
Set statistics on band.
Definition: gdalrasterband.cpp:6172
GInt64
GIntBig GInt64
Signed 64 bit integer type.
Definition: cpl_port.h:256
GDALGroupRelease
void GDALGroupRelease(GDALGroupH hGroup)
Release the GDAL in-memory object associated with a GDALGroupH.
Definition: gdalmultidim.cpp:9290
GDALGetDataTypeSizeBits
int GDALGetDataTypeSizeBits(GDALDataType eDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:386
GDALExtendedDataTypeCanConvertTo
int GDALExtendedDataTypeCanConvertTo(GDALExtendedDataTypeH hSourceEDT, GDALExtendedDataTypeH hTargetEDT)
Return whether this data type can be converted to the other one.
Definition: gdalmultidim.cpp:9103
GDALRasterBandCopyWholeRaster
CPLErr GDALRasterBandCopyWholeRaster(GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand, const char *const *constpapszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy a whole raster band.
Definition: rasterio.cpp:4875
GDALLoadWorldFile
int GDALLoadWorldFile(const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:2035
GDALDereferenceDataset
int GDALDereferenceDataset(GDALDatasetH)
Subtract one from dataset reference count.
Definition: gdaldataset.cpp:1471
GPtrDiff_t
int GPtrDiff_t
Integer type large enough to hold the difference between 2 addresses.
Definition: cpl_port.h:276
GDALGroupOpenGroup
GDALGroupH GDALGroupOpenGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Open and return a sub-group.
Definition: gdalmultidim.cpp:9451
GDALDestroyDriver
void GDALDestroyDriver(GDALDriverH)
Destroy a GDALDriver.
Definition: gdaldriver.cpp:104
GCI_SaturationBand
@ GCI_SaturationBand
Definition: gdal.h:236
GDALRelationshipGetForwardPathLabel
const char * GDALRelationshipGetForwardPathLabel(GDALRelationshipH)
Get the label of the forward path for the relationship.
Definition: gdalrelationship.cpp:540
GDALClose
CPLErr GDALClose(GDALDatasetH)
Close GDAL dataset.
Definition: gdaldataset.cpp:3800
GDALOpen
GDALDatasetH GDALOpen(const char *pszFilename, GDALAccess eAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3266
GDALExtendedDataTypeClass
GDALExtendedDataTypeClass
Enumeration giving the class of a GDALExtendedDataType.
Definition: gdal.h:320
GDALAttributeReadAsDouble
double GDALAttributeReadAsDouble(GDALAttributeH hAttr)
Return the value of an attribute as a double.
Definition: gdalmultidim.cpp:11167
GCI_YCbCr_YBand
@ GCI_YCbCr_YBand
Definition: gdal.h:242
GDALMDArrayGetResampled
GDALMDArrayH GDALMDArrayGetResampled(GDALMDArrayH hArray, size_t nNewDimCount, const GDALDimensionH *pahNewDims, GDALRIOResampleAlg resampleAlg, OGRSpatialReferenceH hTargetSRS, CSLConstList papszOptions)
Return an array that is a resampled / reprojected view of the current array.
Definition: gdalmultidim.cpp:10684
GDALRPCInfoV2::dfSAMP_OFF
double dfSAMP_OFF
Definition: gdal.h:1692
GDALMDArrayAsClassicDataset
GDALDatasetH GDALMDArrayAsClassicDataset(GDALMDArrayH hArray, size_t iXDim, size_t iYDim)
Return a view of this array as a "classic" GDALDataset (ie 2D)
Definition: gdalmultidim.cpp:11580
GDALGetColorInterpretationByName
GDALColorInterp GDALGetColorInterpretationByName(const char *pszName)
Get color interpretation by symbolic name.
Definition: gdal_misc.cpp:1124
GCI_CyanBand
@ GCI_CyanBand
Definition: gdal.h:238
GDALAttributeReadAsInt
int GDALAttributeReadAsInt(GDALAttributeH hAttr)
Return the value of an attribute as a integer.
Definition: gdalmultidim.cpp:11147
GDALARGetNextUpdatedRegion
GDALAsyncStatusType GDALARGetNextUpdatedRegion(GDALAsyncReaderH hARIO, double dfTimeout, int *pnXBufOff, int *pnYBufOff, int *pnXBufSize, int *pnYBufSize)
Get async IO update.
Definition: gdaldefaultasync.cpp:161
GDALReadOziMapFile
int GDALReadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1738
GDALCreateMaskBand
CPLErr GDALCreateMaskBand(GDALRasterBandH hBand, int nFlags)
Adds a mask band to the current band.
Definition: gdalrasterband.cpp:7454
GDALDataType
GDALDataType
Definition: gdal.h:63
CPLXMLNode
Document node structure.
Definition: cpl_minixml.h:69
GDALMDArrayGetTotalElementsCount
GUInt64 GDALMDArrayGetTotalElementsCount(GDALMDArrayH hArray)
Return the total number of values in the array.
Definition: gdalmultidim.cpp:9822
GDALDatasetAddFieldDomain
bool GDALDatasetAddFieldDomain(GDALDatasetH hDS, OGRFieldDomainH hFieldDomain, char **ppszFailureReason)
Add a field domain to the dataset.
Definition: gdaldataset.cpp:8682
GRTT_ATHEMATIC
@ GRTT_ATHEMATIC
Definition: gdal.h:1805
GDALCloneColorTable
GDALColorTableH GDALCloneColorTable(GDALColorTableH)
Make a copy of a color table.
Definition: gdalcolortable.cpp:277
GDALGetGCPSpatialRef
OGRSpatialReferenceH GDALGetGCPSpatialRef(GDALDatasetH)
Get output spatial reference system for GCPs.
Definition: gdaldataset.cpp:1727
OGRFeatureH
void * OGRFeatureH
Opaque type for a feature (OGRFeature)
Definition: ogr_api.h:361
GDALSetRasterUnitType
CPLErr GDALSetRasterUnitType(GDALRasterBandH hBand, const char *pszNewValue)
Set unit type.
Definition: gdalrasterband.cpp:3074
OGRStyleTableH
void * OGRStyleTableH
Opaque type for a style table (OGRStyleTable)
Definition: ogr_api.h:363
GCI_RedBand
@ GCI_RedBand
Definition: gdal.h:231
GFU_Generic
@ GFU_Generic
Definition: gdal.h:1778
GDALDestroyRelationship
void GDALDestroyRelationship(GDALRelationshipH)
Destroys a relationship.
Definition: gdalrelationship.cpp:88
GDALExtendedDataTypeFreeComponents
void GDALExtendedDataTypeFreeComponents(GDALEDTComponentH *components, size_t nCount)
Free the return of GDALExtendedDataTypeGetComponents().
Definition: gdalmultidim.cpp:9193
GDALAddBand
CPLErr GDALAddBand(GDALDatasetH hDS, GDALDataType eType, CSLConstList papszOptions)
Add a band to a dataset.
Definition: gdaldataset.cpp:728
GDALCreatePansharpenedVRT
GDALDatasetH GDALCreatePansharpenedVRT(const char *pszXML, GDALRasterBandH hPanchroBand, int nInputSpectralBands, GDALRasterBandH *pahInputSpectralBands)
Create a virtual pansharpened dataset.
Definition: vrtpansharpened.cpp:94
GDALGetMetadataItem
const char * GDALGetMetadataItem(GDALMajorObjectH, const char *, const char *)
Fetch single metadata item.
Definition: gdalmajorobject.cpp:358
GDALDimensionGetName
const char * GDALDimensionGetName(GDALDimensionH hDim)
Return dimension name.
Definition: gdalmultidim.cpp:11405
GDALRATGetColumnCount
int GDALRATGetColumnCount(GDALRasterAttributeTableH)
Fetch table column count.
Definition: gdal_rat.cpp:1253
GDALGroupOpenMDArray
GDALMDArrayH GDALGroupOpenMDArray(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a multidimensional array.
Definition: gdalmultidim.cpp:9359
GDALDatasetGetTiledVirtualMem
CPLVirtualMem * GDALDatasetGetTiledVirtualMem(GDALDatasetH hDS, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize, int nYSize, int nTileXSize, int nTileYSize, GDALDataType eBufType, int nBandCount, int *panBandMap, GDALTileOrganization eTileOrganization, size_t nCacheSize, int bSingleThreadUsage, CSLConstList papszOptions)
Create a CPLVirtualMem object from a GDAL dataset object, with tiling organization.
Definition: gdalvirtualmem.cpp:1428
GDALMajorObjectH
void * GDALMajorObjectH
Opaque type used for the C bindings of the C++ GDALMajorObject class.
Definition: gdal.h:288
GFU_Blue
@ GFU_Blue
Definition: gdal.h:1786
GDALDatasetRollbackTransaction
OGRErr GDALDatasetRollbackTransaction(GDALDatasetH hDS)
For datasources which support transactions, RollbackTransaction will roll back a datasource to its st...
Definition: gdaldataset.cpp:7643
GDALBuildOverviewsEx
CPLErr GDALBuildOverviewsEx(GDALDatasetH, const char *, int, const int *, int, const int *, GDALProgressFunc, void *, CSLConstList papszOptions)
Build raster overview(s)
Definition: gdaldataset.cpp:2064
GDALGetRasterBandYSize
int GDALGetRasterBandYSize(GDALRasterBandH)
Fetch YSize of raster.
Definition: gdalrasterband.cpp:3149
GDALRasterIOExtraArg::eResampleAlg
GDALRIOResampleAlg eResampleAlg
Definition: gdal.h:181
GDALRelationshipGetCardinality
GDALRelationshipCardinality GDALRelationshipGetCardinality(GDALRelationshipH)
Get the cardinality of the relationship.
Definition: gdalrelationship.cpp:126
GDT_UInt16
@ GDT_UInt16
Definition: gdal.h:68
GDALDatasetClearStatistics
void GDALDatasetClearStatistics(GDALDatasetH hDS)
Clear statistics.
Definition: gdaldataset.cpp:8519
GDALMDArrayWrite
int GDALMDArrayWrite(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx, const size_t *count, const GInt64 *arrayStep, const GPtrDiff_t *bufferStride, GDALExtendedDataTypeH bufferDatatype, const void *pSrcBuffer, const void *psrcBufferAllocStart, size_t nSrcBufferllocSize)
Write part or totality of a multidimensional array.
Definition: gdalmultidim.cpp:9949
GDALExtendedDataTypeGetNumericDataType
GDALDataType GDALExtendedDataTypeGetNumericDataType(GDALExtendedDataTypeH hEDT)
Return numeric data type (only valid when GetClass() == GEDTC_NUMERIC)
Definition: gdalmultidim.cpp:9055
GDALRPCInfoV2::dfMAX_LONG
double dfMAX_LONG
Definition: gdal.h:1710
GDALExtendedDataTypeGetSize
size_t GDALExtendedDataTypeGetSize(GDALExtendedDataTypeH hEDT)
Return data type size in bytes.
Definition: gdalmultidim.cpp:9069
GDALRATGetNameOfCol
const char * GDALRATGetNameOfCol(GDALRasterAttributeTableH, int)
Fetch name of indicated column.
Definition: gdal_rat.cpp:1291
GCI_LightnessBand
@ GCI_LightnessBand
Definition: gdal.h:237
GFU_AlphaMin
@ GFU_AlphaMin
Definition: gdal.h:1791
GDALAddDerivedBandPixelFuncWithArgs
CPLErr GDALAddDerivedBandPixelFuncWithArgs(const char *pszName, GDALDerivedPixelFuncWithArgs pfnPixelFunc, const char *pszMetadata)
This adds a pixel function to the global list of available pixel functions for derived bands.
Definition: vrtderivedrasterband.cpp:288
GDALSetGCPs2
CPLErr GDALSetGCPs2(GDALDatasetH, int, const GDAL_GCP *, OGRSpatialReferenceH)
Assign GCPs.
Definition: gdaldataset.cpp:1918
GFU_Min
@ GFU_Min
Definition: gdal.h:1781
GDALAddDerivedBandPixelFunc
CPLErr GDALAddDerivedBandPixelFunc(const char *pszName, GDALDerivedPixelFunc pfnPixelFunc)
This adds a pixel function to the global list of available pixel functions for derived bands.
Definition: vrtderivedrasterband.cpp:246
GDALGetDataTypeByName
GDALDataType GDALGetDataTypeByName(const char *)
Get data type by symbolic name.
Definition: gdal_misc.cpp:733
GDALGetRasterXSize
int GDALGetRasterXSize(GDALDatasetH)
Fetch raster width in pixels.
Definition: gdaldataset.cpp:854
GDALDataTypeIsInteger
int GDALDataTypeIsInteger(GDALDataType)
Is data type integer? (might be complex)
Definition: gdal_misc.cpp:509
GFU_BlueMax
@ GFU_BlueMax
Definition: gdal.h:1794
GDALDatasetGetLayerCount
int GDALDatasetGetLayerCount(GDALDatasetH)
Get the number of layers in this dataset.
Definition: gdaldataset.cpp:4457
GDALGetPaletteInterpretationName
const char * GDALGetPaletteInterpretationName(GDALPaletteInterp)
Get name of palette interpretation.
Definition: gdal_misc.cpp:1005
GDALMDArrayGetCoordinateVariables
GDALMDArrayH * GDALMDArrayGetCoordinateVariables(GDALMDArrayH hArray, size_t *pnCount)
Return coordinate variables.
Definition: gdalmultidim.cpp:10858
GDALIsMaskBand
bool GDALIsMaskBand(GDALRasterBandH hBand)
Returns whether a band is a mask band.
Definition: gdalrasterband.cpp:7513
GDALMDArraySetUnit
int GDALMDArraySetUnit(GDALMDArrayH hArray, const char *)
Set the variable unit.
Definition: gdalmultidim.cpp:10726
GDALDeleteDataset
CPLErr GDALDeleteDataset(GDALDriverH, const char *)
Delete named dataset.
Definition: gdaldriver.cpp:1440
GDALRelationshipCreate
GDALRelationshipH GDALRelationshipCreate(const char *, const char *, const char *, GDALRelationshipCardinality)
Creates a new relationship.
Definition: gdalrelationship.cpp:66
GRIORA_NearestNeighbour
@ GRIORA_NearestNeighbour
Definition: gdal.h:144
GDALHasArbitraryOverviews
int GDALHasArbitraryOverviews(GDALRasterBandH)
Check for arbitrary overviews.
Definition: gdalrasterband.cpp:2537
GDALGetBandDataset
GDALDatasetH GDALGetBandDataset(GDALRasterBandH)
Fetch the owning dataset handle.
Definition: gdalrasterband.cpp:3232
GDALReleaseArrays
void GDALReleaseArrays(GDALMDArrayH *arrays, size_t nCount)
Free the return of GDALMDArrayGetCoordinateVariables()
Definition: gdalmultidim.cpp:10911
GDALGetRasterStatistics
CPLErr GDALGetRasterStatistics(GDALRasterBandH, int bApproxOK, int bForce, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev)
Fetch image statistics.
Definition: gdalrasterband.cpp:4343
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:315
GDALSetGCPs
CPLErr GDALSetGCPs(GDALDatasetH, int, const GDAL_GCP *, const char *)
Assign GCPs.
Definition: gdaldataset.cpp:1896
GDALExtractRPCInfoV2
int GDALExtractRPCInfoV2(CSLConstList, GDALRPCInfoV2 *)
Extract RPC info from metadata, and apply to an RPCInfo structure.
Definition: gdal_misc.cpp:3701
GDALRelationshipH
void * GDALRelationshipH
Opaque type used for the C bindings of the C++ GDALRelationship class.
Definition: gdal.h:312
GDALRelationshipGetRightMappingTableFields
char ** GDALRelationshipGetRightMappingTableFields(GDALRelationshipH)
Get the names of the mapping table fields which correspond to the participating fields from the right...
Definition: gdalrelationship.cpp:397
GDALGetInternalHandle
void * GDALGetInternalHandle(GDALDatasetH, const char *)
Fetch a format specific internally meaningful handle.
Definition: gdaldataset.cpp:1358
GDALRasterAdviseRead
CPLErr GDALRasterAdviseRead(GDALRasterBandH hRB, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, int nBXSize, int nBYSize, GDALDataType eBDataType, CSLConstList papszOptions)
Advise driver of upcoming read requests.
Definition: gdalrasterband.cpp:4203
GDALColorEntry::c2
short c2
Definition: gdal.h:1735
GDALGetMaskFlags
int GDALGetMaskFlags(GDALRasterBandH hBand)
Return the status flags of the mask band associated with the band.
Definition: gdalrasterband.cpp:7365
GDALRasterIOExtraArg::dfXOff
double dfXOff
Definition: gdal.h:196
GDALAttributeWriteDoubleArray
int GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double *, size_t)
Write an attribute from an array of double.
Definition: gdalmultidim.cpp:11376
GDALGetDriverCount
int GDALGetDriverCount(void)
Fetch the number of registered drivers.
Definition: gdaldrivermanager.cpp:369
OGRSpatialReferenceH
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition: ogr_api.h:81
GDALRelationshipGetName
const char * GDALRelationshipGetName(GDALRelationshipH)
Get the name of the relationship.
Definition: gdalrelationship.cpp:106
GDALGetColorEntryCount
int GDALGetColorEntryCount(GDALColorTableH)
Get number of color entries in table.
Definition: gdalcolortable.cpp:314
GDALEDTComponentRelease
void GDALEDTComponentRelease(GDALEDTComponentH hComp)
Release the GDAL in-memory object associated with a GDALEDTComponentH.
Definition: gdalmultidim.cpp:9231
GRT_COMPOSITE
@ GRT_COMPOSITE
Composite relationship.
Definition: gdal.h:1907
GDALAttributeReadAsString
const char * GDALAttributeReadAsString(GDALAttributeH hAttr)
Return the value of an attribute as a string.
Definition: gdalmultidim.cpp:11127
GDALGetCacheMax64
GIntBig GDALGetCacheMax64(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:238
GDALCreate
GDALDatasetH GDALCreate(GDALDriverH hDriver, const char *, int, int, int, GDALDataType, CSLConstList)
Create a new dataset with this driver.
Definition: gdaldriver.cpp:266
GDALDatasetGetFieldDomainNames
char ** GDALDatasetGetFieldDomainNames(GDALDatasetH, CSLConstList)
Returns a list of the names of all field domains stored in the dataset.
Definition: gdaldataset.cpp:8570
GDALRATGetValueAsInt
int GDALRATGetValueAsInt(GDALRasterAttributeTableH, int, int)
Fetch field value as a integer.
Definition: gdal_rat.cpp:1564
GDALDatasetGetCompressionFormats
char ** GDALDatasetGetCompressionFormats(GDALDatasetH hDS, int nXOff, int nYOff, int nXSize, int nYSize, int nBandCount, const int *panBandList)
Return the compression formats that can be natively obtained for the window of interest and requested...
Definition: gdaldataset.cpp:9378
GDALAttributeGetDimensionsSize
GUInt64 * GDALAttributeGetDimensionsSize(GDALAttributeH hAttr, size_t *pnCount)
Return the dimension sizes of the attribute.
Definition: gdalmultidim.cpp:11026
GDALDataTypeUnionWithValue
GDALDataType GDALDataTypeUnionWithValue(GDALDataType eDT, double dValue, int bComplex)
Union a data type with the one found for a value.
Definition: gdal_misc.cpp:177
GDALMDArrayGetAttributes
GDALAttributeH * GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this array.
Definition: gdalmultidim.cpp:10049
GDALGetRasterHistogram
CPLErr GDALGetRasterHistogram(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, int *panHistogram, int bIncludeOutOfRange, int bApproxOK, GDALProgressFunc pfnProgress, void *pProgressData)
Compute raster histogram.
Definition: gdalrasterband.cpp:3859
GDALMDArraySetNoDataValueAsUInt64
int GDALMDArraySetNoDataValueAsUInt64(GDALMDArrayH hArray, uint64_t nNoDataValue)
Set the nodata value as a UInt64.
Definition: gdalmultidim.cpp:10271
GF_Write
@ GF_Write
Definition: gdal.h:134
GDALDatasetGetRelationship
GDALRelationshipH GDALDatasetGetRelationship(GDALDatasetH hDS, const char *pszName)
Get a relationship from its name.
Definition: gdaldataset.cpp:8929
GCI_YellowBand
@ GCI_YellowBand
Definition: gdal.h:240
GDALRasterIOExtraArg::pProgressData
void * pProgressData
Definition: gdal.h:186
GDALValidateCreationOptions
int GDALValidateCreationOptions(GDALDriverH, CSLConstList papszCreationOptions)
Validate the list of creation options that are handled by a driver.
Definition: gdaldriver.cpp:1843
GDALRelationshipGetRelatedTableType
const char * GDALRelationshipGetRelatedTableType(GDALRelationshipH)
Get the type string of the related table.
Definition: gdalrelationship.cpp:669
GDALMDArrayGetProcessingChunkSize
size_t * GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray, size_t *pnCount, size_t nMaxChunkMemory)
Return an optimal chunk size for read/write operations, given the natural block size and memory const...
Definition: gdalmultidim.cpp:10543
GFU_RedMin
@ GFU_RedMin
Definition: gdal.h:1788
GDALGroupGetDimensions
GDALDimensionH * GDALGroupGetDimensions(GDALGroupH hGroup, size_t *pnCount, CSLConstList papszOptions)
Return the list of dimensions contained in this group and used by its arrays.
Definition: gdalmultidim.cpp:9557
GRC_ONE_TO_MANY
@ GRC_ONE_TO_MANY
One-to-many.
Definition: gdal.h:1893
GDALDatasetGetNextFeature
OGRFeatureH GDALDatasetGetNextFeature(GDALDatasetH hDS, OGRLayerH *phBelongingLayer, double *pdfProgressPct, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch the next available feature from this dataset.
Definition: gdaldataset.cpp:7311
GDALGroupGetVectorLayerNames
char ** GDALGroupGetVectorLayerNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of layer names contained in this group.
Definition: gdalmultidim.cpp:9474
GDT_CFloat32
@ GDT_CFloat32
Definition: gdal.h:79
GDALEDTComponentGetOffset
size_t GDALEDTComponentGetOffset(GDALEDTComponentH hComp)
Return the offset (in bytes) of the component in the compound data type.
Definition: gdalmultidim.cpp:9260
GDALGetDriverLongName
const char * GDALGetDriverLongName(GDALDriverH)
Return the long name of a driver.
Definition: gdaldriver.cpp:1748
GDALMDArrayGetOffset
double GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10446
GDALAttributeGetFullName
const char * GDALAttributeGetFullName(GDALAttributeH hAttr)
Return the full name of the attribute.
Definition: gdalmultidim.cpp:10978
GDALExtendedDataTypeGetMaxStringLength
size_t GDALExtendedDataTypeGetMaxStringLength(GDALExtendedDataTypeH hEDT)
Return the maximum length of a string in bytes.
Definition: gdalmultidim.cpp:9085
GDALDataTypeIsFloating
int GDALDataTypeIsFloating(GDALDataType)
Is data type floating? (might be complex)
Definition: gdal_misc.cpp:468
GDALDeregisterDriver
void GDALDeregisterDriver(GDALDriverH)
Deregister the passed driver.
Definition: gdaldrivermanager.cpp:584
CSLConstList
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1195
GDALCreateColorTable
GDALColorTableH GDALCreateColorTable(GDALPaletteInterp)
Construct a new color table.
Definition: gdalcolortable.cpp:67
GDALGetRasterSampleOverviewEx
GDALRasterBandH GDALGetRasterSampleOverviewEx(GDALRasterBandH, GUIntBig)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2717
GUIntBig
unsigned long long GUIntBig
Large unsigned integer type (generally 64-bit unsigned integer type).
Definition: cpl_port.h:238
GDALRasterBandGetVirtualMem
CPLVirtualMem * GDALRasterBandGetVirtualMem(GDALRasterBandH hBand, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize, int nYSize, int nBufXSize, int nBufYSize, GDALDataType eBufType, int nPixelSpace, GIntBig nLineSpace, size_t nCacheSize, size_t nPageSizeHint, int bSingleThreadUsage, CSLConstList papszOptions)
Create a CPLVirtualMem object from a GDAL raster band object.
Definition: gdalvirtualmem.cpp:1014
GDALDeinterleave
void GDALDeinterleave(const void *pSourceBuffer, GDALDataType eSourceDT, int nComponents, void **ppDestBuffer, GDALDataType eDestDT, size_t nIters)
Definition: rasterio.cpp:5484
GDALGetDriver
GDALDriverH GDALGetDriver(int)
Fetch driver by index.
Definition: gdaldrivermanager.cpp:407
GDALMDArrayGetAttribute
GDALAttributeH GDALMDArrayGetAttribute(GDALMDArrayH hArray, const char *pszName)
Return an attribute by its name.
Definition: gdalmultidim.cpp:10020
GDALDatasetCopyLayer
OGRLayerH GDALDatasetCopyLayer(GDALDatasetH, OGRLayerH, const char *, CSLConstList)
Duplicate an existing layer.
Definition: gdaldataset.cpp:4812
GDALMDArrayGetRawNoDataValue
const void * GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray)
Return the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:10112
GDALEDTComponentH
struct GDALEDTComponentHS * GDALEDTComponentH
Opaque type for C++ GDALEDTComponent.
Definition: gdal.h:344
GDALExtendedDataTypeCreate
GDALExtendedDataTypeH GDALExtendedDataTypeCreate(GDALDataType eType)
Return a new GDALExtendedDataType of class GEDTC_NUMERIC.
Definition: gdalmultidim.cpp:8923
GDALRelationshipGetRightTableFields
char ** GDALRelationshipGetRightTableFields(GDALRelationshipH)
Get the names of the participating fields from the right table in the relationship.
Definition: gdalrelationship.cpp:269
GDT_Float64
@ GDT_Float64
Definition: gdal.h:75
GDALRegenerateOverviewsEx
CPLErr GDALRegenerateOverviewsEx(GDALRasterBandH hSrcBand, int nOverviewCount, GDALRasterBandH *pahOverviewBands, const char *pszResampling, GDALProgressFunc pfnProgress, void *pProgressData, CSLConstList papszOptions)
Generate downsampled overviews.
Definition: overview.cpp:4180
GDALRasterIOExtraArg::pfnProgress
GDALProgressFunc pfnProgress
Definition: gdal.h:184
GDALIdentifyDriver
GDALDriverH GDALIdentifyDriver(const char *pszFilename, CSLConstList papszFileList)
Identify the driver that can open a raster file.
Definition: gdaldriver.cpp:2300
GDALAttributeRelease
void GDALAttributeRelease(GDALAttributeH hAttr)
Release the GDAL in-memory object associated with a GDALAttribute.
Definition: gdalmultidim.cpp:10947
GDALFillRaster
CPLErr GDALFillRaster(GDALRasterBandH hBand, double dfRealValue, double dfImaginaryValue)
Fill this band with a constant value.
Definition: gdalrasterband.cpp:1519
GDALRATSetTableType
CPLErr GDALRATSetTableType(GDALRasterAttributeTableH hRAT, const GDALRATTableType eInTableType)
Set RAT Table Type.
Definition: gdal_rat.cpp:591
GFU_RedMax
@ GFU_RedMax
Definition: gdal.h:1792
GDALDatasetResetReading
void GDALDatasetResetReading(GDALDatasetH)
Reset feature reading to start on the first feature.
Definition: gdaldataset.cpp:7083
GDALGetGeoTransform
CPLErr GDALGetGeoTransform(GDALDatasetH, double *)
Fetch the affine transformation coefficients.
Definition: gdaldataset.cpp:1270
GDALRPCInfoV2::dfLONG_SCALE
double dfLONG_SCALE
Definition: gdal.h:1700
GDAL_GCP
Ground Control Point.
Definition: gdal.h:1036
CPL_C_END
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:319
GDALDerivedPixelFuncWithArgs
CPLErr(* GDALDerivedPixelFuncWithArgs)(void **papoSources, int nSources, void *pData, int nBufXSize, int nBufYSize, GDALDataType eSrcType, GDALDataType eBufType, int nPixelSpace, int nLineSpace, CSLConstList papszFunctionArgs)
Type of functions to pass to GDALAddDerivedBandPixelFuncWithArgs.
Definition: gdal.h:1365
GDALMDArrayCache
int GDALMDArrayCache(GDALMDArrayH hArray, CSLConstList papszOptions)
Cache the content of the array into an auxiliary filename.
Definition: gdalmultidim.cpp:10932
GEDTST_NONE
@ GEDTST_NONE
None.
Definition: gdal.h:336
GRIORA_CubicSpline
@ GRIORA_CubicSpline
Definition: gdal.h:147
GRIORA_RMS
@ GRIORA_RMS
RMS: Root Mean Square / Quadratic Mean.
Definition: gdal.h:163
GDALGetDataTypeSize
int GDALGetDataTypeSize(GDALDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:408
GFU_Name
@ GFU_Name
Definition: gdal.h:1780
GDALSetDescription
void GDALSetDescription(GDALMajorObjectH, const char *)
Set object description.
Definition: gdalmajorobject.cpp:134
GDALMDArrayGetView
GDALMDArrayH GDALMDArrayGetView(GDALMDArrayH hArray, const char *pszViewExpr)
Return a view of the array using slicing or field access.
Definition: gdalmultidim.cpp:10587
GDALGetDescription
const char * GDALGetDescription(GDALMajorObjectH)
Fetch object description.
Definition: gdalmajorobject.cpp:93
GFU_Alpha
@ GFU_Alpha
Definition: gdal.h:1787
GDALCreateRasterAttributeTable
GDALRasterAttributeTableH GDALCreateRasterAttributeTable(void)
Construct empty table.
Definition: gdal_rat.cpp:1181
GCI_Undefined
@ GCI_Undefined
Definition: gdal.h:228
GDALWriteBlock
CPLErr GDALWriteBlock(GDALRasterBandH, int, int, void *)
Write a block of image data efficiently.
Definition: gdalrasterband.cpp:728
OGRFieldDomainH
struct OGRFieldDomainHS * OGRFieldDomainH
Opaque type for a field domain definition (OGRFieldDomain)
Definition: ogr_api.h:369
GDALReadBlock
CPLErr GDALReadBlock(GDALRasterBandH, int, int, void *)
Read a block of image data efficiently.
Definition: gdalrasterband.cpp:573
GDALSetDefaultHistogram
CPLErr GDALSetDefaultHistogram(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, int *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:6818
GDALMDArrayRelease
void GDALMDArrayRelease(GDALMDArrayH hMDArray)
Release the GDAL in-memory object associated with a GDALMDArray.
Definition: gdalmultidim.cpp:9780
GDALAttributeWriteInt
int GDALAttributeWriteInt(GDALAttributeH hAttr, int)
Write an attribute from a integer value.
Definition: gdalmultidim.cpp:11307
GDALCreateMultiDimensional
GDALDatasetH GDALCreateMultiDimensional(GDALDriverH hDriver, const char *pszName, CSLConstList papszRootGroupOptions, CSLConstList papszOptions)
Create a new multidimensional dataset with this driver.
Definition: gdaldriver.cpp:359
GDALGroupOpenMDArrayFromFullname
GDALMDArrayH GDALGroupOpenMDArrayFromFullname(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a multidimensional array from its fully qualified name.
Definition: gdalmultidim.cpp:9383
GDALSetDefaultRAT
CPLErr GDALSetDefaultRAT(GDALRasterBandH, GDALRasterAttributeTableH)
Set default Raster Attribute Table.
Definition: gdalrasterband.cpp:6960
GDALReleaseDimensions
void GDALReleaseDimensions(GDALDimensionH *dims, size_t nCount)
Free the return of GDALGroupGetDimensions() or GDALMDArrayGetDimensions()
Definition: gdalmultidim.cpp:9883
GRIORA_Mode
@ GRIORA_Mode
Definition: gdal.h:152
GDALExtendedDataTypeCreateString
GDALExtendedDataTypeH GDALExtendedDataTypeCreateString(size_t nMaxStringLength)
Return a new GDALExtendedDataType of class GEDTC_STRING.
Definition: gdalmultidim.cpp:8941
GDALAttributeGetTotalElementsCount
GUInt64 GDALAttributeGetTotalElementsCount(GDALAttributeH hAttr)
Return the total number of values in the attribute.
Definition: gdalmultidim.cpp:10993
GDALDatasetReleaseResultSet
void GDALDatasetReleaseResultSet(GDALDatasetH, OGRLayerH)
Release results of ExecuteSQL().
Definition: gdaldataset.cpp:4428
GDALExtendedDataTypeGetClass
GDALExtendedDataTypeClass GDALExtendedDataTypeGetClass(GDALExtendedDataTypeH hEDT)
Return type class.
Definition: gdalmultidim.cpp:9041
CPLVirtualMem
struct CPLVirtualMem CPLVirtualMem
Opaque type that represents a virtual memory mapping.
Definition: cpl_virtualmem.h:62
GDALDatasetExecuteSQL
OGRLayerH GDALDatasetExecuteSQL(GDALDatasetH, const char *, OGRGeometryH, const char *)
Execute an SQL statement against the data store.
Definition: gdaldataset.cpp:4867
GFU_PixelCount
@ GFU_PixelCount
Definition: gdal.h:1779
GDALGetDriverByName
GDALDriverH GDALGetDriverByName(const char *)
Fetch a driver based on the short name.
Definition: gdaldrivermanager.cpp:629
GDALAttributeReadAsStringArray
char ** GDALAttributeReadAsStringArray(GDALAttributeH hAttr)
Return the value of an attribute as an array of strings.
Definition: gdalmultidim.cpp:11183
GDALRATRemoveStatistics
void GDALRATRemoveStatistics(GDALRasterAttributeTableH)
Remove Statistics from RAT.
Definition: gdal_rat.cpp:2211
GDALDatasetAdviseRead
CPLErr GDALDatasetAdviseRead(GDALDatasetH hDS, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, int nBXSize, int nBYSize, GDALDataType eBDataType, int nBandCount, int *panBandCount, CSLConstList papszOptions)
Advise driver of upcoming read requests.
Definition: gdaldataset.cpp:2914
GDALDatasetAbortSQL
OGRErr GDALDatasetAbortSQL(GDALDatasetH)
Abort any SQL statement running in the data store.
Definition: gdaldataset.cpp:4912
GDALMDArraySetNoDataValueAsInt64
int GDALMDArraySetNoDataValueAsInt64(GDALMDArrayH hArray, int64_t nNoDataValue)
Set the nodata value as a Int64.
Definition: gdalmultidim.cpp:10251
GDALMDArrayGetNoDataValueAsDouble
double GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a double.
Definition: gdalmultidim.cpp:10138
GDALSetRasterScale
CPLErr GDALSetRasterScale(GDALRasterBandH hBand, double dfNewOffset)
Set scaling ratio.
Definition: gdalrasterband.cpp:2979
GDALBuildOverviews
CPLErr GDALBuildOverviews(GDALDatasetH, const char *, int, const int *, int, const int *, GDALProgressFunc, void *)
Build raster overview(s)
Definition: gdaldataset.cpp:2037
GDALQueryLoggerFunc
void(* GDALQueryLoggerFunc)(const char *pszSQL, const char *pszError, int64_t lNumRecords, int64_t lExecutionTimeMilliseconds, void *pQueryLoggerArg)
Type of functions to pass to GDALDatasetSetQueryLoggerFunc.
Definition: gdal.h:1262
GDALSetCacheMax
void GDALSetCacheMax(int nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:119
GFU_GreenMin
@ GFU_GreenMin
Definition: gdal.h:1789
GDALRPCInfoV2::dfERR_BIAS
double dfERR_BIAS
Definition: gdal.h:1715
GDALGetAccess
int GDALGetAccess(GDALDatasetH hDS)
Return access flag.
Definition: gdaldataset.cpp:2809
GDALMDArrayGetScale
double GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10400
GCI_YCbCr_CrBand
@ GCI_YCbCr_CrBand
Definition: gdal.h:244
GCI_BlackBand
@ GCI_BlackBand
Definition: gdal.h:241
GDALApplyGeoTransform
void GDALApplyGeoTransform(double *, double, double, double *, double *)
Apply GeoTransform to x/y coordinate.
Definition: gdaltransformer.cpp:4127
GDALDumpOpenDatasets
int GDALDumpOpenDatasets(FILE *)
List open datasets.
Definition: gdaldataset.cpp:3906
GRIORA_Gauss
@ GRIORA_Gauss
Definition: gdal.h:153
GDALMDArraySetRawNoDataValue
int GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void *)
Set the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:10212
GDALGetRasterCount
int GDALGetRasterCount(GDALDatasetH)
Fetch the number of raster bands on this dataset.
Definition: gdaldataset.cpp:981
GDALRPCInfoV2::dfMAX_LAT
double dfMAX_LAT
Definition: gdal.h:1711
GDALGetDefaultHistogram
CPLErr GDALGetDefaultHistogram(GDALRasterBandH hBand, double *pdfMin, double *pdfMax, int *pnBuckets, int **ppanHistogram, int bForce, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch default raster histogram.
Definition: gdalrasterband.cpp:4051
OGRGeometryH
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:66
GDALRATGetValueAsString
const char * GDALRATGetValueAsString(GDALRasterAttributeTableH, int, int)
Fetch field value as a string.
Definition: gdal_rat.cpp:1507
GDALColorEntry::c3
short c3
Definition: gdal.h:1738
GDALRATSerializeJSON
void * GDALRATSerializeJSON(GDALRasterAttributeTableH)
Serialize Raster Attribute Table in Json format.
Definition: gdal_rat.cpp:2191
GDALRATChangesAreWrittenToFile
int GDALRATChangesAreWrittenToFile(GDALRasterAttributeTableH hRAT)
Determine whether changes made to this RAT are reflected directly in the dataset.
Definition: gdal_rat.cpp:1891
GDALMDArrayGetNoDataValueAsInt64
int64_t GDALMDArrayGetNoDataValueAsInt64(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a Int64.
Definition: gdalmultidim.cpp:10164
GDALCopyBits
void GDALCopyBits(const GByte *pabySrcData, int nSrcOffset, int nSrcStep, GByte *pabyDstData, int nDstOffset, int nDstStep, int nBitCount, int nStepCount)
Bitwise word copying.
Definition: rasterio.cpp:3532
GDALCopyWords
void GDALCopyWords(const void *pSrcData, GDALDataType eSrcType, int nSrcPixelOffset, void *pDstData, GDALDataType eDstType, int nDstPixelOffset, int nWordCount)
Copy pixel words from buffer to buffer.
Definition: rasterio.cpp:3250
GSpacing
GIntBig GSpacing
Type to express pixel, line or band spacing.
Definition: gdal.h:315
GDALSetGeoTransform
CPLErr GDALSetGeoTransform(GDALDatasetH, double *)
Set the affine transformation coefficients.
Definition: gdaldataset.cpp:1318
GDALRATSetValueAsInt
void GDALRATSetValueAsInt(GDALRasterAttributeTableH, int, int, int)
Set field value from integer.
Definition: gdal_rat.cpp:1794
GCI_BlueBand
@ GCI_BlueBand
Definition: gdal.h:233
GDALGroupCreateGroup
GDALGroupH GDALGroupCreateGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Create a sub-group within a group.
Definition: gdalmultidim.cpp:9675
GDALAccess
GDALAccess
Definition: gdal.h:124
GDALGetRasterNoDataValueAsUInt64
uint64_t GDALGetRasterNoDataValueAsUInt64(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1830
GDALRelationshipGetLeftTableFields
char ** GDALRelationshipGetLeftTableFields(GDALRelationshipH)
Get the names of the participating fields from the left table in the relationship.
Definition: gdalrelationship.cpp:238
GDALAttributeWriteDouble
int GDALAttributeWriteDouble(GDALAttributeH hAttr, double)
Write an attribute from a double value.
Definition: gdalmultidim.cpp:11329
GDALDatasetTestCapability
int GDALDatasetTestCapability(GDALDatasetH, const char *)
Test if capability is available.
Definition: gdaldataset.cpp:7415
GDALLoadOziMapFile
int GDALLoadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1529
GDALFlushRasterCache
CPLErr GDALFlushRasterCache(GDALRasterBandH hBand)
Flush raster data cache.
Definition: gdalrasterband.cpp:1099
GDALGroupGetFullName
const char * GDALGroupGetFullName(GDALGroupH hGroup)
Return the full name of the group.
Definition: gdalmultidim.cpp:9321
GDALRATGetColOfUsage
int GDALRATGetColOfUsage(GDALRasterAttributeTableH, GDALRATFieldUsage)
Fetch column index for given usage.
Definition: gdal_rat.cpp:1413
GDALMDArrayGetUnit
const char * GDALMDArrayGetUnit(GDALMDArrayH hArray)
Return the array unit.
Definition: gdalmultidim.cpp:10751
GDALAttributeGetDimensionCount
size_t GDALAttributeGetDimensionCount(GDALAttributeH hAttr)
Return the number of dimensions.
Definition: gdalmultidim.cpp:11007
GDALGetBandNumber
int GDALGetBandNumber(GDALRasterBandH)
Fetch the band number.
Definition: gdalrasterband.cpp:3191
GDALAsyncStatusType
GDALAsyncStatusType
status of the asynchronous stream
Definition: gdal.h:110
GDALAttributeReadAsDoubleArray
double * GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of doubles.
Definition: gdalmultidim.cpp:11229
GDALDecToPackedDMS
double GDALDecToPackedDMS(double)
Convert decimal degrees into packed DMS value (DDDMMMSSS.SS).
Definition: gdal_misc.cpp:2581
GDALDatasetCommitTransaction
OGRErr GDALDatasetCommitTransaction(GDALDatasetH hDS)
For datasources which support transactions, CommitTransaction commits a transaction.
Definition: gdaldataset.cpp:7591
GDALAttributeWriteRaw
int GDALAttributeWriteRaw(GDALAttributeH hAttr, const void *, size_t)
Write an attribute from raw values expressed in GetDataType()
Definition: gdalmultidim.cpp:11264
GFT_Integer
@ GFT_Integer
Definition: gdal.h:1770
GDALGetVirtualMemAuto
CPLVirtualMem * GDALGetVirtualMemAuto(GDALRasterBandH hBand, GDALRWFlag eRWFlag, int *pnPixelSpace, GIntBig *pnLineSpace, CSLConstList papszOptions)
Create a CPLVirtualMem object from a GDAL raster band object.
Definition: gdalrasterband.cpp:7903
GDALRATFieldType
GDALRATFieldType
Field type of raster attribute table.
Definition: gdal.h:1768
GDALRATCreateColumn
CPLErr GDALRATCreateColumn(GDALRasterAttributeTableH, const char *, GDALRATFieldType, GDALRATFieldUsage)
Create new column.
Definition: gdal_rat.cpp:460
GDALDatasetGetStyleTable
OGRStyleTableH GDALDatasetGetStyleTable(GDALDatasetH)
Returns dataset style table.
Definition: gdaldataset.cpp:4935
GDALGetDriverHelpTopic
const char * GDALGetDriverHelpTopic(GDALDriverH)
Return the URL to the help that describes the driver.
Definition: gdaldriver.cpp:1778
GDALMDArrayAdviseRead
int GDALMDArrayAdviseRead(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx, const size_t *count)
Advise driver of upcoming read requests.
Definition: gdalmultidim.cpp:9984
GDALAttributeFreeRawResult
void GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte *raw, size_t nSize)
Free the return of GDALAttributeAsRaw()
Definition: gdalmultidim.cpp:11091
GDALRelationshipSetMappingTableName
void GDALRelationshipSetMappingTableName(GDALRelationshipH, const char *)
Sets the name of the mapping table for many-to-many relationships.
Definition: gdalrelationship.cpp:215
OGRErr
int OGRErr
Type for a OGR error.
Definition: ogr_core.h:378
GDALRelationshipSetLeftMappingTableFields
void GDALRelationshipSetLeftMappingTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the mapping table fields which correspond to the participating fields from the left...
Definition: gdalrelationship.cpp:430
GDALGroupCreateMDArray
GDALMDArrayH GDALGroupCreateMDArray(GDALGroupH hGroup, const char *pszName, size_t nDimensions, GDALDimensionH *pahDimensions, GDALExtendedDataTypeH hEDT, CSLConstList papszOptions)
Create a multidimensional array within a group.
Definition: gdalmultidim.cpp:9722
GDALExtendedDataTypeRelease
void GDALExtendedDataTypeRelease(GDALExtendedDataTypeH hEDT)
Release the GDAL in-memory object associated with a GDALExtendedDataTypeH.
Definition: gdalmultidim.cpp:9013
GDALMDArrayGetScaleEx
double GDALMDArrayGetScaleEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType *peStorageType)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10423
GDALEDTComponentGetType
GDALExtendedDataTypeH GDALEDTComponentGetType(GDALEDTComponentH hComp)
Return the data type of the component.
Definition: gdalmultidim.cpp:9274
GDALComputeBandStats
CPLErr GDALComputeBandStats(GDALRasterBandH hBand, int nSampleStep, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:5453
GDALReleaseDataset
int GDALReleaseDataset(GDALDatasetH)
Drop a reference to this object, and destroy if no longer referenced.
Definition: gdaldataset.cpp:1512
GA_ReadOnly
@ GA_ReadOnly
Definition: gdal.h:126
GFT_String
@ GFT_String
Definition: gdal.h:1772
GDT_Int64
@ GDT_Int64
Definition: gdal.h:73
GDALRasterBandGetTiledVirtualMem
CPLVirtualMem * GDALRasterBandGetTiledVirtualMem(GDALRasterBandH hBand, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize, int nYSize, int nTileXSize, int nTileYSize, GDALDataType eBufType, size_t nCacheSize, int bSingleThreadUsage, CSLConstList papszOptions)
Create a CPLVirtualMem object from a GDAL rasterband object, with tiling organization.
Definition: gdalvirtualmem.cpp:1534
GDALRegisterDriver
int GDALRegisterDriver(GDALDriverH)
Register a driver for use.
Definition: gdaldrivermanager.cpp:526
GDALCreateDatasetMaskBand
CPLErr GDALCreateDatasetMaskBand(GDALDatasetH hDS, int nFlags)
Adds a mask band to the dataset.
Definition: gdaldataset.cpp:3215
GDALSetRasterColorInterpretation
CPLErr GDALSetRasterColorInterpretation(GDALRasterBandH, GDALColorInterp)
Set color interpretation of a band.
Definition: gdalrasterband.cpp:2398
GIntBig
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:235
GDAL_GCP::pszInfo
char * pszInfo
Informational message or "".
Definition: gdal.h:1042
GDAL_GCP::dfGCPPixel
double dfGCPPixel
Pixel (x) location of GCP on raster.
Definition: gdal.h:1045
GDALGetRasterOffset
double GDALGetRasterOffset(GDALRasterBandH, int *pbSuccess)
Fetch the raster value offset.
Definition: gdalrasterband.cpp:2823
GDALGroupH
struct GDALGroupHS * GDALGroupH
Opaque type for C++ GDALGroup.
Definition: gdal.h:346
GDALOpenShared
GDALDatasetH GDALOpenShared(const char *, GDALAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3771
GDALDimensionRelease
void GDALDimensionRelease(GDALDimensionH hDim)
Release the GDAL in-memory object associated with a GDALDimension.
Definition: gdalmultidim.cpp:11392
GDALMDArrayGetNoDataValueAsUInt64
uint64_t GDALMDArrayGetNoDataValueAsUInt64(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a UInt64.
Definition: gdalmultidim.cpp:10190
GRIORA_Average
@ GRIORA_Average
Definition: gdal.h:149
GDALAttributeGetDataType
GDALExtendedDataTypeH GDALAttributeGetDataType(GDALAttributeH hAttr)
Return the data type.
Definition: gdalmultidim.cpp:11048
GDALDatasetGetRootGroup
GDALGroupH GDALDatasetGetRootGroup(GDALDatasetH hDS)
Return the root GDALGroup of this dataset.
Definition: gdalmultidim.cpp:11523
GDALExtendedDataTypeCreateCompound
GDALExtendedDataTypeH GDALExtendedDataTypeCreateCompound(const char *pszName, size_t nTotalSize, size_t nComponents, const GDALEDTComponentH *comps)
Return a new GDALExtendedDataType of class GEDTC_COMPOUND.
Definition: gdalmultidim.cpp:8987
GDALDatasetGetRelationshipNames
char ** GDALDatasetGetRelationshipNames(GDALDatasetH, CSLConstList)
Returns a list of the names of all relationships stored in the dataset.
Definition: gdaldataset.cpp:8886
GDALFlushCache
CPLErr GDALFlushCache(GDALDatasetH hDS)
Flush all write cached data to disk.
Definition: gdaldataset.cpp:569
GDALGCPsToGeoTransform
int GDALGCPsToGeoTransform(int nGCPCount, const GDAL_GCP *pasGCPs, double *padfGeoTransform, int bApproxOK)
Generate Geotransform from GCPs.
Definition: gdal_misc.cpp:2622
GDALEDTComponentCreate
GDALEDTComponentH GDALEDTComponentCreate(const char *pszName, size_t nOffset, GDALExtendedDataTypeH hType)
Create a new GDALEDTComponent.
Definition: gdalmultidim.cpp:9213
OGRwkbGeometryType
OGRwkbGeometryType
List of well known binary geometry types.
Definition: ogr_core.h:406
GDALGetColorEntry
const GDALColorEntry * GDALGetColorEntry(GDALColorTableH, int)
Fetch a color entry from table.
Definition: gdalcolortable.cpp:132
GDALAsyncReaderH
void * GDALAsyncReaderH
Opaque type used for the C bindings of the C++ GDALAsyncReader class.
Definition: gdal.h:307
GDALFindDataTypeForValue
GDALDataType GDALFindDataTypeForValue(double dValue, int bComplex)
Finds the smallest data type able to support the provided value.
Definition: gdal_misc.cpp:313
GDALAttributeWriteStringArray
int GDALAttributeWriteStringArray(GDALAttributeH hAttr, CSLConstList)
Write an attribute from an array of strings.
Definition: gdalmultidim.cpp:11351
GDALGetGCPProjection
const char * GDALGetGCPProjection(GDALDatasetH)
Get output projection for GCPs.
Definition: gdaldataset.cpp:1746
GDALReadTabFile
int GDALReadTabFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for MapInfo .tab files.
Definition: gdal_misc.cpp:1933
GDALRasterIOExtraArg
Structure to pass extra arguments to RasterIO() method, must be initialized with INIT_RASTERIO_EXTRA_...
Definition: gdal.h:175
GDALExtendedDataTypeEquals
int GDALExtendedDataTypeEquals(GDALExtendedDataTypeH hFirstEDT, GDALExtendedDataTypeH hSecondEDT)
Return whether this data type is equal to another one.
Definition: gdalmultidim.cpp:9123
GDAL_GCP::dfGCPY
double dfGCPY
Y position of GCP in georeferenced space.
Definition: gdal.h:1053
CPL_WARN_UNUSED_RESULT
#define CPL_WARN_UNUSED_RESULT
Qualifier to warn when the return value of a function is not used.
Definition: cpl_port.h:985
GDALMDArrayGetGridded
GDALMDArrayH GDALMDArrayGetGridded(GDALMDArrayH hArray, const char *pszGridOptions, GDALMDArrayH hXArray, GDALMDArrayH hYArray, CSLConstList papszOptions)
Return a gridded array from scattered point data, that is from an array whose last dimension is the i...
Definition: gdalmultidim.cpp:10887
GDALDimensionGetDirection
const char * GDALDimensionGetDirection(GDALDimensionH hDim)
Return dimension direction.
Definition: gdalmultidim.cpp:11447
GDALGetActualBlockSize
CPLErr GDALGetActualBlockSize(GDALRasterBandH, int nXBlockOff, int nYBlockOff, int *pnXValid, int *pnYValid)
Retrieve the actual block size for a given block offset.
Definition: gdalrasterband.cpp:804
GDALGroupResolveMDArray
GDALMDArrayH GDALGroupResolveMDArray(GDALGroupH hGroup, const char *pszName, const char *pszStartingPoint, CSLConstList papszOptions)
Locate an array in a group and its subgroups by name.
Definition: gdalmultidim.cpp:9405
GDT_CInt16
@ GDT_CInt16
Definition: gdal.h:76
GRTT_THEMATIC
@ GRTT_THEMATIC
Definition: gdal.h:1804
GDALGetRasterColorInterpretation
GDALColorInterp GDALGetRasterColorInterpretation(GDALRasterBandH)
How should this band be interpreted as color?
Definition: gdalrasterband.cpp:2352
GDALRATDumpReadable
void GDALRATDumpReadable(GDALRasterAttributeTableH, FILE *)
Dump RAT in readable form.
Definition: gdal_rat.cpp:1141
cpl_port.h
GEDTST_JSON
@ GEDTST_JSON
JSon.
Definition: gdal.h:338
GDALRWFlag
GDALRWFlag
Definition: gdal.h:131
GDALReleaseAttributes
void GDALReleaseAttributes(GDALAttributeH *attributes, size_t nCount)
Free the return of GDALGroupGetAttributes() or GDALMDArrayGetAttributes()
Definition: gdalmultidim.cpp:9656
GDALSetCacheMax64
void GDALSetCacheMax64(GIntBig nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:145
ogr_api.h
GDALEndAsyncReader
void GDALEndAsyncReader(GDALDatasetH hDS, GDALAsyncReaderH hAsynchReaderH)
End asynchronous request.
Definition: gdaldataset.cpp:4153
GDALRATFieldUsage
GDALRATFieldUsage
Field usage of raster attribute table.
Definition: gdal.h:1776
GA_Update
@ GA_Update
Definition: gdal.h:127
GDALDestroyDriverManager
void GDALDestroyDriverManager(void)
Destroy the driver manager.
Definition: gdaldrivermanager.cpp:1049
GDALGroupCreateDimension
GDALDimensionH GDALGroupCreateDimension(GDALGroupH hGroup, const char *pszName, const char *pszType, const char *pszDirection, GUInt64 nSize, CSLConstList papszOptions)
Create a dimension within a group.
Definition: gdalmultidim.cpp:9697
GDALRATSetValueAsDouble
void GDALRATSetValueAsDouble(GDALRasterAttributeTableH, int, int, double)
Set field value from double.
Definition: gdal_rat.cpp:1860
GDALGetRasterBandXSize
int GDALGetRasterBandXSize(GDALRasterBandH)
Fetch XSize of raster.
Definition: gdalrasterband.cpp:3112
GDT_Int16
@ GDT_Int16
Definition: gdal.h:69
GDALAttributeGetName
const char * GDALAttributeGetName(GDALAttributeH hAttr)
Return the name of the attribute.
Definition: gdalmultidim.cpp:10962
GDALPackedDMSToDec
double GDALPackedDMSToDec(double)
Convert a packed DMS value (DDDMMMSSS.SS) into decimal degrees.
Definition: gdal_misc.cpp:2565
GDALRPCInfoV2::dfLINE_OFF
double dfLINE_OFF
Definition: gdal.h:1691
GDALMDArrayRead
int GDALMDArrayRead(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx, const size_t *count, const GInt64 *arrayStep, const GPtrDiff_t *bufferStride, GDALExtendedDataTypeH bufferDatatype, void *pDstBuffer, const void *pDstBufferAllocStart, size_t nDstBufferllocSize)
Read part or totality of a multidimensional array.
Definition: gdalmultidim.cpp:9917
GDALSetProjection
CPLErr GDALSetProjection(GDALDatasetH, const char *)
Set the projection reference string for this dataset.
Definition: gdaldataset.cpp:1204
GDALGetRasterMinimum
double GDALGetRasterMinimum(GDALRasterBandH, int *pbSuccess)
Fetch the minimum value for this band.
Definition: gdalrasterband.cpp:2310
GFU_AlphaMax
@ GFU_AlphaMax
Definition: gdal.h:1795
GDALGetRasterDataType
GDALDataType GDALGetRasterDataType(GDALRasterBandH)
Fetch the pixel data type for this band.
Definition: gdalrasterband.cpp:883
GDALCreateColorRamp
void GDALCreateColorRamp(GDALColorTableH hTable, int nStartIndex, const GDALColorEntry *psStartColor, int nEndIndex, const GDALColorEntry *psEndColor)
Create color ramp.
Definition: gdalcolortable.cpp:442
GDALGetDataTypeName
const char * GDALGetDataTypeName(GDALDataType)
Get name of data type.
Definition: gdal_misc.cpp:662
GCI_YCbCr_CbBand
@ GCI_YCbCr_CbBand
Definition: gdal.h:243
GDALGetSpatialRef
OGRSpatialReferenceH GDALGetSpatialRef(GDALDatasetH)
Fetch the spatial reference for this dataset.
Definition: gdaldataset.cpp:1077
GFU_MaxCount
@ GFU_MaxCount
Definition: gdal.h:1796
GDALGetRasterNoDataValue
double GDALGetRasterNoDataValue(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1709
GDALRasterIOExtraArg::dfYSize
double dfYSize
Definition: gdal.h:205
GPI_Gray
@ GPI_Gray
Definition: gdal.h:254
GDALRasterBandAsMDArray
GDALMDArrayH GDALRasterBandAsMDArray(GDALRasterBandH)
Return a view of this raster band as a 2D multidimensional GDALMDArray.
Definition: gdalmultidim.cpp:11551
GDALRATGetTableType
GDALRATTableType GDALRATGetTableType(GDALRasterAttributeTableH hRAT)
Get Rat Table Type.
Definition: gdal_rat.cpp:572
GDALDatasetAddRelationship
bool GDALDatasetAddRelationship(GDALDatasetH hDS, GDALRelationshipH hRelationship, char **ppszFailureReason)
Add a relationship to the dataset.
Definition: gdaldataset.cpp:9007
GDALDatasetCreateLayer
OGRLayerH GDALDatasetCreateLayer(GDALDatasetH, const char *, OGRSpatialReferenceH, OGRwkbGeometryType, CSLConstList)
This function attempts to create a new layer on the dataset with the indicated name,...
Definition: gdaldataset.cpp:4757
GDALDatasetGetLayerByName
OGRLayerH GDALDatasetGetLayerByName(GDALDatasetH, const char *)
Fetch a layer by name.
Definition: gdaldataset.cpp:4526
GDALRelationshipGetLeftMappingTableFields
char ** GDALRelationshipGetLeftMappingTableFields(GDALRelationshipH)
Get the names of the mapping table fields which correspond to the participating fields from the left ...
Definition: gdalrelationship.cpp:365
GDALSetRasterNoDataValue
CPLErr GDALSetRasterNoDataValue(GDALRasterBandH, double)
Set the no data value for this band.
Definition: gdalrasterband.cpp:1907
GDALGroupGetAttributes
GDALAttributeH * GDALGroupGetAttributes(GDALGroupH hGroup, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this group.
Definition: gdalmultidim.cpp:9612
GDALSetRasterOffset
CPLErr GDALSetRasterOffset(GDALRasterBandH hBand, double dfNewOffset)
Set scaling offset.
Definition: gdalrasterband.cpp:2872
CPLErr
CPLErr
Error category.
Definition: cpl_error.h:52
GDALMDArraySetSpatialRef
int GDALMDArraySetSpatialRef(GDALMDArrayH, OGRSpatialReferenceH)
Assign a spatial reference system object to the array.
Definition: gdalmultidim.cpp:10766
GDALWriteWorldFile
int GDALWriteWorldFile(const char *, const char *, double *)
Write ESRI world file.
Definition: gdal_misc.cpp:2290
GDALRelationshipGetRightTableName
const char * GDALRelationshipGetRightTableName(GDALRelationshipH)
Get the name of the right (or related/destination) table in the relationship.
Definition: gdalrelationship.cpp:166
GDALGetMaskBand
GDALRasterBandH GDALGetMaskBand(GDALRasterBandH hBand)
Return the mask band associated with the band.
Definition: gdalrasterband.cpp:7278
GDALCopyWords64
void GDALCopyWords64(const void *pSrcData, GDALDataType eSrcType, int nSrcPixelOffset, void *pDstData, GDALDataType eDstType, int nDstPixelOffset, GPtrDiff_t nWordCount)
Copy pixel words from buffer to buffer.
Definition: rasterio.cpp:3306
GDALRasterIO
CPLErr GDALRasterIO(GDALRasterBandH hRBand, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, int nPixelSpace, int nLineSpace)
Read/write a region of image data for this band.
Definition: gdalrasterband.cpp:403
GDALMDArraySetScale
int GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10324
GDALDerivedPixelFunc
CPLErr(* GDALDerivedPixelFunc)(void **papoSources, int nSources, void *pData, int nBufXSize, int nBufYSize, GDALDataType eSrcType, GDALDataType eBufType, int nPixelSpace, int nLineSpace)
Type of functions to pass to GDALAddDerivedBandPixelFunc.
Definition: gdal.h:1357
GDALRasterIOExtraArg::dfXSize
double dfXSize
Definition: gdal.h:202
GDALGetRasterNoDataValueAsInt64
int64_t GDALGetRasterNoDataValueAsInt64(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1769
GDALGetCacheUsed
int GDALGetCacheUsed(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:322
GDAL_GCP::dfGCPZ
double dfGCPZ
Elevation of GCP, or zero if not known.
Definition: gdal.h:1056
GDALRPCInfoV2::dfLAT_OFF
double dfLAT_OFF
Definition: gdal.h:1693
GDALDatasetGetVirtualMem
CPLVirtualMem * GDALDatasetGetVirtualMem(GDALDatasetH hDS, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize, int nYSize, int nBufXSize, int nBufYSize, GDALDataType eBufType, int nBandCount, int *panBandMap, int nPixelSpace, GIntBig nLineSpace, GIntBig nBandSpace, size_t nCacheSize, size_t nPageSizeHint, int bSingleThreadUsage, CSLConstList papszOptions)
Create a CPLVirtualMem object from a GDAL dataset object.
Definition: gdalvirtualmem.cpp:896
GPI_CMYK
@ GPI_CMYK
Definition: gdal.h:256
GDALRelationshipSetLeftTableFields
void GDALRelationshipSetLeftTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the participating fields from the left table in the relationship.
Definition: gdalrelationship.cpp:302
GDALRasterIOExtraArg::dfYOff
double dfYOff
Definition: gdal.h:199
GPI_HLS
@ GPI_HLS
Definition: gdal.h:257
GDT_Byte
@ GDT_Byte
Definition: gdal.h:66
GPI_RGB
@ GPI_RGB
Definition: gdal.h:255
GDALMDArrayGetMask
GDALMDArrayH GDALMDArrayGetMask(GDALMDArrayH hArray, CSLConstList papszOptions)
Return an array that is a mask for the current array.
Definition: gdalmultidim.cpp:10661
GDALDecToDMS
const char * GDALDecToDMS(double, const char *, int)
Translate a decimal degrees value to a DMS string with hemisphere.
Definition: gdal_misc.cpp:2548
GDALDataTypeIsConversionLossy
int GDALDataTypeIsConversionLossy(GDALDataType eTypeFrom, GDALDataType eTypeTo)
Is conversion from eTypeFrom to eTypeTo potentially lossy.
Definition: gdal_misc.cpp:592
GDALIdentifyDriverEx
GDALDriverH GDALIdentifyDriverEx(const char *pszFilename, unsigned int nIdentifyFlags, const char *const *papszAllowedDrivers, const char *const *papszFileList)
Identify the driver that can open a raster file.
Definition: gdaldriver.cpp:2349
GDALRATGetRowCount
int GDALRATGetRowCount(GDALRasterAttributeTableH)
Fetch row count.
Definition: gdal_rat.cpp:1441
GDALExtendedDataTypeSubType
GDALExtendedDataTypeSubType
Enumeration giving the subtype of a GDALExtendedDataType.
Definition: gdal.h:333
GDALExtendedDataTypeGetComponents
GDALEDTComponentH * GDALExtendedDataTypeGetComponents(GDALExtendedDataTypeH hEDT, size_t *pnCount)
Return the components of the data type (only valid when GetClass() == GEDTC_COMPOUND)
Definition: gdalmultidim.cpp:9168
GDALRATSetRowCount
void GDALRATSetRowCount(GDALRasterAttributeTableH, int)
Set row count.
Definition: gdal_rat.cpp:335
GDALRelationshipSetRightTableFields
void GDALRelationshipSetRightTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the participating fields from the right table in the relationship.
Definition: gdalrelationship.cpp:334
GDALMDArrayGetDimensions
GDALDimensionH * GDALMDArrayGetDimensions(GDALMDArrayH hArray, size_t *pnCount)
Return the dimensions of the array.
Definition: gdalmultidim.cpp:9859
CPL_RESTRICT
#define CPL_RESTRICT
restrict keyword to declare that pointers do not alias
Definition: cpl_port.h:1031
GDALGetOverview
GDALRasterBandH GDALGetOverview(GDALRasterBandH, int)
Fetch overview raster band object.
Definition: gdalrasterband.cpp:2621
GDALSetMetadata
CPLErr GDALSetMetadata(GDALMajorObjectH, CSLConstList, const char *)
Set metadata.
Definition: gdalmajorobject.cpp:315
GDALDataTypeIsSigned
int GDALDataTypeIsSigned(GDALDataType)
Is data type signed?
Definition: gdal_misc.cpp:550
GDALExtendedDataTypeH
struct GDALExtendedDataTypeHS * GDALExtendedDataTypeH
Opaque type for C++ GDALExtendedDataType.
Definition: gdal.h:342
GDALRIOResampleAlg
GDALRIOResampleAlg
RasterIO() resampling method.
Definition: gdal.h:142
GDALGetDatasetDriver
GDALDriverH GDALGetDatasetDriver(GDALDatasetH)
Fetch the driver to which this dataset relates.
Definition: gdaldataset.cpp:1395
GDALSetSpatialRef
CPLErr GDALSetSpatialRef(GDALDatasetH, OGRSpatialReferenceH)
Set the spatial reference system for this dataset.
Definition: gdaldataset.cpp:1185
GDALDestroyColorTable
void GDALDestroyColorTable(GDALColorTableH)
Destroys a color table.
Definition: gdalcolortable.cpp:94
GDALGetRasterColorTable
GDALColorTableH GDALGetRasterColorTable(GDALRasterBandH)
Fetch the color table associated with band.
Definition: gdalrasterband.cpp:2440
GDALMDArrayTranspose
GDALMDArrayH GDALMDArrayTranspose(GDALMDArrayH hArray, size_t nNewAxisCount, const int *panMapNewAxisToOldAxis)
Return a view of the array whose axis have been reordered.
Definition: gdalmultidim.cpp:10607
GDALInvGeoTransform
int GDALInvGeoTransform(double *padfGeoTransformIn, double *padfInvGeoTransformOut)
Invert Geotransform.
Definition: gdaltransformer.cpp:4153
GDALRelationshipSetRightMappingTableFields
void GDALRelationshipSetRightMappingTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the mapping table fields which correspond to the participating fields from the righ...
Definition: gdalrelationship.cpp:463
GDALDatasetRasterIOEx
CPLErr GDALDatasetRasterIOEx(GDALDatasetH hDS, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, int nBandCount, int *panBandCount, GSpacing nPixelSpace, GSpacing nLineSpace, GSpacing nBandSpace, GDALRasterIOExtraArg *psExtraArg)
Read/write a region of image data from multiple bands.
Definition: gdaldataset.cpp:2710
GDALRelationshipSetForwardPathLabel
void GDALRelationshipSetForwardPathLabel(GDALRelationshipH, const char *)
Sets the label of the forward path for the relationship.
Definition: gdalrelationship.cpp:575
GCI_AlphaBand
@ GCI_AlphaBand
Definition: gdal.h:234
GDALRelationshipCardinality
GDALRelationshipCardinality
Cardinality of relationship.
Definition: gdal.h:1888
GDALDimensionSetIndexingVariable
int GDALDimensionSetIndexingVariable(GDALDimensionH hDim, GDALMDArrayH hArray)
Set the variable that is used to index the dimension.
Definition: gdalmultidim.cpp:11502
GDALMDArrayGetUnscaled
GDALMDArrayH GDALMDArrayGetUnscaled(GDALMDArrayH hArray)
Return an array that is the unscaled version of the current one.
Definition: gdalmultidim.cpp:10639
GDALRATGetLinearBinning
int GDALRATGetLinearBinning(GDALRasterAttributeTableH, double *, double *)
Get linear binning information.
Definition: gdal_rat.cpp:550
GDALGroupGetAttribute
GDALAttributeH GDALGroupGetAttribute(GDALGroupH hGroup, const char *pszName)
Return an attribute by its name.
Definition: gdalmultidim.cpp:9583
GDALGroupGetName
const char * GDALGroupGetName(GDALGroupH hGroup)
Return the name of the group.
Definition: gdalmultidim.cpp:9305
GDALComputeRasterMinMax
CPLErr GDALComputeRasterMinMax(GDALRasterBandH hBand, int bApproxOK, double adfMinMax[2])
Compute the min/max values for a band.
Definition: gdalrasterband.cpp:6770
GDALPaletteInterp
GDALPaletteInterp
Definition: gdal.h:252
GDALGetColorEntryAsRGB
int GDALGetColorEntryAsRGB(GDALColorTableH, int, GDALColorEntry *)
Fetch a table entry in RGB format.
Definition: gdalcolortable.cpp:182
GDALRATValuesIOAsString
CPLErr GDALRATValuesIOAsString(GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag, int iField, int iStartRow, int iLength, CSLConstList papszStrList)
Read or Write a block of strings to/from the Attribute Table.
Definition: gdal_rat.cpp:290
GDALRATSetValueAsString
void GDALRATSetValueAsString(GDALRasterAttributeTableH, int, int, const char *)
Set field value from string.
Definition: gdal_rat.cpp:1727
GDALRPCInfoV2
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1689
GDALMDArrayResize
bool GDALMDArrayResize(GDALMDArrayH hArray, const GUInt64 *panNewDimSizes, CSLConstList papszOptions)
Resize an array to new dimensions.
Definition: gdalmultidim.cpp:10299
GDALBeginAsyncReader
GDALAsyncReaderH GDALBeginAsyncReader(GDALDatasetH hDS, int nXOff, int nYOff, int nXSize, int nYSize, void *pBuf, int nBufXSize, int nBufYSize, GDALDataType eBufType, int nBandCount, int *panBandMap, int nPixelSpace, int nLineSpace, int nBandSpace, CSLConstList papszOptions)
Sets up an asynchronous data request.
Definition: gdaldataset.cpp:4102
GDALMDArrayGetFullName
const char * GDALMDArrayGetFullName(GDALMDArrayH hArray)
Return array full name.
Definition: gdalmultidim.cpp:9807
GDALDatasetGetLayer
OGRLayerH GDALDatasetGetLayer(GDALDatasetH, int)
Fetch a layer by index.
Definition: gdaldataset.cpp:4490
GDALDatasetIsLayerPrivate
int GDALDatasetIsLayerPrivate(GDALDatasetH, int)
Returns true if the layer at the specified index is deemed a private or system table,...
Definition: gdaldataset.cpp:4560
GDALRasterIOExtraArg::nVersion
int nVersion
Definition: gdal.h:178
GDALRelationshipSetBackwardPathLabel
void GDALRelationshipSetBackwardPathLabel(GDALRelationshipH, const char *)
Sets the label of the backward path for the relationship.
Definition: gdalrelationship.cpp:643
GRIORA_Bilinear
@ GRIORA_Bilinear
Definition: gdal.h:145
GDALCreateCopy
GDALDatasetH GDALCreateCopy(GDALDriverH, const char *, GDALDatasetH, int, CSLConstList, GDALProgressFunc, void *)
Create a copy of a dataset.
Definition: gdaldriver.cpp:1239
GDALColorEntry::c1
short c1
Definition: gdal.h:1732
OGRLayerH
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:618
GDALLoadTabFile
int GDALLoadTabFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for MapInfo .tab files.
Definition: gdal_misc.cpp:1784
GFU_BlueMin
@ GFU_BlueMin
Definition: gdal.h:1790
GDALDataTypeUnion
GDALDataType GDALDataTypeUnion(GDALDataType, GDALDataType)
Return the smallest data type that can fully express both input data types.
Definition: gdal_misc.cpp:138
GDALExtendedDataTypeCreateStringEx
GDALExtendedDataTypeH GDALExtendedDataTypeCreateStringEx(size_t nMaxStringLength, GDALExtendedDataTypeSubType eSubType)
Return a new GDALExtendedDataType of class GEDTC_STRING.
Definition: gdalmultidim.cpp:8961
GDALRasterBandH
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:294
GDALGetRasterYSize
int GDALGetRasterYSize(GDALDatasetH)
Fetch raster height in pixels.
Definition: gdaldataset.cpp:891
GDALGetGCPCount
int GDALGetGCPCount(GDALDatasetH)
Get number of GCPs.
Definition: gdaldataset.cpp:1640
GDALGetProjectionRef
const char * GDALGetProjectionRef(GDALDatasetH)
Fetch the projection definition string for this dataset.
Definition: gdaldataset.cpp:1096
GEDTC_COMPOUND
@ GEDTC_COMPOUND
Compound data type.
Definition: gdal.h:327
GDALSetRasterNoDataValueAsInt64
CPLErr GDALSetRasterNoDataValueAsInt64(GDALRasterBandH, int64_t)
Set the no data value for this band.
Definition: gdalrasterband.cpp:1979
GDALComposeGeoTransforms
void GDALComposeGeoTransforms(const double *padfGeoTransform1, const double *padfGeoTransform2, double *padfGeoTransformOut)
Compose two geotransforms.
Definition: gdal_misc.cpp:2917
GDALGetDefaultRAT
GDALRasterAttributeTableH GDALGetDefaultRAT(GDALRasterBandH hBand)
Fetch default Raster Attribute Table.
Definition: gdalrasterband.cpp:6905
GDALSetDefaultHistogramEx
CPLErr GDALSetDefaultHistogramEx(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:6861
GDALGroupOpenVectorLayer
OGRLayerH GDALGroupOpenVectorLayer(GDALGroupH hGroup, const char *pszVectorLayerName, CSLConstList papszOptions)
Open and return a vector layer.
Definition: gdalmultidim.cpp:9502
GDALSwapWords
void GDALSwapWords(void *pData, int nWordSize, int nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:1979
GDALDatasetDeleteLayer
OGRErr GDALDatasetDeleteLayer(GDALDatasetH, int)
Delete the indicated layer from the datasource.
Definition: gdaldataset.cpp:4591
GDALMDArrayGetDataType
GDALExtendedDataTypeH GDALMDArrayGetDataType(GDALMDArrayH hArray)
Return the data type.
Definition: gdalmultidim.cpp:9900
GDALMDArrayGetBlockSize
GUInt64 * GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount)
Return the "natural" block size of the array along all dimensions.
Definition: gdalmultidim.cpp:10506
GDALDatasetH
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:291
GDALReferenceDataset
int GDALReferenceDataset(GDALDatasetH)
Add one to dataset reference count.
Definition: gdaldataset.cpp:1433
GDALCreateDriver
GDALDriverH GDALCreateDriver(void)
Create a GDALDriver.
Definition: gdaldriver.cpp:85
GDALMDArraySetScaleEx
int GDALMDArraySetScaleEx(GDALMDArrayH hArray, double dfScale, GDALDataType eStorageType)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10343
GDALRegenerateOverviews
CPLErr GDALRegenerateOverviews(GDALRasterBandH hSrcBand, int nOverviewCount, GDALRasterBandH *pahOverviewBands, const char *pszResampling, GDALProgressFunc pfnProgress, void *pProgressData)
Generate downsampled overviews.
Definition: overview.cpp:4130
GDALGetDataCoverageStatus
int GDALGetDataCoverageStatus(GDALRasterBandH hBand, int nXOff, int nYOff, int nXSize, int nYSize, int nMaskFlagStop, double *pdfDataPct)
Get the coverage status of a sub-window of the raster.
Definition: gdalrasterband.cpp:7997
GDALRATTranslateToColorTable
GDALColorTableH GDALRATTranslateToColorTable(GDALRasterAttributeTableH, int nEntryCount)
Translate to a color table.
Definition: gdal_rat.cpp:1091
GDALDataTypeIsComplex
int GDALDataTypeIsComplex(GDALDataType)
Is data type complex?
Definition: gdal_misc.cpp:426
GDALGetRasterMaximum
double GDALGetRasterMaximum(GDALRasterBandH, int *pbSuccess)
Fetch the maximum value for this band.
Definition: gdalrasterband.cpp:2204
GDALGetAsyncStatusTypeName
const char * GDALGetAsyncStatusTypeName(GDALAsyncStatusType)
Get name of AsyncStatus data type.
Definition: gdal_misc.cpp:967
GDALGetRasterUnitType
const char * GDALGetRasterUnitType(GDALRasterBandH)
Return raster unit type.
Definition: gdalrasterband.cpp:3021
GDALDatasetGetFieldDomain
OGRFieldDomainH GDALDatasetGetFieldDomain(GDALDatasetH hDS, const char *pszName)
Get a field domain from its name.
Definition: gdaldataset.cpp:8615
GDALRATSetLinearBinning
CPLErr GDALRATSetLinearBinning(GDALRasterAttributeTableH, double, double)
Set linear binning information.
Definition: gdal_rat.cpp:507
GFU_Green
@ GFU_Green
Definition: gdal.h:1785
GDALRelationshipSetType
void GDALRelationshipSetType(GDALRelationshipH, GDALRelationshipType)
Sets the type of the relationship.
Definition: gdalrelationship.cpp:509
GCI_MagentaBand
@ GCI_MagentaBand
Definition: gdal.h:239
GDALSetRasterColorTable
CPLErr GDALSetRasterColorTable(GDALRasterBandH, GDALColorTableH)
Set the raster color table.
Definition: gdalrasterband.cpp:2492
GDALDriverH
void * GDALDriverH
Opaque type used for the C bindings of the C++ GDALDriver class.
Definition: gdal.h:297
GDALDimensionH
struct GDALDimensionHS * GDALDimensionH
Opaque type for C++ GDALDimension.
Definition: gdal.h:352
GDALComputeRasterStatistics
CPLErr GDALComputeRasterStatistics(GDALRasterBandH, int bApproxOK, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Compute image statistics.
Definition: gdalrasterband.cpp:6097
GDALRelationshipType
GDALRelationshipType
Type of relationship.
Definition: gdal.h:1904
GDALDatasetSetStyleTable
void GDALDatasetSetStyleTable(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4993