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_RELEASE_DATE_AND_GDAL_RELEASE_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
55 /* -------------------------------------------------------------------- */
56 /* Significant constants. */
57 /* -------------------------------------------------------------------- */
58
59 CPL_C_START
60
62 typedef enum { GDT_Unknown = 0, GDT_Byte = 1, GDT_UInt16 = 2, GDT_Int16 = 3, GDT_UInt32 = 4, GDT_Int32 = 5,
69 /* TODO?(#6879): GDT_UInt64 */
70 /* TODO?(#6879): GDT_Int64 */ GDT_Float32 = 6, GDT_Float64 = 7, GDT_CInt16 = 8, GDT_CInt32 = 9,
75 /* TODO?(#6879): GDT_CInt64 */ GDT_CFloat32 = 10, GDT_CFloat64 = 11,
78 GDT_TypeCount = 12 /* maximum type # + 1 */
79 } GDALDataType;
80
81 int CPL_DLL CPL_STDCALL GDALGetDataTypeSize( GDALDataType ); // Deprecated.
82 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBits( GDALDataType eDataType );
83 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBytes( GDALDataType );
84 int CPL_DLL CPL_STDCALL GDALDataTypeIsComplex( GDALDataType );
85 int CPL_DLL CPL_STDCALL GDALDataTypeIsInteger( GDALDataType );
86 int CPL_DLL CPL_STDCALL GDALDataTypeIsFloating( GDALDataType );
87 int CPL_DLL CPL_STDCALL GDALDataTypeIsSigned( GDALDataType );
88 const char CPL_DLL * CPL_STDCALL GDALGetDataTypeName( GDALDataType );
89 GDALDataType CPL_DLL CPL_STDCALL GDALGetDataTypeByName( const char * );
90 GDALDataType CPL_DLL CPL_STDCALL GDALDataTypeUnion( GDALDataType, GDALDataType );
91 GDALDataType CPL_DLL CPL_STDCALL GDALDataTypeUnionWithValue( GDALDataType eDT, double dValue, int bComplex );
92 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataType( int nBits, int bSigned, int bFloating, int bComplex );
93 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataTypeForValue( double dValue, int bComplex );
94 double CPL_DLL GDALAdjustValueToDataType( GDALDataType eDT, double dfValue, int* pbClamped, int* pbRounded );
95 GDALDataType CPL_DLL CPL_STDCALL GDALGetNonComplexDataType( GDALDataType );
96 int CPL_DLL CPL_STDCALL GDALDataTypeIsConversionLossy( GDALDataType eTypeFrom,
97 GDALDataType eTypeTo );
98
102 typedef enum
103 {
104 GARIO_PENDING = 0,
105 GARIO_UPDATE = 1,
106 GARIO_ERROR = 2,
107 GARIO_COMPLETE = 3,
108 GARIO_TypeCount = 4
109 } GDALAsyncStatusType;
110
111 const char CPL_DLL * CPL_STDCALL GDALGetAsyncStatusTypeName( GDALAsyncStatusType );
112 GDALAsyncStatusType CPL_DLL CPL_STDCALL GDALGetAsyncStatusTypeByName( const char * );
113
115 typedef enum { GA_ReadOnly = 0, GA_Update = 1
118 } GDALAccess;
119
121 typedef enum { GF_Read = 0, GF_Write = 1
124 } GDALRWFlag;
125
126 /* NOTE: values are selected to be consistent with GDALResampleAlg of alg/gdalwarper.h */
130 typedef enum
131 { GRIORA_NearestNeighbour = 0, GRIORA_Bilinear = 1, GRIORA_Cubic = 2, GRIORA_CubicSpline = 3, GRIORA_Lanczos = 4, GRIORA_Average = 5,
139 GRIORA_Mode = 6, GRIORA_Gauss = 7,
141 /* NOTE: values 8 to 13 are reserved for max,min,med,Q1,Q3,sum */
143 GRIORA_RESERVED_START = 8,
144 GRIORA_RESERVED_END = 13,
149 GRIORA_RMS = 14,
151 GRIORA_LAST = GRIORA_RMS
153 } GDALRIOResampleAlg;
154
155 /* NOTE to developers: only add members, and if so edit INIT_RASTERIO_EXTRA_ARG */
156 /* and INIT_RASTERIO_EXTRA_ARG */
160 typedef struct
161 {
163 int nVersion;
164
166 GDALRIOResampleAlg eResampleAlg;
167
169 GDALProgressFunc pfnProgress;
171 void *pProgressData;
172
177 int bFloatingPointWindowValidity;
179 double dfXOff;
181 double dfYOff;
183 double dfXSize;
185 double dfYSize;
186 } GDALRasterIOExtraArg;
187
188 #ifndef DOXYGEN_SKIP
189 #define RASTERIO_EXTRA_ARG_CURRENT_VERSION 1
190 #endif
191
195 #define INIT_RASTERIO_EXTRA_ARG(s) \
196 do { (s).nVersion = RASTERIO_EXTRA_ARG_CURRENT_VERSION; \
197 (s).eResampleAlg = GRIORA_NearestNeighbour; \
198 (s).pfnProgress = CPL_NULLPTR; \
199 (s).pProgressData = CPL_NULLPTR; \
200 (s).bFloatingPointWindowValidity = FALSE; } while(0)
201
203 typedef enum
204 { 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
223 } GDALColorInterp;
224
225 const char CPL_DLL *GDALGetColorInterpretationName( GDALColorInterp );
226 GDALColorInterp CPL_DLL GDALGetColorInterpretationByName( const char *pszName );
227
229 typedef enum
230 { GPI_Gray=0, GPI_RGB=1, GPI_CMYK=2, GPI_HLS=3
235 } GDALPaletteInterp;
236
237 const char CPL_DLL *GDALGetPaletteInterpretationName( GDALPaletteInterp );
238
239 /* "well known" metadata items. */
240
243 #define GDALMD_AREA_OR_POINT "AREA_OR_POINT"
246 # define GDALMD_AOP_AREA "Area"
249 # define GDALMD_AOP_POINT "Point"
250
251 /* -------------------------------------------------------------------- */
252 /* GDAL Specific error codes. */
253 /* */
254 /* error codes 100 to 299 reserved for GDAL. */
255 /* -------------------------------------------------------------------- */
256 #ifndef DOXYGEN_SKIP
257 #define CPLE_WrongFormat CPL_STATIC_CAST(CPLErrorNum, 200)
258 #endif
259
260 /* -------------------------------------------------------------------- */
261 /* Define handle types related to various internal classes. */
262 /* -------------------------------------------------------------------- */
263
265 typedef void *GDALMajorObjectH;
266
268 typedef void *GDALDatasetH;
269
271 typedef void *GDALRasterBandH;
272
274 typedef void *GDALDriverH;
275
277 typedef void *GDALColorTableH;
278
280 typedef void *GDALRasterAttributeTableH;
281
283 typedef void *GDALAsyncReaderH;
284
286 typedef GIntBig GSpacing;
287
291 typedef enum {
293 GEDTC_NUMERIC,
295 GEDTC_STRING,
297 GEDTC_COMPOUND
298 } GDALExtendedDataTypeClass;
299
301 typedef struct GDALExtendedDataTypeHS* GDALExtendedDataTypeH;
303 typedef struct GDALEDTComponentHS* GDALEDTComponentH;
305 typedef struct GDALGroupHS* GDALGroupH;
307 typedef struct GDALMDArrayHS* GDALMDArrayH;
309 typedef struct GDALAttributeHS* GDALAttributeH;
311 typedef struct GDALDimensionHS* GDALDimensionH;
312
313 /* ==================================================================== */
314 /* Registration/driver related. */
315 /* ==================================================================== */
316
318 #define GDAL_DMD_LONGNAME "DMD_LONGNAME"
319
321 #define GDAL_DMD_HELPTOPIC "DMD_HELPTOPIC"
322
324 #define GDAL_DMD_MIMETYPE "DMD_MIMETYPE"
325
327 #define GDAL_DMD_EXTENSION "DMD_EXTENSION"
328
333 #define GDAL_DMD_CONNECTION_PREFIX "DMD_CONNECTION_PREFIX"
334
338 #define GDAL_DMD_EXTENSIONS "DMD_EXTENSIONS"
339
341 #define GDAL_DMD_CREATIONOPTIONLIST "DMD_CREATIONOPTIONLIST"
342
346 #define GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST "DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST"
347
351 #define GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST "DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST"
352
356 #define GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST "DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST"
357
361 #define GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST "DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST"
362
366 #define GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST "DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST"
367
371 #define GDAL_DMD_OPENOPTIONLIST "DMD_OPENOPTIONLIST"
372
374 #define GDAL_DMD_CREATIONDATATYPES "DMD_CREATIONDATATYPES"
375
379 #define GDAL_DMD_CREATIONFIELDDATATYPES "DMD_CREATIONFIELDDATATYPES"
380
384 #define GDAL_DMD_CREATIONFIELDDATASUBTYPES "DMD_CREATIONFIELDDATASUBTYPES"
385
387 #define GDAL_DMD_SUBDATASETS "DMD_SUBDATASETS"
388
390 #define GDAL_DCAP_OPEN "DCAP_OPEN"
391
400 #define GDAL_DCAP_CREATE "DCAP_CREATE"
401
406 #define GDAL_DCAP_CREATE_MULTIDIMENSIONAL "DCAP_CREATE_MULTIDIMENSIONAL"
407
416 #define GDAL_DCAP_CREATECOPY "DCAP_CREATECOPY"
417
423 #define GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL "DCAP_CREATECOPY_MULTIDIMENSIONAL"
424
428 #define GDAL_DCAP_MULTIDIM_RASTER "DCAP_MULTIDIM_RASTER"
429
431 #define GDAL_DCAP_SUBCREATECOPY "DCAP_SUBCREATECOPY"
432
434 #define GDAL_DCAP_VIRTUALIO "DCAP_VIRTUALIO"
435
439 #define GDAL_DCAP_RASTER "DCAP_RASTER"
440
444 #define GDAL_DCAP_VECTOR "DCAP_VECTOR"
445
449 #define GDAL_DCAP_GNM "DCAP_GNM"
450
454 #define GDAL_DCAP_NOTNULL_FIELDS "DCAP_NOTNULL_FIELDS"
455
459 #define GDAL_DCAP_UNIQUE_FIELDS "DCAP_UNIQUE_FIELDS"
460
464 #define GDAL_DCAP_DEFAULT_FIELDS "DCAP_DEFAULT_FIELDS"
465
469 #define GDAL_DCAP_NOTNULL_GEOMFIELDS "DCAP_NOTNULL_GEOMFIELDS"
470
476 #define GDAL_DCAP_NONSPATIAL "DCAP_NONSPATIAL"
477
481 #define GDAL_DCAP_FEATURE_STYLES "DCAP_FEATURE_STYLES"
482
486 #define GDAL_DIM_TYPE_HORIZONTAL_X "HORIZONTAL_X"
487
491 #define GDAL_DIM_TYPE_HORIZONTAL_Y "HORIZONTAL_Y"
492
496 #define GDAL_DIM_TYPE_VERTICAL "VERTICAL"
497
501 #define GDAL_DIM_TYPE_TEMPORAL "TEMPORAL"
502
506 #define GDAL_DIM_TYPE_PARAMETRIC "PARAMETRIC"
507
508
509 void CPL_DLL CPL_STDCALL GDALAllRegister( void );
510
511 GDALDatasetH CPL_DLL CPL_STDCALL GDALCreate( GDALDriverH hDriver,
512 const char *, int, int, int, GDALDataType,
513 CSLConstList ) CPL_WARN_UNUSED_RESULT;
514 GDALDatasetH CPL_DLL CPL_STDCALL
515 GDALCreateCopy( GDALDriverH, const char *, GDALDatasetH,
516 int, CSLConstList, GDALProgressFunc, void * ) CPL_WARN_UNUSED_RESULT;
517
518 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriver( const char * pszFilename,
519 CSLConstList papszFileList );
520
521 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriverEx(
522 const char *pszFilename, unsigned int nIdentifyFlags,
523 const char *const *papszAllowedDrivers, const char *const *papszFileList);
524
525 GDALDatasetH CPL_DLL CPL_STDCALL
526 GDALOpen( const char *pszFilename, GDALAccess eAccess ) CPL_WARN_UNUSED_RESULT;
527 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenShared( const char *, GDALAccess ) CPL_WARN_UNUSED_RESULT;
528
529 /* Note: we define GDAL_OF_READONLY and GDAL_OF_UPDATE to be on purpose */
530 /* equals to GA_ReadOnly and GA_Update */
531
536 #define GDAL_OF_READONLY 0x00
537
542 #define GDAL_OF_UPDATE 0x01
543
548 #define GDAL_OF_ALL 0x00
549
554 #define GDAL_OF_RASTER 0x02
555
560 #define GDAL_OF_VECTOR 0x04
561
566 #define GDAL_OF_GNM 0x08
567
572 #define GDAL_OF_MULTIDIM_RASTER 0x10
573
574 #ifndef DOXYGEN_SKIP
575 #define GDAL_OF_KIND_MASK 0x1E
576 #endif
577
582 #define GDAL_OF_SHARED 0x20
583
588 #define GDAL_OF_VERBOSE_ERROR 0x40
589
596 #define GDAL_OF_INTERNAL 0x80
597
607 #define GDAL_OF_DEFAULT_BLOCK_ACCESS 0
608
617 #define GDAL_OF_ARRAY_BLOCK_ACCESS 0x100
618
627 #define GDAL_OF_HASHSET_BLOCK_ACCESS 0x200
628
629 #ifndef DOXYGEN_SKIP
630 /* Reserved for a potential future alternative to GDAL_OF_ARRAY_BLOCK_ACCESS
631 * and GDAL_OF_HASHSET_BLOCK_ACCESS */
632 #define GDAL_OF_RESERVED_1 0x300
633
635 #define GDAL_OF_BLOCK_ACCESS_MASK 0x300
636 #endif
637
638 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
639 unsigned int nOpenFlags,
640 const char* const* papszAllowedDrivers,
641 const char* const* papszOpenOptions,
642 const char* const* papszSiblingFiles ) CPL_WARN_UNUSED_RESULT;
643
644 int CPL_DLL CPL_STDCALL GDALDumpOpenDatasets( FILE * );
645
646 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriverByName( const char * );
647 int CPL_DLL CPL_STDCALL GDALGetDriverCount( void );
648 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriver( int );
649 GDALDriverH CPL_DLL CPL_STDCALL GDALCreateDriver( void );
650 void CPL_DLL CPL_STDCALL GDALDestroyDriver( GDALDriverH );
651 int CPL_DLL CPL_STDCALL GDALRegisterDriver( GDALDriverH );
652 void CPL_DLL CPL_STDCALL GDALDeregisterDriver( GDALDriverH );
653 void CPL_DLL CPL_STDCALL GDALDestroyDriverManager( void );
654 #ifndef DOXYGEN_SKIP
655 void CPL_DLL GDALDestroy( void );
656 #endif
657 CPLErr CPL_DLL CPL_STDCALL GDALDeleteDataset( GDALDriverH, const char * );
658 CPLErr CPL_DLL CPL_STDCALL GDALRenameDataset( GDALDriverH,
659 const char * pszNewName,
660 const char * pszOldName );
661 CPLErr CPL_DLL CPL_STDCALL GDALCopyDatasetFiles( GDALDriverH,
662 const char * pszNewName,
663 const char * pszOldName);
664 int CPL_DLL CPL_STDCALL GDALValidateCreationOptions( GDALDriverH,
665 CSLConstList papszCreationOptions);
666
667 /* The following are deprecated */
668 const char CPL_DLL * CPL_STDCALL GDALGetDriverShortName( GDALDriverH );
669 const char CPL_DLL * CPL_STDCALL GDALGetDriverLongName( GDALDriverH );
670 const char CPL_DLL * CPL_STDCALL GDALGetDriverHelpTopic( GDALDriverH );
671 const char CPL_DLL * CPL_STDCALL GDALGetDriverCreationOptionList( GDALDriverH );
672
673 /* ==================================================================== */
674 /* GDAL_GCP */
675 /* ==================================================================== */
676
678 typedef struct
679 {
681 char *pszId;
682
684 char *pszInfo;
685
687 double dfGCPPixel;
689 double dfGCPLine;
690
692 double dfGCPX;
693
695 double dfGCPY;
696
698 double dfGCPZ;
699 } GDAL_GCP;
700
701 void CPL_DLL CPL_STDCALL GDALInitGCPs( int, GDAL_GCP * );
702 void CPL_DLL CPL_STDCALL GDALDeinitGCPs( int, GDAL_GCP * );
703 GDAL_GCP CPL_DLL * CPL_STDCALL GDALDuplicateGCPs( int, const GDAL_GCP * );
704
705 int CPL_DLL CPL_STDCALL
706 GDALGCPsToGeoTransform( int nGCPCount, const GDAL_GCP *pasGCPs,
707 double *padfGeoTransform, int bApproxOK ) CPL_WARN_UNUSED_RESULT;
708 int CPL_DLL CPL_STDCALL
709 GDALInvGeoTransform( double *padfGeoTransformIn,
710 double *padfInvGeoTransformOut ) CPL_WARN_UNUSED_RESULT;
711 void CPL_DLL CPL_STDCALL GDALApplyGeoTransform( double *, double, double,
712 double *, double * );
713 void CPL_DLL GDALComposeGeoTransforms(const double *padfGeoTransform1,
714 const double *padfGeoTransform2,
715 double *padfGeoTransformOut);
716
717 /* ==================================================================== */
718 /* major objects (dataset, and, driver, drivermanager). */
719 /* ==================================================================== */
720
721 char CPL_DLL ** CPL_STDCALL GDALGetMetadataDomainList( GDALMajorObjectH hObject );
722 char CPL_DLL ** CPL_STDCALL GDALGetMetadata( GDALMajorObjectH, const char * );
723 CPLErr CPL_DLL CPL_STDCALL GDALSetMetadata( GDALMajorObjectH, CSLConstList,
724 const char * );
725 const char CPL_DLL * CPL_STDCALL
726 GDALGetMetadataItem( GDALMajorObjectH, const char *, const char * );
727 CPLErr CPL_DLL CPL_STDCALL
728 GDALSetMetadataItem( GDALMajorObjectH, const char *, const char *,
729 const char * );
730 const char CPL_DLL * CPL_STDCALL GDALGetDescription( GDALMajorObjectH );
731 void CPL_DLL CPL_STDCALL GDALSetDescription( GDALMajorObjectH, const char * );
732
733 /* ==================================================================== */
734 /* GDALDataset class ... normally this represents one file. */
735 /* ==================================================================== */
736
738 #define GDAL_DS_LAYER_CREATIONOPTIONLIST "DS_LAYER_CREATIONOPTIONLIST"
739
740 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDatasetDriver( GDALDatasetH );
741 char CPL_DLL ** CPL_STDCALL GDALGetFileList( GDALDatasetH );
742 void CPL_DLL CPL_STDCALL GDALClose( GDALDatasetH );
743 int CPL_DLL CPL_STDCALL GDALGetRasterXSize( GDALDatasetH );
744 int CPL_DLL CPL_STDCALL GDALGetRasterYSize( GDALDatasetH );
745 int CPL_DLL CPL_STDCALL GDALGetRasterCount( GDALDatasetH );
746 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetRasterBand( GDALDatasetH, int );
747
748 CPLErr CPL_DLL CPL_STDCALL GDALAddBand( GDALDatasetH hDS, GDALDataType eType,
749 CSLConstList papszOptions );
750
751 GDALAsyncReaderH CPL_DLL CPL_STDCALL
752 GDALBeginAsyncReader(GDALDatasetH hDS, int nXOff, int nYOff,
753 int nXSize, int nYSize,
754 void *pBuf, int nBufXSize, int nBufYSize,
755 GDALDataType eBufType, int nBandCount, int* panBandMap,
756 int nPixelSpace, int nLineSpace, int nBandSpace,
757 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
758
759 void CPL_DLL CPL_STDCALL
760 GDALEndAsyncReader(GDALDatasetH hDS, GDALAsyncReaderH hAsynchReaderH);
761
762 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIO(
763 GDALDatasetH hDS, GDALRWFlag eRWFlag,
764 int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
765 void * pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType,
766 int nBandCount, int *panBandCount,
767 int nPixelSpace, int nLineSpace, int nBandSpace) CPL_WARN_UNUSED_RESULT;
768
769 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIOEx(
770 GDALDatasetH hDS, GDALRWFlag eRWFlag,
771 int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
772 void * pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType,
773 int nBandCount, int *panBandCount,
774 GSpacing nPixelSpace, GSpacing nLineSpace, GSpacing nBandSpace,
775 GDALRasterIOExtraArg* psExtraArg) CPL_WARN_UNUSED_RESULT;
776
777 CPLErr CPL_DLL CPL_STDCALL GDALDatasetAdviseRead( GDALDatasetH hDS,
778 int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
779 int nBXSize, int nBYSize, GDALDataType eBDataType,
780 int nBandCount, int *panBandCount, CSLConstList papszOptions );
781
782 const char CPL_DLL * CPL_STDCALL GDALGetProjectionRef( GDALDatasetH );
783 OGRSpatialReferenceH CPL_DLL GDALGetSpatialRef( GDALDatasetH );
784 CPLErr CPL_DLL CPL_STDCALL GDALSetProjection( GDALDatasetH, const char * );
785 CPLErr CPL_DLL GDALSetSpatialRef( GDALDatasetH, OGRSpatialReferenceH );
786 CPLErr CPL_DLL CPL_STDCALL GDALGetGeoTransform( GDALDatasetH, double * );
787 CPLErr CPL_DLL CPL_STDCALL GDALSetGeoTransform( GDALDatasetH, double * );
788
789 int CPL_DLL CPL_STDCALL GDALGetGCPCount( GDALDatasetH );
790 const char CPL_DLL * CPL_STDCALL GDALGetGCPProjection( GDALDatasetH );
791 OGRSpatialReferenceH CPL_DLL GDALGetGCPSpatialRef( GDALDatasetH );
792 const GDAL_GCP CPL_DLL * CPL_STDCALL GDALGetGCPs( GDALDatasetH );
793 CPLErr CPL_DLL CPL_STDCALL GDALSetGCPs( GDALDatasetH, int, const GDAL_GCP *,
794 const char * );
795 CPLErr CPL_DLL GDALSetGCPs2( GDALDatasetH, int, const GDAL_GCP *,
796 OGRSpatialReferenceH );
797
798 void CPL_DLL * CPL_STDCALL GDALGetInternalHandle( GDALDatasetH, const char * );
799 int CPL_DLL CPL_STDCALL GDALReferenceDataset( GDALDatasetH );
800 int CPL_DLL CPL_STDCALL GDALDereferenceDataset( GDALDatasetH );
801 int CPL_DLL CPL_STDCALL GDALReleaseDataset( GDALDatasetH );
802
803 CPLErr CPL_DLL CPL_STDCALL
804 GDALBuildOverviews( GDALDatasetH, const char *, int, int *,
805 int, int *, GDALProgressFunc, void * ) CPL_WARN_UNUSED_RESULT;
806 void CPL_DLL CPL_STDCALL GDALGetOpenDatasets( GDALDatasetH **hDS, int *pnCount );
807 int CPL_DLL CPL_STDCALL GDALGetAccess( GDALDatasetH hDS );
808 void CPL_DLL CPL_STDCALL GDALFlushCache( GDALDatasetH hDS );
809
810 CPLErr CPL_DLL CPL_STDCALL
811 GDALCreateDatasetMaskBand( GDALDatasetH hDS, int nFlags );
812
813 CPLErr CPL_DLL CPL_STDCALL GDALDatasetCopyWholeRaster(
814 GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions,
815 GDALProgressFunc pfnProgress, void *pProgressData ) CPL_WARN_UNUSED_RESULT;
816
817 CPLErr CPL_DLL CPL_STDCALL GDALRasterBandCopyWholeRaster(
818 GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand,
819 const char * const * constpapszOptions,
820 GDALProgressFunc pfnProgress, void *pProgressData ) CPL_WARN_UNUSED_RESULT;
821
822 CPLErr CPL_DLL
823 GDALRegenerateOverviews( GDALRasterBandH hSrcBand,
824 int nOverviewCount, GDALRasterBandH *pahOverviewBands,
825 const char *pszResampling,
826 GDALProgressFunc pfnProgress, void *pProgressData );
827
828 int CPL_DLL GDALDatasetGetLayerCount( GDALDatasetH );
829 OGRLayerH CPL_DLL GDALDatasetGetLayer( GDALDatasetH, int );
830 OGRLayerH CPL_DLL GDALDatasetGetLayerByName( GDALDatasetH, const char * );
831 OGRErr CPL_DLL GDALDatasetDeleteLayer( GDALDatasetH, int );
832 OGRLayerH CPL_DLL GDALDatasetCreateLayer( GDALDatasetH, const char *,
833 OGRSpatialReferenceH, OGRwkbGeometryType,
834 CSLConstList );
835 OGRLayerH CPL_DLL GDALDatasetCopyLayer( GDALDatasetH, OGRLayerH, const char *,
836 CSLConstList );
837 void CPL_DLL GDALDatasetResetReading( GDALDatasetH );
838 OGRFeatureH CPL_DLL GDALDatasetGetNextFeature( GDALDatasetH hDS,
839 OGRLayerH* phBelongingLayer,
840 double* pdfProgressPct,
841 GDALProgressFunc pfnProgress,
842 void* pProgressData );
843 int CPL_DLL GDALDatasetTestCapability( GDALDatasetH, const char * );
844 OGRLayerH CPL_DLL GDALDatasetExecuteSQL( GDALDatasetH, const char *,
845 OGRGeometryH, const char * );
846 OGRErr CPL_DLL GDALDatasetAbortSQL( GDALDatasetH );
847 void CPL_DLL GDALDatasetReleaseResultSet( GDALDatasetH, OGRLayerH );
848 OGRStyleTableH CPL_DLL GDALDatasetGetStyleTable( GDALDatasetH );
849 void CPL_DLL GDALDatasetSetStyleTableDirectly( GDALDatasetH, OGRStyleTableH );
850 void CPL_DLL GDALDatasetSetStyleTable( GDALDatasetH, OGRStyleTableH );
851 OGRErr CPL_DLL GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce);
852 OGRErr CPL_DLL GDALDatasetCommitTransaction(GDALDatasetH hDS);
853 OGRErr CPL_DLL GDALDatasetRollbackTransaction(GDALDatasetH hDS);
854 void CPL_DLL GDALDatasetClearStatistics(GDALDatasetH hDS);
855
856 OGRFieldDomainH CPL_DLL GDALDatasetGetFieldDomain(GDALDatasetH hDS,
857 const char* pszName);
858 bool CPL_DLL GDALDatasetAddFieldDomain(GDALDatasetH hDS,
859 OGRFieldDomainH hFieldDomain,
860 char** ppszFailureReason);
861
862 /* ==================================================================== */
863 /* GDALRasterBand ... one band/channel in a dataset. */
864 /* ==================================================================== */
865
870 #define SRCVAL(papoSource, eSrcType, ii) \
871 (eSrcType == GDT_Byte ? \
872 CPL_REINTERPRET_CAST(const GByte*,papoSource)[ii] : \
873 (eSrcType == GDT_Float32 ? \
874 CPL_REINTERPRET_CAST(const float*,papoSource)[ii] : \
875 (eSrcType == GDT_Float64 ? \
876 CPL_REINTERPRET_CAST(const double*,papoSource)[ii] : \
877 (eSrcType == GDT_Int32 ? \
878 CPL_REINTERPRET_CAST(const GInt32*,papoSource)[ii] : \
879 (eSrcType == GDT_UInt16 ? \
880 CPL_REINTERPRET_CAST(const GUInt16*,papoSource)[ii] : \
881 (eSrcType == GDT_Int16 ? \
882 CPL_REINTERPRET_CAST(const GInt16*,papoSource)[ii] : \
883 (eSrcType == GDT_UInt32 ? \
884 CPL_REINTERPRET_CAST(const GUInt32*,papoSource)[ii] : \
885 (eSrcType == GDT_CInt16 ? \
886 CPL_REINTERPRET_CAST(const GInt16*,papoSource)[(ii) * 2] : \
887 (eSrcType == GDT_CInt32 ? \
888 CPL_REINTERPRET_CAST(const GInt32*,papoSource)[(ii) * 2] : \
889 (eSrcType == GDT_CFloat32 ? \
890 CPL_REINTERPRET_CAST(const float*,papoSource)[(ii) * 2] : \
891 (eSrcType == GDT_CFloat64 ? \
892 CPL_REINTERPRET_CAST(const double*,papoSource)[(ii) * 2] : 0)))))))))))
893
896 typedef CPLErr
897 (*GDALDerivedPixelFunc)(void **papoSources, int nSources, void *pData,
898 int nBufXSize, int nBufYSize,
899 GDALDataType eSrcType, GDALDataType eBufType,
900 int nPixelSpace, int nLineSpace);
901
902 GDALDataType CPL_DLL CPL_STDCALL GDALGetRasterDataType( GDALRasterBandH );
903 void CPL_DLL CPL_STDCALL
904 GDALGetBlockSize( GDALRasterBandH, int * pnXSize, int * pnYSize );
905
906 CPLErr CPL_DLL CPL_STDCALL
907 GDALGetActualBlockSize( GDALRasterBandH, int nXBlockOff, int nYBlockOff,
908 int *pnXValid, int *pnYValid );
909
910 CPLErr CPL_DLL CPL_STDCALL GDALRasterAdviseRead( GDALRasterBandH hRB,
911 int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
912 int nBXSize, int nBYSize, GDALDataType eBDataType, CSLConstList papszOptions );
913
914 CPLErr CPL_DLL CPL_STDCALL
915 GDALRasterIO( GDALRasterBandH hRBand, GDALRWFlag eRWFlag,
916 int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
917 void * pBuffer, int nBXSize, int nBYSize,GDALDataType eBDataType,
918 int nPixelSpace, int nLineSpace ) CPL_WARN_UNUSED_RESULT;
919 CPLErr CPL_DLL CPL_STDCALL
920 GDALRasterIOEx( GDALRasterBandH hRBand, GDALRWFlag eRWFlag,
921 int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
922 void * pBuffer, int nBXSize, int nBYSize,GDALDataType eBDataType,
923 GSpacing nPixelSpace, GSpacing nLineSpace,
924 GDALRasterIOExtraArg* psExtraArg ) CPL_WARN_UNUSED_RESULT;
925 CPLErr CPL_DLL CPL_STDCALL GDALReadBlock( GDALRasterBandH, int, int, void * ) CPL_WARN_UNUSED_RESULT;
926 CPLErr CPL_DLL CPL_STDCALL GDALWriteBlock( GDALRasterBandH, int, int, void * ) CPL_WARN_UNUSED_RESULT;
927 int CPL_DLL CPL_STDCALL GDALGetRasterBandXSize( GDALRasterBandH );
928 int CPL_DLL CPL_STDCALL GDALGetRasterBandYSize( GDALRasterBandH );
929 GDALAccess CPL_DLL CPL_STDCALL GDALGetRasterAccess( GDALRasterBandH );
930 int CPL_DLL CPL_STDCALL GDALGetBandNumber( GDALRasterBandH );
931 GDALDatasetH CPL_DLL CPL_STDCALL GDALGetBandDataset( GDALRasterBandH );
932
933 GDALColorInterp CPL_DLL CPL_STDCALL
934 GDALGetRasterColorInterpretation( GDALRasterBandH );
935 CPLErr CPL_DLL CPL_STDCALL
936 GDALSetRasterColorInterpretation( GDALRasterBandH, GDALColorInterp );
937 GDALColorTableH CPL_DLL CPL_STDCALL GDALGetRasterColorTable( GDALRasterBandH );
938 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterColorTable( GDALRasterBandH, GDALColorTableH );
939 int CPL_DLL CPL_STDCALL GDALHasArbitraryOverviews( GDALRasterBandH );
940 int CPL_DLL CPL_STDCALL GDALGetOverviewCount( GDALRasterBandH );
941 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetOverview( GDALRasterBandH, int );
942 double CPL_DLL CPL_STDCALL GDALGetRasterNoDataValue( GDALRasterBandH, int * );
943 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValue( GDALRasterBandH, double );
944 CPLErr CPL_DLL CPL_STDCALL GDALDeleteRasterNoDataValue( GDALRasterBandH );
945 char CPL_DLL ** CPL_STDCALL GDALGetRasterCategoryNames( GDALRasterBandH );
946 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterCategoryNames( GDALRasterBandH, CSLConstList );
947 double CPL_DLL CPL_STDCALL GDALGetRasterMinimum( GDALRasterBandH, int *pbSuccess );
948 double CPL_DLL CPL_STDCALL GDALGetRasterMaximum( GDALRasterBandH, int *pbSuccess );
949 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterStatistics(
950 GDALRasterBandH, int bApproxOK, int bForce,
951 double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev );
952 CPLErr CPL_DLL CPL_STDCALL GDALComputeRasterStatistics(
953 GDALRasterBandH, int bApproxOK,
954 double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev,
955 GDALProgressFunc pfnProgress, void *pProgressData );
956 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterStatistics(
957 GDALRasterBandH hBand,
958 double dfMin, double dfMax, double dfMean, double dfStdDev );
959
960 GDALMDArrayH CPL_DLL GDALRasterBandAsMDArray(GDALRasterBandH) CPL_WARN_UNUSED_RESULT;
961
962 const char CPL_DLL * CPL_STDCALL GDALGetRasterUnitType( GDALRasterBandH );
963 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterUnitType( GDALRasterBandH hBand, const char *pszNewValue );
964 double CPL_DLL CPL_STDCALL GDALGetRasterOffset( GDALRasterBandH, int *pbSuccess );
965 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterOffset( GDALRasterBandH hBand, double dfNewOffset);
966 double CPL_DLL CPL_STDCALL GDALGetRasterScale( GDALRasterBandH, int *pbSuccess );
967 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterScale( GDALRasterBandH hBand, double dfNewOffset );
968 void CPL_DLL CPL_STDCALL
969 GDALComputeRasterMinMax( GDALRasterBandH hBand, int bApproxOK,
970 double adfMinMax[2] );
971 CPLErr CPL_DLL CPL_STDCALL GDALFlushRasterCache( GDALRasterBandH hBand );
972 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogram( GDALRasterBandH hBand,
973 double dfMin, double dfMax,
974 int nBuckets, int *panHistogram,
975 int bIncludeOutOfRange, int bApproxOK,
976 GDALProgressFunc pfnProgress,
977 void * pProgressData )
979 CPL_WARN_DEPRECATED("Use GDALGetRasterHistogramEx() instead")
981 ;
982 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogramEx( GDALRasterBandH hBand,
983 double dfMin, double dfMax,
984 int nBuckets, GUIntBig *panHistogram,
985 int bIncludeOutOfRange, int bApproxOK,
986 GDALProgressFunc pfnProgress,
987 void * pProgressData );
988 CPLErr CPL_DLL CPL_STDCALL GDALGetDefaultHistogram( GDALRasterBandH hBand,
989 double *pdfMin, double *pdfMax,
990 int *pnBuckets, int **ppanHistogram,
991 int bForce,
992 GDALProgressFunc pfnProgress,
993 void * pProgressData )
995 CPL_WARN_DEPRECATED("Use GDALGetDefaultHistogramEx() instead")
997 ;
998 CPLErr CPL_DLL CPL_STDCALL GDALGetDefaultHistogramEx( GDALRasterBandH hBand,
999 double *pdfMin, double *pdfMax,
1000 int *pnBuckets, GUIntBig **ppanHistogram,
1001 int bForce,
1002 GDALProgressFunc pfnProgress,
1003 void * pProgressData );
1004 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogram( GDALRasterBandH hBand,
1005 double dfMin, double dfMax,
1006 int nBuckets, int *panHistogram )
1008 CPL_WARN_DEPRECATED("Use GDALSetDefaultHistogramEx() instead")
1010 ;
1011 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogramEx( GDALRasterBandH hBand,
1012 double dfMin, double dfMax,
1013 int nBuckets, GUIntBig *panHistogram );
1014 int CPL_DLL CPL_STDCALL
1015 GDALGetRandomRasterSample( GDALRasterBandH, int, float * );
1016 GDALRasterBandH CPL_DLL CPL_STDCALL
1017 GDALGetRasterSampleOverview( GDALRasterBandH, int );
1018 GDALRasterBandH CPL_DLL CPL_STDCALL
1019 GDALGetRasterSampleOverviewEx( GDALRasterBandH, GUIntBig );
1020 CPLErr CPL_DLL CPL_STDCALL GDALFillRaster( GDALRasterBandH hBand,
1021 double dfRealValue, double dfImaginaryValue );
1022 CPLErr CPL_DLL CPL_STDCALL
1023 GDALComputeBandStats( GDALRasterBandH hBand, int nSampleStep,
1024 double *pdfMean, double *pdfStdDev,
1025 GDALProgressFunc pfnProgress,
1026 void *pProgressData );
1027 CPLErr CPL_DLL GDALOverviewMagnitudeCorrection( GDALRasterBandH hBaseBand,
1028 int nOverviewCount,
1029 GDALRasterBandH *pahOverviews,
1030 GDALProgressFunc pfnProgress,
1031 void *pProgressData );
1032
1033 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL GDALGetDefaultRAT(
1034 GDALRasterBandH hBand );
1035 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultRAT( GDALRasterBandH,
1036 GDALRasterAttributeTableH );
1037 CPLErr CPL_DLL CPL_STDCALL GDALAddDerivedBandPixelFunc( const char *pszName,
1038 GDALDerivedPixelFunc pfnPixelFunc );
1039
1040 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetMaskBand( GDALRasterBandH hBand );
1041 int CPL_DLL CPL_STDCALL GDALGetMaskFlags( GDALRasterBandH hBand );
1042 CPLErr CPL_DLL CPL_STDCALL
1043 GDALCreateMaskBand( GDALRasterBandH hBand, int nFlags );
1044
1046 #define GMF_ALL_VALID 0x01
1049 #define GMF_PER_DATASET 0x02
1052 #define GMF_ALPHA 0x04
1055 #define GMF_NODATA 0x08
1056
1060 #define GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED 0x01
1061
1066 #define GDAL_DATA_COVERAGE_STATUS_DATA 0x02
1067
1073 #define GDAL_DATA_COVERAGE_STATUS_EMPTY 0x04
1074
1075 int CPL_DLL CPL_STDCALL GDALGetDataCoverageStatus( GDALRasterBandH hBand,
1076 int nXOff, int nYOff,
1077 int nXSize, int nYSize,
1078 int nMaskFlagStop,
1079 double* pdfDataPct );
1080
1081 /* ==================================================================== */
1082 /* GDALAsyncReader */
1083 /* ==================================================================== */
1084
1085 GDALAsyncStatusType CPL_DLL CPL_STDCALL
1086 GDALARGetNextUpdatedRegion(GDALAsyncReaderH hARIO, double dfTimeout,
1087 int* pnXBufOff, int* pnYBufOff,
1088 int* pnXBufSize, int* pnYBufSize );
1089 int CPL_DLL CPL_STDCALL GDALARLockBuffer(GDALAsyncReaderH hARIO,
1090 double dfTimeout);
1091 void CPL_DLL CPL_STDCALL GDALARUnlockBuffer(GDALAsyncReaderH hARIO);
1092
1093 /* -------------------------------------------------------------------- */
1094 /* Helper functions. */
1095 /* -------------------------------------------------------------------- */
1096 int CPL_DLL CPL_STDCALL GDALGeneralCmdLineProcessor( int nArgc, char ***ppapszArgv,
1097 int nOptions );
1098 void CPL_DLL CPL_STDCALL GDALSwapWords( void *pData, int nWordSize, int nWordCount,
1099 int nWordSkip );
1100 void CPL_DLL CPL_STDCALL GDALSwapWordsEx( void *pData, int nWordSize, size_t nWordCount,
1101 int nWordSkip );
1102
1103 void CPL_DLL CPL_STDCALL
1104 GDALCopyWords( const void * CPL_RESTRICT pSrcData,
1105 GDALDataType eSrcType, int nSrcPixelOffset,
1106 void * CPL_RESTRICT pDstData,
1107 GDALDataType eDstType, int nDstPixelOffset,
1108 int nWordCount );
1109
1110 void CPL_DLL CPL_STDCALL
1111 GDALCopyWords64( const void * CPL_RESTRICT pSrcData,
1112 GDALDataType eSrcType, int nSrcPixelOffset,
1113 void * CPL_RESTRICT pDstData,
1114 GDALDataType eDstType, int nDstPixelOffset,
1115 GPtrDiff_t nWordCount );
1116
1117 void CPL_DLL
1118 GDALCopyBits( const GByte *pabySrcData, int nSrcOffset, int nSrcStep,
1119 GByte *pabyDstData, int nDstOffset, int nDstStep,
1120 int nBitCount, int nStepCount );
1121
1122 int CPL_DLL CPL_STDCALL GDALLoadWorldFile( const char *, double * );
1123 int CPL_DLL CPL_STDCALL GDALReadWorldFile( const char *, const char *,
1124 double * );
1125 int CPL_DLL CPL_STDCALL GDALWriteWorldFile( const char *, const char *,
1126 double * );
1127 int CPL_DLL CPL_STDCALL GDALLoadTabFile( const char *, double *, char **,
1128 int *, GDAL_GCP ** );
1129 int CPL_DLL CPL_STDCALL GDALReadTabFile( const char *, double *, char **,
1130 int *, GDAL_GCP ** );
1131 int CPL_DLL CPL_STDCALL GDALLoadOziMapFile( const char *, double *, char **,
1132 int *, GDAL_GCP ** );
1133 int CPL_DLL CPL_STDCALL GDALReadOziMapFile( const char *, double *,
1134 char **, int *, GDAL_GCP ** );
1135
1136 const char CPL_DLL * CPL_STDCALL GDALDecToDMS( double, const char *, int );
1137 double CPL_DLL CPL_STDCALL GDALPackedDMSToDec( double );
1138 double CPL_DLL CPL_STDCALL GDALDecToPackedDMS( double );
1139
1140 /* Note to developers : please keep this section in sync with ogr_core.h */
1141
1142 #ifndef GDAL_VERSION_INFO_DEFINED
1143 #ifndef DOXYGEN_SKIP
1144 #define GDAL_VERSION_INFO_DEFINED
1145 #endif
1146 const char CPL_DLL * CPL_STDCALL GDALVersionInfo( const char * );
1147 #endif
1148
1149 #ifndef GDAL_CHECK_VERSION
1150
1151 int CPL_DLL CPL_STDCALL GDALCheckVersion( int nVersionMajor, int nVersionMinor,
1152 const char* pszCallingComponentName);
1153
1157 #define GDAL_CHECK_VERSION(pszCallingComponentName) \
1158 GDALCheckVersion(GDAL_VERSION_MAJOR, GDAL_VERSION_MINOR, pszCallingComponentName)
1159
1160 #endif
1161
1163 #ifdef GDAL_COMPILATION
1164 #define GDALExtractRPCInfoV1 GDALExtractRPCInfo
1165 #else
1166 #define GDALRPCInfo GDALRPCInfoV2
1167 #define GDALExtractRPCInfo GDALExtractRPCInfoV2
1168 #endif
1169
1170 /* Deprecated: use GDALRPCInfoV2 */
1171 typedef struct
1172 {
1173 double dfLINE_OFF;
1174 double dfSAMP_OFF;
1175 double dfLAT_OFF;
1176 double dfLONG_OFF;
1177 double dfHEIGHT_OFF;
1179 double dfLINE_SCALE;
1180 double dfSAMP_SCALE;
1181 double dfLAT_SCALE;
1182 double dfLONG_SCALE;
1183 double dfHEIGHT_SCALE;
1185 double adfLINE_NUM_COEFF[20];
1186 double adfLINE_DEN_COEFF[20];
1187 double adfSAMP_NUM_COEFF[20];
1188 double adfSAMP_DEN_COEFF[20];
1190 double dfMIN_LONG;
1191 double dfMIN_LAT;
1192 double dfMAX_LONG;
1193 double dfMAX_LAT;
1194 } GDALRPCInfoV1;
1199 typedef struct
1200 {
1201 double dfLINE_OFF;
1202 double dfSAMP_OFF;
1203 double dfLAT_OFF;
1204 double dfLONG_OFF;
1205 double dfHEIGHT_OFF;
1207 double dfLINE_SCALE;
1208 double dfSAMP_SCALE;
1209 double dfLAT_SCALE;
1210 double dfLONG_SCALE;
1211 double dfHEIGHT_SCALE;
1213 double adfLINE_NUM_COEFF[20];
1214 double adfLINE_DEN_COEFF[20];
1215 double adfSAMP_NUM_COEFF[20];
1216 double adfSAMP_DEN_COEFF[20];
1218 double dfMIN_LONG;
1219 double dfMIN_LAT;
1220 double dfMAX_LONG;
1221 double dfMAX_LAT;
1223 /* Those fields should be at the end. And all above fields should be the same as in GDALRPCInfoV1 */
1224 double dfERR_BIAS;
1225 double dfERR_RAND;
1226 } GDALRPCInfoV2;
1227
1229 int CPL_DLL CPL_STDCALL GDALExtractRPCInfoV1( CSLConstList, GDALRPCInfoV1 * );
1231 int CPL_DLL CPL_STDCALL GDALExtractRPCInfoV2( CSLConstList, GDALRPCInfoV2 * );
1232
1233 /* ==================================================================== */
1234 /* Color tables. */
1235 /* ==================================================================== */
1236
1238 typedef struct
1239 {
1241 short c1;
1242
1244 short c2;
1245
1247 short c3;
1248
1250 short c4;
1251 } GDALColorEntry;
1252
1253 GDALColorTableH CPL_DLL CPL_STDCALL GDALCreateColorTable( GDALPaletteInterp ) CPL_WARN_UNUSED_RESULT;
1254 void CPL_DLL CPL_STDCALL GDALDestroyColorTable( GDALColorTableH );
1255 GDALColorTableH CPL_DLL CPL_STDCALL GDALCloneColorTable( GDALColorTableH );
1256 GDALPaletteInterp CPL_DLL CPL_STDCALL GDALGetPaletteInterpretation( GDALColorTableH );
1257 int CPL_DLL CPL_STDCALL GDALGetColorEntryCount( GDALColorTableH );
1258 const GDALColorEntry CPL_DLL * CPL_STDCALL GDALGetColorEntry( GDALColorTableH, int );
1259 int CPL_DLL CPL_STDCALL GDALGetColorEntryAsRGB( GDALColorTableH, int, GDALColorEntry *);
1260 void CPL_DLL CPL_STDCALL GDALSetColorEntry( GDALColorTableH, int, const GDALColorEntry * );
1261 void CPL_DLL CPL_STDCALL GDALCreateColorRamp( GDALColorTableH hTable,
1262 int nStartIndex, const GDALColorEntry *psStartColor,
1263 int nEndIndex, const GDALColorEntry *psEndColor );
1264
1265 /* ==================================================================== */
1266 /* Raster Attribute Table */
1267 /* ==================================================================== */
1268
1270 typedef enum { GFT_Integer, GFT_Real, GFT_String
1274 } GDALRATFieldType;
1275
1277 typedef enum { 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
1297 } GDALRATFieldUsage;
1298
1302 typedef enum { GRTT_THEMATIC, GRTT_ATHEMATIC
1305 } GDALRATTableType;
1306
1307 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1308 GDALCreateRasterAttributeTable(void) CPL_WARN_UNUSED_RESULT;
1309
1310 void CPL_DLL CPL_STDCALL GDALDestroyRasterAttributeTable(
1311 GDALRasterAttributeTableH );
1312
1313 int CPL_DLL CPL_STDCALL GDALRATGetColumnCount( GDALRasterAttributeTableH );
1314
1315 const char CPL_DLL * CPL_STDCALL GDALRATGetNameOfCol(
1316 GDALRasterAttributeTableH, int );
1317 GDALRATFieldUsage CPL_DLL CPL_STDCALL GDALRATGetUsageOfCol(
1318 GDALRasterAttributeTableH, int );
1319 GDALRATFieldType CPL_DLL CPL_STDCALL GDALRATGetTypeOfCol(
1320 GDALRasterAttributeTableH, int );
1321
1322 int CPL_DLL CPL_STDCALL GDALRATGetColOfUsage( GDALRasterAttributeTableH,
1323 GDALRATFieldUsage );
1324 int CPL_DLL CPL_STDCALL GDALRATGetRowCount( GDALRasterAttributeTableH );
1325
1326 const char CPL_DLL * CPL_STDCALL GDALRATGetValueAsString(
1327 GDALRasterAttributeTableH, int, int);
1328 int CPL_DLL CPL_STDCALL GDALRATGetValueAsInt(
1329 GDALRasterAttributeTableH, int, int);
1330 double CPL_DLL CPL_STDCALL GDALRATGetValueAsDouble(
1331 GDALRasterAttributeTableH, int, int);
1332
1333 void CPL_DLL CPL_STDCALL GDALRATSetValueAsString( GDALRasterAttributeTableH, int, int,
1334 const char * );
1335 void CPL_DLL CPL_STDCALL GDALRATSetValueAsInt( GDALRasterAttributeTableH, int, int,
1336 int );
1337 void CPL_DLL CPL_STDCALL GDALRATSetValueAsDouble( GDALRasterAttributeTableH, int, int,
1338 double );
1339
1340 int CPL_DLL CPL_STDCALL GDALRATChangesAreWrittenToFile( GDALRasterAttributeTableH hRAT );
1341
1342 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsDouble( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1343 int iField, int iStartRow, int iLength, double *pdfData );
1344 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsInteger( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1345 int iField, int iStartRow, int iLength, int *pnData);
1346 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsString( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1347 int iField, int iStartRow, int iLength, CSLConstList papszStrList);
1348
1349 void CPL_DLL CPL_STDCALL GDALRATSetRowCount( GDALRasterAttributeTableH,
1350 int );
1351 CPLErr CPL_DLL CPL_STDCALL GDALRATCreateColumn( GDALRasterAttributeTableH,
1352 const char *,
1353 GDALRATFieldType,
1354 GDALRATFieldUsage );
1355 CPLErr CPL_DLL CPL_STDCALL GDALRATSetLinearBinning( GDALRasterAttributeTableH,
1356 double, double );
1357 int CPL_DLL CPL_STDCALL GDALRATGetLinearBinning( GDALRasterAttributeTableH,
1358 double *, double * );
1359 CPLErr CPL_DLL CPL_STDCALL GDALRATSetTableType( GDALRasterAttributeTableH hRAT,
1360 const GDALRATTableType eInTableType );
1361 GDALRATTableType CPL_DLL CPL_STDCALL GDALRATGetTableType( GDALRasterAttributeTableH hRAT);
1362 CPLErr CPL_DLL CPL_STDCALL GDALRATInitializeFromColorTable(
1363 GDALRasterAttributeTableH, GDALColorTableH );
1364 GDALColorTableH CPL_DLL CPL_STDCALL GDALRATTranslateToColorTable(
1365 GDALRasterAttributeTableH, int nEntryCount );
1366 void CPL_DLL CPL_STDCALL GDALRATDumpReadable( GDALRasterAttributeTableH,
1367 FILE * );
1368 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1369 GDALRATClone( const GDALRasterAttributeTableH );
1370
1371 void CPL_DLL* CPL_STDCALL
1372 GDALRATSerializeJSON( GDALRasterAttributeTableH ) CPL_WARN_UNUSED_RESULT;
1373
1374 int CPL_DLL CPL_STDCALL GDALRATGetRowOfValue( GDALRasterAttributeTableH, double );
1375 void CPL_DLL CPL_STDCALL GDALRATRemoveStatistics( GDALRasterAttributeTableH );
1376
1377 /* ==================================================================== */
1378 /* GDAL Cache Management */
1379 /* ==================================================================== */
1380
1381 void CPL_DLL CPL_STDCALL GDALSetCacheMax( int nBytes );
1382 int CPL_DLL CPL_STDCALL GDALGetCacheMax(void);
1383 int CPL_DLL CPL_STDCALL GDALGetCacheUsed(void);
1384 void CPL_DLL CPL_STDCALL GDALSetCacheMax64( GIntBig nBytes );
1385 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheMax64(void);
1386 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheUsed64(void);
1387
1388 int CPL_DLL CPL_STDCALL GDALFlushCacheBlock(void);
1389
1390 /* ==================================================================== */
1391 /* GDAL virtual memory */
1392 /* ==================================================================== */
1393
1394 CPLVirtualMem CPL_DLL* GDALDatasetGetVirtualMem( GDALDatasetH hDS,
1395 GDALRWFlag eRWFlag,
1396 int nXOff, int nYOff,
1397 int nXSize, int nYSize,
1398 int nBufXSize, int nBufYSize,
1399 GDALDataType eBufType,
1400 int nBandCount, int* panBandMap,
1401 int nPixelSpace,
1402 GIntBig nLineSpace,
1403 GIntBig nBandSpace,
1404 size_t nCacheSize,
1405 size_t nPageSizeHint,
1406 int bSingleThreadUsage,
1407 CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1408
1409 CPLVirtualMem CPL_DLL* GDALRasterBandGetVirtualMem( GDALRasterBandH hBand,
1410 GDALRWFlag eRWFlag,
1411 int nXOff, int nYOff,
1412 int nXSize, int nYSize,
1413 int nBufXSize, int nBufYSize,
1414 GDALDataType eBufType,
1415 int nPixelSpace,
1416 GIntBig nLineSpace,
1417 size_t nCacheSize,
1418 size_t nPageSizeHint,
1419 int bSingleThreadUsage,
1420 CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1421
1422 CPLVirtualMem CPL_DLL* GDALGetVirtualMemAuto( GDALRasterBandH hBand,
1423 GDALRWFlag eRWFlag,
1424 int *pnPixelSpace,
1425 GIntBig *pnLineSpace,
1426 CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1427
1429 typedef enum
1430 {
1432 GTO_TIP,
1434 GTO_BIT,
1436 GTO_BSQ
1437 } GDALTileOrganization;
1438
1439 CPLVirtualMem CPL_DLL* GDALDatasetGetTiledVirtualMem( GDALDatasetH hDS,
1440 GDALRWFlag eRWFlag,
1441 int nXOff, int nYOff,
1442 int nXSize, int nYSize,
1443 int nTileXSize, int nTileYSize,
1444 GDALDataType eBufType,
1445 int nBandCount, int* panBandMap,
1446 GDALTileOrganization eTileOrganization,
1447 size_t nCacheSize,
1448 int bSingleThreadUsage,
1449 CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1450
1451 CPLVirtualMem CPL_DLL* GDALRasterBandGetTiledVirtualMem( GDALRasterBandH hBand,
1452 GDALRWFlag eRWFlag,
1453 int nXOff, int nYOff,
1454 int nXSize, int nYSize,
1455 int nTileXSize, int nTileYSize,
1456 GDALDataType eBufType,
1457 size_t nCacheSize,
1458 int bSingleThreadUsage,
1459 CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1460
1461 /* ==================================================================== */
1462 /* VRTPansharpenedDataset class. */
1463 /* ==================================================================== */
1464
1465 GDALDatasetH CPL_DLL GDALCreatePansharpenedVRT( const char* pszXML,
1466 GDALRasterBandH hPanchroBand,
1467 int nInputSpectralBands,
1468 GDALRasterBandH* pahInputSpectralBands ) CPL_WARN_UNUSED_RESULT;
1469
1470 /* =================================================================== */
1471 /* Misc API */
1472 /* ==================================================================== */
1473
1474 CPLXMLNode CPL_DLL* GDALGetJPEG2000Structure(const char* pszFilename,
1475 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1476
1477 /* ==================================================================== */
1478 /* Multidimensional API_api */
1479 /* ==================================================================== */
1480
1481 GDALDatasetH CPL_DLL GDALCreateMultiDimensional( GDALDriverH hDriver,
1482 const char * pszName,
1483 CSLConstList papszRootGroupOptions,
1484 CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1485
1486 GDALExtendedDataTypeH CPL_DLL GDALExtendedDataTypeCreate(GDALDataType eType) CPL_WARN_UNUSED_RESULT;
1487 GDALExtendedDataTypeH CPL_DLL GDALExtendedDataTypeCreateString(size_t nMaxStringLength) CPL_WARN_UNUSED_RESULT;
1488 GDALExtendedDataTypeH CPL_DLL GDALExtendedDataTypeCreateCompound(
1489 const char* pszName, size_t nTotalSize,
1490 size_t nComponents, const GDALEDTComponentH* comps) CPL_WARN_UNUSED_RESULT;
1491 void CPL_DLL GDALExtendedDataTypeRelease(GDALExtendedDataTypeH hEDT);
1492 const char CPL_DLL* GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT);
1493 GDALExtendedDataTypeClass CPL_DLL GDALExtendedDataTypeGetClass(GDALExtendedDataTypeH hEDT);
1494 GDALDataType CPL_DLL GDALExtendedDataTypeGetNumericDataType(GDALExtendedDataTypeH hEDT);
1495 size_t CPL_DLL GDALExtendedDataTypeGetSize(GDALExtendedDataTypeH hEDT);
1496 size_t CPL_DLL GDALExtendedDataTypeGetMaxStringLength(GDALExtendedDataTypeH hEDT);
1497 GDALEDTComponentH CPL_DLL *GDALExtendedDataTypeGetComponents(GDALExtendedDataTypeH hEDT, size_t* pnCount) CPL_WARN_UNUSED_RESULT;
1498 void CPL_DLL GDALExtendedDataTypeFreeComponents(GDALEDTComponentH* components, size_t nCount);
1499 int CPL_DLL GDALExtendedDataTypeCanConvertTo(GDALExtendedDataTypeH hSourceEDT,
1500 GDALExtendedDataTypeH hTargetEDT);
1501 int CPL_DLL GDALExtendedDataTypeEquals(GDALExtendedDataTypeH hFirstEDT,
1502 GDALExtendedDataTypeH hSecondEDT);
1503
1504 GDALEDTComponentH CPL_DLL GDALEDTComponentCreate(const char* pszName, size_t nOffset, GDALExtendedDataTypeH hType) CPL_WARN_UNUSED_RESULT;
1505 void CPL_DLL GDALEDTComponentRelease(GDALEDTComponentH hComp);
1506 const char CPL_DLL* GDALEDTComponentGetName(GDALEDTComponentH hComp);
1507 size_t CPL_DLL GDALEDTComponentGetOffset(GDALEDTComponentH hComp);
1508 GDALExtendedDataTypeH CPL_DLL GDALEDTComponentGetType(GDALEDTComponentH hComp) CPL_WARN_UNUSED_RESULT;
1509
1510 GDALGroupH CPL_DLL GDALDatasetGetRootGroup(GDALDatasetH hDS) CPL_WARN_UNUSED_RESULT;
1511 void CPL_DLL GDALGroupRelease(GDALGroupH hGroup);
1512 const char CPL_DLL *GDALGroupGetName(GDALGroupH hGroup);
1513 const char CPL_DLL *GDALGroupGetFullName(GDALGroupH hGroup);
1514 char CPL_DLL **GDALGroupGetMDArrayNames(GDALGroupH hGroup, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1515 GDALMDArrayH CPL_DLL GDALGroupOpenMDArray(GDALGroupH hGroup, const char* pszMDArrayName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1516 GDALMDArrayH CPL_DLL GDALGroupOpenMDArrayFromFullname(GDALGroupH hGroup, const char* pszMDArrayName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1517 GDALMDArrayH CPL_DLL GDALGroupResolveMDArray(GDALGroupH hGroup,
1518 const char* pszName,
1519 const char* pszStartingPoint,
1520 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1521 char CPL_DLL **GDALGroupGetGroupNames(GDALGroupH hGroup, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1522 GDALGroupH CPL_DLL GDALGroupOpenGroup(GDALGroupH hGroup, const char* pszSubGroupName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1523 GDALGroupH CPL_DLL GDALGroupOpenGroupFromFullname(GDALGroupH hGroup, const char* pszMDArrayName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1524 GDALDimensionH CPL_DLL *GDALGroupGetDimensions(GDALGroupH hGroup, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1525 GDALAttributeH CPL_DLL GDALGroupGetAttribute(GDALGroupH hGroup, const char* pszName) CPL_WARN_UNUSED_RESULT;
1526 GDALAttributeH CPL_DLL *GDALGroupGetAttributes(GDALGroupH hGroup, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1527 CSLConstList CPL_DLL GDALGroupGetStructuralInfo(GDALGroupH hGroup);
1528 GDALGroupH CPL_DLL GDALGroupCreateGroup(GDALGroupH hGroup,
1529 const char* pszSubGroupName,
1530 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1531 GDALDimensionH CPL_DLL GDALGroupCreateDimension(GDALGroupH hGroup,
1532 const char* pszName,
1533 const char* pszType,
1534 const char* pszDirection,
1535 GUInt64 nSize,
1536 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1537 GDALMDArrayH CPL_DLL GDALGroupCreateMDArray(GDALGroupH hGroup,
1538 const char* pszName,
1539 size_t nDimensions,
1540 GDALDimensionH* pahDimensions,
1541 GDALExtendedDataTypeH hEDT,
1542 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1543 GDALAttributeH CPL_DLL GDALGroupCreateAttribute(GDALGroupH hGroup,
1544 const char* pszName,
1545 size_t nDimensions,
1546 const GUInt64* panDimensions,
1547 GDALExtendedDataTypeH hEDT,
1548 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1549
1550 void CPL_DLL GDALMDArrayRelease(GDALMDArrayH hMDArray);
1551 const char CPL_DLL* GDALMDArrayGetName(GDALMDArrayH hArray);
1552 const char CPL_DLL* GDALMDArrayGetFullName(GDALMDArrayH hArray);
1553 GUInt64 CPL_DLL GDALMDArrayGetTotalElementsCount(GDALMDArrayH hArray);
1554 size_t CPL_DLL GDALMDArrayGetDimensionCount(GDALMDArrayH hArray);
1555 GDALDimensionH CPL_DLL* GDALMDArrayGetDimensions(GDALMDArrayH hArray, size_t *pnCount) CPL_WARN_UNUSED_RESULT;
1556 GDALExtendedDataTypeH CPL_DLL GDALMDArrayGetDataType(GDALMDArrayH hArray) CPL_WARN_UNUSED_RESULT;
1557 int CPL_DLL GDALMDArrayRead(GDALMDArrayH hArray,
1558 const GUInt64* arrayStartIdx,
1559 const size_t* count,
1560 const GInt64* arrayStep,
1561 const GPtrDiff_t* bufferStride,
1562 GDALExtendedDataTypeH bufferDatatype,
1563 void* pDstBuffer,
1564 const void* pDstBufferAllocStart,
1565 size_t nDstBufferllocSize);
1566 int CPL_DLL GDALMDArrayWrite(GDALMDArrayH hArray,
1567 const GUInt64* arrayStartIdx,
1568 const size_t* count,
1569 const GInt64* arrayStep,
1570 const GPtrDiff_t* bufferStride,
1571 GDALExtendedDataTypeH bufferDatatype,
1572 const void* pSrcBuffer,
1573 const void* psrcBufferAllocStart,
1574 size_t nSrcBufferllocSize);
1575 int CPL_DLL GDALMDArrayAdviseRead(GDALMDArrayH hArray,
1576 const GUInt64* arrayStartIdx,
1577 const size_t* count);
1578 GDALAttributeH CPL_DLL GDALMDArrayGetAttribute(GDALMDArrayH hArray, const char* pszName) CPL_WARN_UNUSED_RESULT;
1579 GDALAttributeH CPL_DLL *GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1580 GDALAttributeH CPL_DLL GDALMDArrayCreateAttribute(GDALMDArrayH hArray,
1581 const char* pszName,
1582 size_t nDimensions,
1583 const GUInt64* panDimensions,
1584 GDALExtendedDataTypeH hEDT,
1585 CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1586 const void CPL_DLL *GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray);
1587 double CPL_DLL GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray,
1588 int* pbHasNoDataValue);
1589 int CPL_DLL GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void*);
1590 int CPL_DLL GDALMDArraySetNoDataValueAsDouble(GDALMDArrayH hArray,
1591 double dfNoDataValue);
1592 int CPL_DLL GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale);
1593 int CPL_DLL GDALMDArraySetScaleEx(GDALMDArrayH hArray, double dfScale, GDALDataType eStorageType);
1594 double CPL_DLL GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue);
1595 double CPL_DLL GDALMDArrayGetScaleEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType* peStorageType);
1596 int CPL_DLL GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset);
1597 int CPL_DLL GDALMDArraySetOffsetEx(GDALMDArrayH hArray, double dfOffset, GDALDataType eStorageType);
1598 double CPL_DLL GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue);
1599 double CPL_DLL GDALMDArrayGetOffsetEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType* peStorageType);
1600 GUInt64 CPL_DLL *GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount);
1601 int CPL_DLL GDALMDArraySetUnit(GDALMDArrayH hArray, const char*);
1602 const char CPL_DLL *GDALMDArrayGetUnit(GDALMDArrayH hArray);
1603 int CPL_DLL GDALMDArraySetSpatialRef( GDALMDArrayH, OGRSpatialReferenceH );
1604 OGRSpatialReferenceH CPL_DLL GDALMDArrayGetSpatialRef(GDALMDArrayH hArray);
1605 size_t CPL_DLL *GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray, size_t *pnCount,
1606 size_t nMaxChunkMemory);
1607 CSLConstList CPL_DLL GDALMDArrayGetStructuralInfo(GDALMDArrayH hArray);
1608 GDALMDArrayH CPL_DLL GDALMDArrayGetView(GDALMDArrayH hArray, const char* pszViewExpr);
1609 GDALMDArrayH CPL_DLL GDALMDArrayTranspose(GDALMDArrayH hArray,
1610 size_t nNewAxisCount,
1611 const int *panMapNewAxisToOldAxis);
1612 GDALMDArrayH CPL_DLL GDALMDArrayGetUnscaled(GDALMDArrayH hArray);
1613 GDALMDArrayH CPL_DLL GDALMDArrayGetMask(GDALMDArrayH hArray, CSLConstList papszOptions);
1614 GDALDatasetH CPL_DLL GDALMDArrayAsClassicDataset(GDALMDArrayH hArray,
1615 size_t iXDim, size_t iYDim);
1616 CPLErr CPL_DLL GDALMDArrayGetStatistics(
1617 GDALMDArrayH hArray, GDALDatasetH, int bApproxOK, int bForce,
1618 double *pdfMin, double *pdfMax,
1619 double *pdfMean, double *pdfStdDev,
1620 GUInt64* pnValidCount,
1621 GDALProgressFunc pfnProgress, void *pProgressData );
1622 int CPL_DLL GDALMDArrayComputeStatistics( GDALMDArrayH hArray, GDALDatasetH,
1623 int bApproxOK,
1624 double *pdfMin, double *pdfMax,
1625 double *pdfMean, double *pdfStdDev,
1626 GUInt64* pnValidCount,
1627 GDALProgressFunc, void *pProgressData );
1628
1629 void CPL_DLL GDALAttributeRelease(GDALAttributeH hAttr);
1630 void CPL_DLL GDALReleaseAttributes(GDALAttributeH* attributes, size_t nCount);
1631 const char CPL_DLL* GDALAttributeGetName(GDALAttributeH hAttr);
1632 const char CPL_DLL* GDALAttributeGetFullName(GDALAttributeH hAttr);
1633 GUInt64 CPL_DLL GDALAttributeGetTotalElementsCount(GDALAttributeH hAttr);
1634 size_t CPL_DLL GDALAttributeGetDimensionCount(GDALAttributeH hAttr);
1635 GUInt64 CPL_DLL* GDALAttributeGetDimensionsSize(GDALAttributeH hAttr, size_t *pnCount) CPL_WARN_UNUSED_RESULT;
1636 GDALExtendedDataTypeH CPL_DLL GDALAttributeGetDataType(GDALAttributeH hAttr) CPL_WARN_UNUSED_RESULT;
1637 GByte CPL_DLL *GDALAttributeReadAsRaw(GDALAttributeH hAttr, size_t *pnSize) CPL_WARN_UNUSED_RESULT;
1638 void CPL_DLL GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte* raw, size_t nSize);
1639 const char CPL_DLL* GDALAttributeReadAsString(GDALAttributeH hAttr);
1640 int CPL_DLL GDALAttributeReadAsInt(GDALAttributeH hAttr);
1641 double CPL_DLL GDALAttributeReadAsDouble(GDALAttributeH hAttr);
1642 char CPL_DLL **GDALAttributeReadAsStringArray(GDALAttributeH hAttr) CPL_WARN_UNUSED_RESULT;
1643 int CPL_DLL *GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t* pnCount) CPL_WARN_UNUSED_RESULT;
1644 double CPL_DLL *GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr, size_t* pnCount) CPL_WARN_UNUSED_RESULT;
1645 int CPL_DLL GDALAttributeWriteRaw(GDALAttributeH hAttr, const void*, size_t);
1646 int CPL_DLL GDALAttributeWriteString(GDALAttributeH hAttr, const char*);
1647 int CPL_DLL GDALAttributeWriteStringArray(GDALAttributeH hAttr, CSLConstList);
1648 int CPL_DLL GDALAttributeWriteInt(GDALAttributeH hAttr, int);
1649 int CPL_DLL GDALAttributeWriteDouble(GDALAttributeH hAttr, double);
1650 int CPL_DLL GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double*, size_t);
1651
1652 void CPL_DLL GDALDimensionRelease(GDALDimensionH hDim);
1653 void CPL_DLL GDALReleaseDimensions(GDALDimensionH* dims, size_t nCount);
1654 const char CPL_DLL *GDALDimensionGetName(GDALDimensionH hDim);
1655 const char CPL_DLL *GDALDimensionGetFullName(GDALDimensionH hDim);
1656 const char CPL_DLL *GDALDimensionGetType(GDALDimensionH hDim);
1657 const char CPL_DLL *GDALDimensionGetDirection(GDALDimensionH hDim);
1658 GUInt64 CPL_DLL GDALDimensionGetSize(GDALDimensionH hDim);
1659 GDALMDArrayH CPL_DLL GDALDimensionGetIndexingVariable(GDALDimensionH hDim) CPL_WARN_UNUSED_RESULT;
1660 int CPL_DLL GDALDimensionSetIndexingVariable(GDALDimensionH hDim, GDALMDArrayH hArray);
1661
1662 CPL_C_END
1663
1664 #endif /* ndef GDAL_H_INCLUDED */
cpl_error.h
CPL error handling services.
CPLErr
CPLErr
Error category.
Definition: cpl_error.h:53
cpl_minixml.h
Definitions for CPL mini XML Parser/Serializer.
cpl_port.h
Core portability definitions for CPL.
CPL_RESTRICT
#define CPL_RESTRICT
restrict keyword to declare that pointers do not alias
Definition: cpl_port.h:987
GUIntBig
unsigned long long GUIntBig
Large unsigned integer type (generally 64-bit unsigned integer type).
Definition: cpl_port.h:251
CPL_C_END
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
GInt64
GIntBig GInt64
Signed 64 bit integer type.
Definition: cpl_port.h:267
GPtrDiff_t
GIntBig GPtrDiff_t
Integer type large enough to hold the difference between 2 addresses.
Definition: cpl_port.h:286
CSLConstList
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1216
GUInt64
GUIntBig GUInt64
Unsigned 64 bit integer type.
Definition: cpl_port.h:269
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:946
GByte
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:215
GIntBig
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:248
cpl_virtualmem.h
Virtual memory management.
CPLVirtualMem
struct CPLVirtualMem CPLVirtualMem
Opaque type that represents a virtual memory mapping.
Definition: cpl_virtualmem.h:62
GSpacing
GIntBig GSpacing
Type to express pixel, line or band spacing.
Definition: gdal.h:286
GDALGetOverview
GDALRasterBandH GDALGetOverview(GDALRasterBandH, int)
Fetch overview raster band object.
Definition: gdalrasterband.cpp:2245
GDALMDArrayGetFullName
const char * GDALMDArrayGetFullName(GDALMDArrayH hArray)
Return array full name.
Definition: gdalmultidim.cpp:7607
GDALDatasetCopyWholeRaster
CPLErr GDALDatasetCopyWholeRaster(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy all dataset raster data.
Definition: rasterio.cpp:4640
GDALRATTableType
GDALRATTableType
RAT table type (thematic or athematic)
Definition: gdal.h:1302
GRTT_THEMATIC
@ GRTT_THEMATIC
Definition: gdal.h:1303
GRTT_ATHEMATIC
@ GRTT_ATHEMATIC
Definition: gdal.h:1304
GDALAccess
GDALAccess
Definition: gdal.h:115
GA_ReadOnly
@ GA_ReadOnly
Definition: gdal.h:116
GA_Update
@ GA_Update
Definition: gdal.h:117
GDALIdentifyDriver
GDALDriverH GDALIdentifyDriver(const char *pszFilename, CSLConstList papszFileList)
Identify the driver that can open a raster file.
Definition: gdaldriver.cpp:2101
GDALSetColorEntry
void GDALSetColorEntry(GDALColorTableH, int, const GDALColorEntry *)
Set entry in color table.
Definition: gdalcolortable.cpp:245
GDALSetRasterScale
CPLErr GDALSetRasterScale(GDALRasterBandH hBand, double dfNewOffset)
Set scaling ratio.
Definition: gdalrasterband.cpp:2601
GDALRATSetLinearBinning
CPLErr GDALRATSetLinearBinning(GDALRasterAttributeTableH, double, double)
Set linear binning information.
Definition: gdal_rat.cpp:504
GDALDimensionH
struct GDALDimensionHS * GDALDimensionH
Opaque type for C++ GDALDimension.
Definition: gdal.h:311
GDALDatasetGetLayerByName
OGRLayerH GDALDatasetGetLayerByName(GDALDatasetH, const char *)
Fetch a layer by name.
Definition: gdaldataset.cpp:4383
GDALWriteBlock
CPLErr GDALWriteBlock(GDALRasterBandH, int, int, void *)
Write a block of image data efficiently.
Definition: gdalrasterband.cpp:722
GDALCreate
GDALDatasetH GDALCreate(GDALDriverH hDriver, const char *, int, int, int, GDALDataType, CSLConstList)
Create a new dataset with this driver.
Definition: gdaldriver.cpp:275
GDALGetRasterNoDataValue
double GDALGetRasterNoDataValue(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1635
GDALMDArraySetRawNoDataValue
int GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void *)
Set the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:7962
GDALGetDataTypeSizeBits
int GDALGetDataTypeSizeBits(GDALDataType eDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:350
GDALDatasetClearStatistics
void GDALDatasetClearStatistics(GDALDatasetH hDS)
Clear statistics.
Definition: gdaldataset.cpp:8291
GDALClose
void GDALClose(GDALDatasetH)
Close GDAL dataset.
Definition: gdaldataset.cpp:3665
GDALGetRandomRasterSample
int GDALGetRandomRasterSample(GDALRasterBandH, int, float *)
Undocumented.
Definition: gdal_misc.cpp:1012
GDALGetCacheUsed
int GDALGetCacheUsed(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:325
GDALAttributeH
struct GDALAttributeHS * GDALAttributeH
Opaque type for C++ GDALAttribute.
Definition: gdal.h:309
GDALRATGetRowOfValue
int GDALRATGetRowOfValue(GDALRasterAttributeTableH, double)
Get row for pixel value.
Definition: gdal_rat.cpp:378
GDALMDArrayGetUnit
const char * GDALMDArrayGetUnit(GDALMDArrayH hArray)
Return the array unit.
Definition: gdalmultidim.cpp:8391
GDALSetCacheMax64
void GDALSetCacheMax64(GIntBig nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:146
GDALRasterBandAsMDArray
GDALMDArrayH GDALRasterBandAsMDArray(GDALRasterBandH)
Return a view of this raster band as a 2D multidimensional GDALMDArray.
Definition: gdalmultidim.cpp:9101
GDALDatasetAddFieldDomain
bool GDALDatasetAddFieldDomain(GDALDatasetH hDS, OGRFieldDomainH hFieldDomain, char **ppszFailureReason)
Add a field domain to the dataset.
Definition: gdaldataset.cpp:8389
GDALGetDatasetDriver
GDALDriverH GDALGetDatasetDriver(GDALDatasetH)
Fetch the driver to which this dataset relates.
Definition: gdaldataset.cpp:1313
GDALGroupGetAttribute
GDALAttributeH GDALGroupGetAttribute(GDALGroupH hGroup, const char *pszName)
Return an attribute by its name.
Definition: gdalmultidim.cpp:7372
GDALRATSetValueAsDouble
void GDALRATSetValueAsDouble(GDALRasterAttributeTableH, int, int, double)
Set field value from double.
Definition: gdal_rat.cpp:1896
GDALGroupOpenMDArray
GDALMDArrayH GDALGroupOpenMDArray(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a multidimensional array.
Definition: gdalmultidim.cpp:7199
GDALGetMaskFlags
int GDALGetMaskFlags(GDALRasterBandH hBand)
Return the status flags of the mask band associated with the band.
Definition: gdalrasterband.cpp:6241
GDALSetProjection
CPLErr GDALSetProjection(GDALDatasetH, const char *)
Set the projection reference string for this dataset.
Definition: gdaldataset.cpp:1123
GDALRasterBandCopyWholeRaster
CPLErr GDALRasterBandCopyWholeRaster(GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand, const char *const *constpapszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy a whole raster band.
Definition: rasterio.cpp:4967
GDALGetAsyncStatusTypeByName
GDALAsyncStatusType GDALGetAsyncStatusTypeByName(const char *)
Get AsyncStatusType by symbolic name.
Definition: gdal_misc.cpp:790
GDALRATSetValueAsString
void GDALRATSetValueAsString(GDALRasterAttributeTableH, int, int, const char *)
Set field value from string.
Definition: gdal_rat.cpp:1758
GDALMDArrayGetTotalElementsCount
GUInt64 GDALMDArrayGetTotalElementsCount(GDALMDArrayH hArray)
Return the total number of values in the array.
Definition: gdalmultidim.cpp:7621
GDALGetSpatialRef
OGRSpatialReferenceH GDALGetSpatialRef(GDALDatasetH)
Fetch the spatial reference for this dataset.
Definition: gdaldataset.cpp:931
GDALSwapWordsEx
void GDALSwapWordsEx(void *pData, int nWordSize, size_t nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:2149
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:7244
GDALGetOverviewCount
int GDALGetOverviewCount(GDALRasterBandH)
Return the number of overview layers available.
Definition: gdalrasterband.cpp:2203
GDALAttributeRelease
void GDALAttributeRelease(GDALAttributeH hAttr)
Release the GDAL in-memory object associated with a GDALAttribute.
Definition: gdalmultidim.cpp:8498
GDALGetBlockSize
void GDALGetBlockSize(GDALRasterBandH, int *pnXSize, int *pnYSize)
Fetch the "natural" block size of this band.
Definition: gdalrasterband.cpp:905
GDALMDArrayGetView
GDALMDArrayH GDALMDArrayGetView(GDALMDArrayH hArray, const char *pszViewExpr)
Return a view of the array using slicing or field access.
Definition: gdalmultidim.cpp:8262
GDALPaletteInterp
GDALPaletteInterp
Definition: gdal.h:230
GPI_CMYK
@ GPI_CMYK
Definition: gdal.h:233
GPI_HLS
@ GPI_HLS
Definition: gdal.h:234
GPI_Gray
@ GPI_Gray
Definition: gdal.h:231
GPI_RGB
@ GPI_RGB
Definition: gdal.h:232
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:3418
GDALSetDescription
void GDALSetDescription(GDALMajorObjectH, const char *)
Set object description.
Definition: gdalmajorobject.cpp:136
GDALDimensionRelease
void GDALDimensionRelease(GDALDimensionH hDim)
Release the GDAL in-memory object associated with a GDALDimension.
Definition: gdalmultidim.cpp:8942
GDALGetRasterCount
int GDALGetRasterCount(GDALDatasetH)
Fetch the number of raster bands on this dataset.
Definition: gdaldataset.cpp:819
GDALGetRasterSampleOverviewEx
GDALRasterBandH GDALGetRasterSampleOverviewEx(GDALRasterBandH, GUIntBig)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2342
GDALAttributeGetDimensionCount
size_t GDALAttributeGetDimensionCount(GDALAttributeH hAttr)
Return the number of dimensions.
Definition: gdalmultidim.cpp:8557
GDALGetRasterStatistics
CPLErr GDALGetRasterStatistics(GDALRasterBandH, int bApproxOK, int bForce, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev)
Fetch image statistics.
Definition: gdalrasterband.cpp:3834
GDALRATInitializeFromColorTable
CPLErr GDALRATInitializeFromColorTable(GDALRasterAttributeTableH, GDALColorTableH)
Initialize from color table.
Definition: gdal_rat.cpp:999
GDALAttributeReadAsIntArray
int * GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of integers.
Definition: gdalmultidim.cpp:8752
GDALMDArrayGetDimensionCount
size_t GDALMDArrayGetDimensionCount(GDALMDArrayH hArray)
Return the number of dimensions.
Definition: gdalmultidim.cpp:7635
GDALGroupGetFullName
const char * GDALGroupGetFullName(GDALGroupH hGroup)
Return the full name of the group.
Definition: gdalmultidim.cpp:7161
GDALGetCacheUsed64
GIntBig GDALGetCacheUsed64(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:355
GDALDatasetSetStyleTableDirectly
void GDALDatasetSetStyleTableDirectly(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4786
GDALRATGetNameOfCol
const char * GDALRATGetNameOfCol(GDALRasterAttributeTableH, int)
Fetch name of indicated column.
Definition: gdal_rat.cpp:1314
GDALDataType
GDALDataType
Definition: gdal.h:62
GDT_UInt32
@ GDT_UInt32
Definition: gdal.h:67
GDT_CInt32
@ GDT_CInt32
Definition: gdal.h:74
GDT_Byte
@ GDT_Byte
Definition: gdal.h:64
GDT_CFloat32
@ GDT_CFloat32
Definition: gdal.h:76
GDT_CFloat64
@ GDT_CFloat64
Definition: gdal.h:77
GDT_Float64
@ GDT_Float64
Definition: gdal.h:72
GDT_UInt16
@ GDT_UInt16
Definition: gdal.h:65
GDT_Int16
@ GDT_Int16
Definition: gdal.h:66
GDT_CInt16
@ GDT_CInt16
Definition: gdal.h:73
GDT_Int32
@ GDT_Int32
Definition: gdal.h:68
GDT_Unknown
@ GDT_Unknown
Definition: gdal.h:63
GDT_Float32
@ GDT_Float32
Definition: gdal.h:71
GDALGetRasterOffset
double GDALGetRasterOffset(GDALRasterBandH, int *pbSuccess)
Fetch the raster value offset.
Definition: gdalrasterband.cpp:2444
GDALDatasetCommitTransaction
OGRErr GDALDatasetCommitTransaction(GDALDatasetH hDS)
For datasources which support transactions, CommitTransaction commits a transaction.
Definition: gdaldataset.cpp:7381
GDALDatasetH
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:268
GDALHasArbitraryOverviews
int GDALHasArbitraryOverviews(GDALRasterBandH)
Check for arbitrary overviews.
Definition: gdalrasterband.cpp:2163
GDALMDArrayGetRawNoDataValue
const void * GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray)
Return the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:7911
GDALGetMetadata
char ** GDALGetMetadata(GDALMajorObjectH, const char *)
Fetch metadata.
Definition: gdalmajorobject.cpp:266
GDALGetAccess
int GDALGetAccess(GDALDatasetH hDS)
Return access flag.
Definition: gdaldataset.cpp:2731
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:7346
GDALGetRasterBandXSize
int GDALGetRasterBandXSize(GDALRasterBandH)
Fetch XSize of raster.
Definition: gdalrasterband.cpp:2733
GDALRATGetUsageOfCol
GDALRATFieldUsage GDALRATGetUsageOfCol(GDALRasterAttributeTableH, int)
Fetch column usage value.
Definition: gdal_rat.cpp:1357
GDALAttributeReadAsInt
int GDALAttributeReadAsInt(GDALAttributeH hAttr)
Return the value of an attribute as a integer.
Definition: gdalmultidim.cpp:8698
GDALExtendedDataTypeCreate
GDALExtendedDataTypeH GDALExtendedDataTypeCreate(GDALDataType eType)
Return a new GDALExtendedDataType of class GEDTC_NUMERIC.
Definition: gdalmultidim.cpp:6809
GDALRATFieldUsage
GDALRATFieldUsage
Field usage of raster attribute table.
Definition: gdal.h:1277
GFU_Min
@ GFU_Min
Definition: gdal.h:1281
GFU_AlphaMin
@ GFU_AlphaMin
Definition: gdal.h:1291
GFU_GreenMin
@ GFU_GreenMin
Definition: gdal.h:1289
GFU_Red
@ GFU_Red
Definition: gdal.h:1284
GFU_Alpha
@ GFU_Alpha
Definition: gdal.h:1287
GFU_MaxCount
@ GFU_MaxCount
Definition: gdal.h:1296
GFU_MinMax
@ GFU_MinMax
Definition: gdal.h:1283
GFU_RedMin
@ GFU_RedMin
Definition: gdal.h:1288
GFU_GreenMax
@ GFU_GreenMax
Definition: gdal.h:1293
GFU_Name
@ GFU_Name
Definition: gdal.h:1280
GFU_BlueMax
@ GFU_BlueMax
Definition: gdal.h:1294
GFU_BlueMin
@ GFU_BlueMin
Definition: gdal.h:1290
GFU_RedMax
@ GFU_RedMax
Definition: gdal.h:1292
GFU_Green
@ GFU_Green
Definition: gdal.h:1285
GFU_Blue
@ GFU_Blue
Definition: gdal.h:1286
GFU_AlphaMax
@ GFU_AlphaMax
Definition: gdal.h:1295
GFU_PixelCount
@ GFU_PixelCount
Definition: gdal.h:1279
GFU_Generic
@ GFU_Generic
Definition: gdal.h:1278
GFU_Max
@ GFU_Max
Definition: gdal.h:1282
GDALGetRasterScale
double GDALGetRasterScale(GDALRasterBandH, int *pbSuccess)
Fetch the raster value scale.
Definition: gdalrasterband.cpp:2550
GDALGetColorEntryCount
int GDALGetColorEntryCount(GDALColorTableH)
Get number of color entries in table.
Definition: gdalcolortable.cpp:317
GDALGetRasterBand
GDALRasterBandH GDALGetRasterBand(GDALDatasetH, int)
Fetch a band object for a dataset.
Definition: gdaldataset.cpp:786
GDALGetRasterAccess
GDALAccess GDALGetRasterAccess(GDALRasterBandH)
Find out if we have update permission for this band.
Definition: gdalrasterband.cpp:1485
GDALComputeRasterMinMax
void GDALComputeRasterMinMax(GDALRasterBandH hBand, int bApproxOK, double adfMinMax[2])
Compute the min/max values for a band.
Definition: gdalrasterband.cpp:5701
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:1669
GDALGeneralCmdLineProcessor
int GDALGeneralCmdLineProcessor(int nArgc, char ***ppapszArgv, int nOptions)
General utility option processing.
Definition: gdal_misc.cpp:2862
GDALRATChangesAreWrittenToFile
int GDALRATChangesAreWrittenToFile(GDALRasterAttributeTableH hRAT)
Determine whether changes made to this RAT are reflected directly in the dataset.
Definition: gdal_rat.cpp:1929
GDALGetGCPSpatialRef
OGRSpatialReferenceH GDALGetGCPSpatialRef(GDALDatasetH)
Get output spatial reference system for GCPs.
Definition: gdaldataset.cpp:1619
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:7756
GDALDumpOpenDatasets
int GDALDumpOpenDatasets(FILE *)
List open datasets.
Definition: gdaldataset.cpp:3766
GDALExtendedDataTypeFreeComponents
void GDALExtendedDataTypeFreeComponents(GDALEDTComponentH *components, size_t nCount)
Free the return of GDALExtendedDataTypeGetComponents().
Definition: gdalmultidim.cpp:7036
GDALExtendedDataTypeGetSize
size_t GDALExtendedDataTypeGetSize(GDALExtendedDataTypeH hEDT)
Return data type size in bytes.
Definition: gdalmultidim.cpp:6933
GDALGetRasterDataType
GDALDataType GDALGetRasterDataType(GDALRasterBandH)
Fetch the pixel data type for this band.
Definition: gdalrasterband.cpp:838
GDALEDTComponentH
struct GDALEDTComponentHS * GDALEDTComponentH
Opaque type for C++ GDALEDTComponent.
Definition: gdal.h:303
GDALExtractRPCInfoV2
int GDALExtractRPCInfoV2(CSLConstList, GDALRPCInfoV2 *)
Extract RPC info from metadata, and apply to an RPCInfo structure.
Definition: gdal_misc.cpp:3438
GDALGroupOpenMDArrayFromFullname
GDALMDArrayH GDALGroupOpenMDArrayFromFullname(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a multidimensional array from its fully qualified name.
Definition: gdalmultidim.cpp:7222
GDALCreateColorTable
GDALColorTableH GDALCreateColorTable(GDALPaletteInterp)
Construct a new color table.
Definition: gdalcolortable.cpp:69
GDALGetMaskBand
GDALRasterBandH GDALGetMaskBand(GDALRasterBandH hBand)
Return the mask band associated with the band.
Definition: gdalrasterband.cpp:6151
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:7872
GDALAttributeReadAsStringArray
char ** GDALAttributeReadAsStringArray(GDALAttributeH hAttr)
Return the value of an attribute as an array of strings.
Definition: gdalmultidim.cpp:8734
GDALOverviewMagnitudeCorrection
CPLErr GDALOverviewMagnitudeCorrection(GDALRasterBandH hBaseBand, int nOverviewCount, GDALRasterBandH *pahOverviews, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:5341
GDALReleaseDimensions
void GDALReleaseDimensions(GDALDimensionH *dims, size_t nCount)
Free the return of GDALGroupGetDimensions() or GDALMDArrayGetDimensions()
Definition: gdalmultidim.cpp:7682
GDALGetDataTypeName
const char * GDALGetDataTypeName(GDALDataType)
Get name of data type.
Definition: gdal_misc.cpp:565
GDALExtendedDataTypeGetName
const char * GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT)
Return type name.
Definition: gdalmultidim.cpp:6891
GDALRATSetRowCount
void GDALRATSetRowCount(GDALRasterAttributeTableH, int)
Set row count.
Definition: gdal_rat.cpp:332
GDALOpenShared
GDALDatasetH GDALOpenShared(const char *, GDALAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3640
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:2150
GDALSwapWords
void GDALSwapWords(void *pData, int nWordSize, int nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:2058
GDALExtendedDataTypeGetComponents
GDALEDTComponentH * GDALExtendedDataTypeGetComponents(GDALExtendedDataTypeH hEDT, size_t *pnCount)
Return the components of the data type (only valid when GetClass() == GEDTC_COMPOUND)
Definition: gdalmultidim.cpp:7011
GDALGetDriverHelpTopic
const char * GDALGetDriverHelpTopic(GDALDriverH)
Return the URL to the help that describes the driver.
Definition: gdaldriver.cpp:1614
GDALGetDriver
GDALDriverH GDALGetDriver(int)
Fetch driver by index.
Definition: gdaldrivermanager.cpp:401
GDALGroupRelease
void GDALGroupRelease(GDALGroupH hGroup)
Release the GDAL in-memory object associated with a GDALGroupH.
Definition: gdalmultidim.cpp:7130
GDALRATSetValueAsInt
void GDALRATSetValueAsInt(GDALRasterAttributeTableH, int, int, int)
Set field value from integer.
Definition: gdal_rat.cpp:1827
GDALGetRasterMinimum
double GDALGetRasterMinimum(GDALRasterBandH, int *pbSuccess)
Fetch the minimum value for this band.
Definition: gdalrasterband.cpp:1933
GDALSetRasterCategoryNames
CPLErr GDALSetRasterCategoryNames(GDALRasterBandH, CSLConstList)
Set the category names for this band.
Definition: gdalrasterband.cpp:1583
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:288
GDALDimensionGetSize
GUInt64 GDALDimensionGetSize(GDALDimensionH hDim)
Return the size, that is the number of values along the dimension.
Definition: gdalmultidim.cpp:9011
GDALGetFileList
char ** GDALGetFileList(GDALDatasetH)
Fetch files forming dataset.
Definition: gdaldataset.cpp:3020
GDALMDArraySetOffsetEx
int GDALMDArraySetOffsetEx(GDALMDArrayH hArray, double dfOffset, GDALDataType eStorageType)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8057
GDALGetNonComplexDataType
GDALDataType GDALGetNonComplexDataType(GDALDataType)
Return the base data type for the specified input.
Definition: gdal_misc.cpp:760
GDALGetRasterMaximum
double GDALGetRasterMaximum(GDALRasterBandH, int *pbSuccess)
Fetch the maximum value for this band.
Definition: gdalrasterband.cpp:1844
GDALDataTypeIsComplex
int GDALDataTypeIsComplex(GDALDataType)
Is data type complex?
Definition: gdal_misc.cpp:390
GDALEDTComponentGetName
const char * GDALEDTComponentGetName(GDALEDTComponentH hComp)
Return the name.
Definition: gdalmultidim.cpp:7086
GDALDestroyDriverManager
void GDALDestroyDriverManager(void)
Destroy the driver manager.
Definition: gdaldrivermanager.cpp:901
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:423
GDALMDArraySetUnit
int GDALMDArraySetUnit(GDALMDArrayH hArray, const char *)
Set the variable unit.
Definition: gdalmultidim.cpp:8366
GDALGetRasterUnitType
const char * GDALGetRasterUnitType(GDALRasterBandH)
Return raster unit type.
Definition: gdalrasterband.cpp:2643
GDALValidateCreationOptions
int GDALValidateCreationOptions(GDALDriverH, CSLConstList papszCreationOptions)
Validate the list of creation options that are handled by a driver.
Definition: gdaldriver.cpp:1680
GDALDatasetGetLayer
OGRLayerH GDALDatasetGetLayer(GDALDatasetH, int)
Fetch a layer by index.
Definition: gdaldataset.cpp:4347
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:6688
GDALRenameDataset
CPLErr GDALRenameDataset(GDALDriverH, const char *pszNewName, const char *pszOldName)
Rename a dataset.
Definition: gdaldriver.cpp:1399
GDALRATDumpReadable
void GDALRATDumpReadable(GDALRasterAttributeTableH, FILE *)
Dump RAT in readable form.
Definition: gdal_rat.cpp:1159
GDALSetGCPs2
CPLErr GDALSetGCPs2(GDALDatasetH, int, const GDAL_GCP *, OGRSpatialReferenceH)
Assign GCPs.
Definition: gdaldataset.cpp:1878
GDALExtendedDataTypeGetMaxStringLength
size_t GDALExtendedDataTypeGetMaxStringLength(GDALExtendedDataTypeH hEDT)
Return the maximum length of a string in bytes.
Definition: gdalmultidim.cpp:6949
GDALDimensionGetIndexingVariable
GDALMDArrayH GDALDimensionGetIndexingVariable(GDALDimensionH hDim)
Return the variable that is used to index the dimension (if there is one).
Definition: gdalmultidim.cpp:9030
GDALDatasetRollbackTransaction
OGRErr GDALDatasetRollbackTransaction(GDALDatasetH hDS)
For datasources which support transactions, RollbackTransaction will roll back a datasource to its st...
Definition: gdaldataset.cpp:7433
GDALAttributeWriteDouble
int GDALAttributeWriteDouble(GDALAttributeH hAttr, double)
Write an attribute from a double value.
Definition: gdalmultidim.cpp:8880
GDALGetRasterXSize
int GDALGetRasterXSize(GDALDatasetH)
Fetch raster width in pixels.
Definition: gdaldataset.cpp:698
GDALGroupGetStructuralInfo
CSLConstList GDALGroupGetStructuralInfo(GDALGroupH hGroup)
Return structural information on the group.
Definition: gdalmultidim.cpp:7430
GDALExtendedDataTypeClass
GDALExtendedDataTypeClass
Enumeration giving the class of a GDALExtendedDataType.
Definition: gdal.h:291
GEDTC_STRING
@ GEDTC_STRING
String value.
Definition: gdal.h:295
GEDTC_COMPOUND
@ GEDTC_COMPOUND
Compound data type.
Definition: gdal.h:297
GEDTC_NUMERIC
@ GEDTC_NUMERIC
Numeric value.
Definition: gdal.h:293
GDALDeleteRasterNoDataValue
CPLErr GDALDeleteRasterNoDataValue(GDALRasterBandH)
Remove the no data value for this band.
Definition: gdalrasterband.cpp:1751
GDALSetMetadataItem
CPLErr GDALSetMetadataItem(GDALMajorObjectH, const char *, const char *, const char *)
Set single metadata item.
Definition: gdalmajorobject.cpp:415
GDALFindDataTypeForValue
GDALDataType GDALFindDataTypeForValue(double dValue, int bComplex)
Finds the smallest data type able to support the provided value.
Definition: gdal_misc.cpp:281
GDALGroupOpenGroup
GDALGroupH GDALGroupOpenGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Open and return a sub-group.
Definition: gdalmultidim.cpp:7292
GDALDatasetGetNextFeature
OGRFeatureH GDALDatasetGetNextFeature(GDALDatasetH hDS, OGRLayerH *phBelongingLayer, double *pdfProgressPct, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch the next available feature from this dataset.
Definition: gdaldataset.cpp:7106
GDALDatasetStartTransaction
OGRErr GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce)
For datasources which support transactions, StartTransaction creates a transaction.
Definition: gdaldataset.cpp:7326
GDALCreatePansharpenedVRT
GDALDatasetH GDALCreatePansharpenedVRT(const char *pszXML, GDALRasterBandH hPanchroBand, int nInputSpectralBands, GDALRasterBandH *pahInputSpectralBands)
Create a virtual pansharpened dataset.
Definition: vrtpansharpened.cpp:93
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:6786
GDALGroupCreateGroup
GDALGroupH GDALGroupCreateGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Create a sub-group within a group.
Definition: gdalmultidim.cpp:7464
GDALRATGetLinearBinning
int GDALRATGetLinearBinning(GDALRasterAttributeTableH, double *, double *)
Get linear binning information.
Definition: gdal_rat.cpp:549
GDALARGetNextUpdatedRegion
GDALAsyncStatusType GDALARGetNextUpdatedRegion(GDALAsyncReaderH hARIO, double dfTimeout, int *pnXBufOff, int *pnYBufOff, int *pnXBufSize, int *pnYBufSize)
Get async IO update.
Definition: gdaldefaultasync.cpp:174
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:3616
GDALAddBand
CPLErr GDALAddBand(GDALDatasetH hDS, GDALDataType eType, CSLConstList papszOptions)
Add a band to a dataset.
Definition: gdaldataset.cpp:593
GDALAttributeFreeRawResult
void GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte *raw, size_t nSize)
Free the return of GDALAttributeAsRaw()
Definition: gdalmultidim.cpp:8642
GDALSetDefaultHistogram
CPLErr GDALSetDefaultHistogram(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, int *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:5749
GDALGetAsyncStatusTypeName
const char * GDALGetAsyncStatusTypeName(GDALAsyncStatusType)
Get name of AsyncStatus data type.
Definition: gdal_misc.cpp:825
GDALDimensionGetFullName
const char * GDALDimensionGetFullName(GDALDimensionH hDim)
Return dimension full name.
Definition: gdalmultidim.cpp:8969
GDALAttributeGetTotalElementsCount
GUInt64 GDALAttributeGetTotalElementsCount(GDALAttributeH hAttr)
Return the total number of values in the attribute.
Definition: gdalmultidim.cpp:8543
GDALGetMetadataDomainList
char ** GDALGetMetadataDomainList(GDALMajorObjectH hObject)
Fetch list of metadata domains.
Definition: gdalmajorobject.cpp:219
GDALCloneColorTable
GDALColorTableH GDALCloneColorTable(GDALColorTableH)
Make a copy of a color table.
Definition: gdalcolortable.cpp:280
GDALGetProjectionRef
const char * GDALGetProjectionRef(GDALDatasetH)
Fetch the projection definition string for this dataset.
Definition: gdaldataset.cpp:976
GDALRIOResampleAlg
GDALRIOResampleAlg
RasterIO() resampling method.
Definition: gdal.h:131
GRIORA_Mode
@ GRIORA_Mode
Definition: gdal.h:139
GRIORA_Lanczos
@ GRIORA_Lanczos
Definition: gdal.h:136
GRIORA_Cubic
@ GRIORA_Cubic
Definition: gdal.h:134
GRIORA_CubicSpline
@ GRIORA_CubicSpline
Definition: gdal.h:135
GRIORA_Average
@ GRIORA_Average
Definition: gdal.h:137
GRIORA_RMS
@ GRIORA_RMS
RMS: Root Mean Square / Quadratic Mean.
Definition: gdal.h:149
GRIORA_NearestNeighbour
@ GRIORA_NearestNeighbour
Definition: gdal.h:132
GRIORA_Gauss
@ GRIORA_Gauss
Definition: gdal.h:140
GRIORA_Bilinear
@ GRIORA_Bilinear
Definition: gdal.h:133
GDALSetRasterUnitType
CPLErr GDALSetRasterUnitType(GDALRasterBandH hBand, const char *pszNewValue)
Set unit type.
Definition: gdalrasterband.cpp:2696
GDALEDTComponentGetType
GDALExtendedDataTypeH GDALEDTComponentGetType(GDALEDTComponentH hComp)
Return the data type of the component.
Definition: gdalmultidim.cpp:7114
GDALGroupOpenGroupFromFullname
GDALGroupH GDALGroupOpenGroupFromFullname(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a sub-group from its fully qualified name.
Definition: gdalmultidim.cpp:7315
GDALMDArrayGetName
const char * GDALMDArrayGetName(GDALMDArrayH hArray)
Return array name.
Definition: gdalmultidim.cpp:7593
GDALFlushCache
void GDALFlushCache(GDALDatasetH hDS)
Flush all write cached data to disk.
Definition: gdaldataset.cpp:463
GDALWriteWorldFile
int GDALWriteWorldFile(const char *, const char *, double *)
Write ESRI world file.
Definition: gdal_misc.cpp:2116
GDALDataTypeIsInteger
int GDALDataTypeIsInteger(GDALDataType)
Is data type integer? (might be complex)
Definition: gdal_misc.cpp:445
GDALRATCreateColumn
CPLErr GDALRATCreateColumn(GDALRasterAttributeTableH, const char *, GDALRATFieldType, GDALRATFieldUsage)
Create new column.
Definition: gdal_rat.cpp:456
GDALDimensionSetIndexingVariable
int GDALDimensionSetIndexingVariable(GDALDimensionH hDim, GDALMDArrayH hArray)
Set the variable that is used to index the dimension.
Definition: gdalmultidim.cpp:9052
GDALDatasetDeleteLayer
OGRErr GDALDatasetDeleteLayer(GDALDatasetH, int)
Delete the indicated layer from the datasource.
Definition: gdaldataset.cpp:4420
GDALGetDriverLongName
const char * GDALGetDriverLongName(GDALDriverH)
Return the long name of a driver.
Definition: gdaldriver.cpp:1583
GDALMDArrayGetSpatialRef
OGRSpatialReferenceH GDALMDArrayGetSpatialRef(GDALMDArrayH hArray)
Return the spatial reference system object associated with the array.
Definition: gdalmultidim.cpp:8424
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:2308
GDALEDTComponentCreate
GDALEDTComponentH GDALEDTComponentCreate(const char *pszName, size_t nOffset, GDALExtendedDataTypeH hType)
Create a new GDALEDTComponent.
Definition: gdalmultidim.cpp:7055
GDALMDArrayGetAttribute
GDALAttributeH GDALMDArrayGetAttribute(GDALMDArrayH hArray, const char *pszName)
Return an attribute by its name.
Definition: gdalmultidim.cpp:7817
GDALGetDriverCreationOptionList
const char * GDALGetDriverCreationOptionList(GDALDriverH)
Return the list of creation options of the driver.
Definition: gdaldriver.cpp:1639
GDALGetBandDataset
GDALDatasetH GDALGetBandDataset(GDALRasterBandH)
Fetch the owning dataset handle.
Definition: gdalrasterband.cpp:2853
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:2838
GDALAttributeGetDataType
GDALExtendedDataTypeH GDALAttributeGetDataType(GDALAttributeH hAttr)
Return the data type.
Definition: gdalmultidim.cpp:8599
GDALGetJPEG2000Structure
CPLXMLNode * GDALGetJPEG2000Structure(const char *pszFilename, CSLConstList papszOptions)
Dump the structure of a JPEG2000 file as a XML tree.
Definition: gdaljp2structure.cpp:1659
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:1610
GDALGetRasterBandYSize
int GDALGetRasterBandYSize(GDALRasterBandH)
Fetch YSize of raster.
Definition: gdalrasterband.cpp:2770
GDALARUnlockBuffer
void GDALARUnlockBuffer(GDALAsyncReaderH hARIO)
Unlock image buffer.
Definition: gdaldefaultasync.cpp:268
GDALSetRasterNoDataValue
CPLErr GDALSetRasterNoDataValue(GDALRasterBandH, double)
Set the no data value for this band.
Definition: gdalrasterband.cpp:1703
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:2602
GDALBuildOverviews
CPLErr GDALBuildOverviews(GDALDatasetH, const char *, int, int *, int, int *, GDALProgressFunc, void *)
Build raster overview(s)
Definition: gdaldataset.cpp:1979
GDALExtendedDataTypeCanConvertTo
int GDALExtendedDataTypeCanConvertTo(GDALExtendedDataTypeH hSourceEDT, GDALExtendedDataTypeH hTargetEDT)
Return whether this data type can be converted to the other one.
Definition: gdalmultidim.cpp:6967
GDALRATGetValueAsInt
int GDALRATGetValueAsInt(GDALRasterAttributeTableH, int, int)
Fetch field value as a integer.
Definition: gdal_rat.cpp:1593
GDALExtendedDataTypeGetNumericDataType
GDALDataType GDALExtendedDataTypeGetNumericDataType(GDALExtendedDataTypeH hEDT)
Return numeric data type (only valid when GetClass() == GEDTC_NUMERIC)
Definition: gdalmultidim.cpp:6919
GDALDeregisterDriver
void GDALDeregisterDriver(GDALDriverH)
Deregister the passed driver.
Definition: gdaldrivermanager.cpp:578
GDALCopyDatasetFiles
CPLErr GDALCopyDatasetFiles(GDALDriverH, const char *pszNewName, const char *pszOldName)
Copy the files of a dataset.
Definition: gdaldriver.cpp:1524
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:3545
GDALDatasetAbortSQL
OGRErr GDALDatasetAbortSQL(GDALDatasetH)
Abort any SQL statement running in the data store.
Definition: gdaldataset.cpp:4733
GDALDestroyRasterAttributeTable
void GDALDestroyRasterAttributeTable(GDALRasterAttributeTableH)
Destroys a RAT.
Definition: gdal_rat.cpp:1228
GDALCreateDatasetMaskBand
CPLErr GDALCreateDatasetMaskBand(GDALDatasetH hDS, int nFlags)
Adds a mask band to the dataset.
Definition: gdaldataset.cpp:3097
GDALAttributeWriteString
int GDALAttributeWriteString(GDALAttributeH hAttr, const char *)
Write an attribute from a string value.
Definition: gdalmultidim.cpp:8837
GDALMDArraySetScale
int GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8000
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:1554
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:797
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:3963
GDALDuplicateGCPs
GDAL_GCP * GDALDuplicateGCPs(int, const GDAL_GCP *)
Duplicate an array of GCPs.
Definition: gdal_misc.cpp:1244
GDALSetDefaultHistogramEx
CPLErr GDALSetDefaultHistogramEx(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:5793
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:4580
GDALRATFieldType
GDALRATFieldType
Field type of raster attribute table.
Definition: gdal.h:1270
GFT_Real
@ GFT_Real
Definition: gdal.h:1272
GFT_String
@ GFT_String
Definition: gdal.h:1273
GFT_Integer
@ GFT_Integer
Definition: gdal.h:1271
GDALDatasetResetReading
void GDALDatasetResetReading(GDALDatasetH)
Reset feature reading to start on the first feature.
Definition: gdaldataset.cpp:6879
GDALMDArrayH
struct GDALMDArrayHS * GDALMDArrayH
Opaque type for C++ GDALMDArray.
Definition: gdal.h:307
GDALAttributeWriteDoubleArray
int GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double *, size_t)
Write an attribute from an array of double.
Definition: gdalmultidim.cpp:8926
GDALRasterAttributeTableH
void * GDALRasterAttributeTableH
Opaque type used for the C bindings of the C++ GDALRasterAttributeTable class.
Definition: gdal.h:280
GDALGroupGetGroupNames
char ** GDALGroupGetGroupNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of sub-groups contained in this group.
Definition: gdalmultidim.cpp:7270
GDALRATRemoveStatistics
void GDALRATRemoveStatistics(GDALRasterAttributeTableH)
Remove Statistics from RAT.
Definition: gdal_rat.cpp:2252
GDALDataTypeUnion
GDALDataType GDALDataTypeUnion(GDALDataType, GDALDataType)
Return the smallest data type that can fully express both input data types.
Definition: gdal_misc.cpp:130
GDALGetColorInterpretationByName
GDALColorInterp GDALGetColorInterpretationByName(const char *pszName)
Get color interpretation by symbolic name.
Definition: gdal_misc.cpp:983
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:7716
GDALDimensionGetName
const char * GDALDimensionGetName(GDALDimensionH hDim)
Return dimension name.
Definition: gdalmultidim.cpp:8955
GDALGetColorEntryAsRGB
int GDALGetColorEntryAsRGB(GDALColorTableH, int, GDALColorEntry *)
Fetch a table entry in RGB format.
Definition: gdalcolortable.cpp:184
GDALAttributeWriteRaw
int GDALAttributeWriteRaw(GDALAttributeH hAttr, const void *, size_t)
Write an attribute from raw values expressed in GetDataType()
Definition: gdalmultidim.cpp:8816
GDALMDArrayGetProcessingChunkSize
size_t * GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray, size_t *pnCount, size_t nMaxChunkMemory)
Return an optimal chunk size for read/write oerations, given the natural block size and memory constr...
Definition: gdalmultidim.cpp:8217
GDALDatasetGetLayerCount
int GDALDatasetGetLayerCount(GDALDatasetH)
Get the number of layers in this dataset.
Definition: gdaldataset.cpp:4314
GDALSetMetadata
CPLErr GDALSetMetadata(GDALMajorObjectH, CSLConstList, const char *)
Set metadata.
Definition: gdalmajorobject.cpp:318
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:3708
GDALDatasetTestCapability
int GDALDatasetTestCapability(GDALDatasetH, const char *)
Test if capability is available.
Definition: gdaldataset.cpp:7208
GDALMDArrayGetDimensions
GDALDimensionH * GDALMDArrayGetDimensions(GDALMDArrayH hArray, size_t *pnCount)
Return the dimensions of the array.
Definition: gdalmultidim.cpp:7658
GDALAsyncReaderH
void * GDALAsyncReaderH
Opaque type used for the C bindings of the C++ GDALAsyncReader class.
Definition: gdal.h:283
GDALAdjustValueToDataType
double GDALAdjustValueToDataType(GDALDataType eDT, double dfValue, int *pbClamped, int *pbRounded)
Adjust a value to the output data type.
Definition: gdal_misc.cpp:685
GDALEndAsyncReader
void GDALEndAsyncReader(GDALDatasetH hDS, GDALAsyncReaderH hAsynchReaderH)
End asynchronous request.
Definition: gdaldataset.cpp:4015
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:1086
GDALCreateMaskBand
CPLErr GDALCreateMaskBand(GDALRasterBandH hBand, int nFlags)
Adds a mask band to the current band.
Definition: gdalrasterband.cpp:6330
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:7549
GDALGetDataTypeSizeBytes
int GDALGetDataTypeSizeBytes(GDALDataType)
Get data type size in bytes.
Definition: gdal_misc.cpp:305
GDALDeleteDataset
CPLErr GDALDeleteDataset(GDALDriverH, const char *)
Delete named dataset.
Definition: gdaldriver.cpp:1272
GDALExtendedDataTypeRelease
void GDALExtendedDataTypeRelease(GDALExtendedDataTypeH hEDT)
Release the GDAL in-memory object associated with a GDALExtendedDataTypeH.
Definition: gdalmultidim.cpp:6878
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:8282
GDALRATGetValueAsDouble
double GDALRATGetValueAsDouble(GDALRasterAttributeTableH, int, int)
Fetch field value as a double.
Definition: gdal_rat.cpp:1652
GDALDatasetGetRootGroup
GDALGroupH GDALDatasetGetRootGroup(GDALDatasetH hDS)
Return the root GDALGroup of this dataset.
Definition: gdalmultidim.cpp:9072
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:3246
GDALAllRegister
void GDALAllRegister(void)
Register all known configured GDAL drivers.
Definition: gdalallregister.cpp:62
GDALRATGetTypeOfCol
GDALRATFieldType GDALRATGetTypeOfCol(GDALRasterAttributeTableH, int)
Fetch column type.
Definition: gdal_rat.cpp:1398
GDALGetGCPProjection
const char * GDALGetGCPProjection(GDALDatasetH)
Get output projection for GCPs.
Definition: gdaldataset.cpp:1664
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:2631
GDALMDArrayGetOffset
double GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8122
GDALMDArrayGetMask
GDALMDArrayH GDALMDArrayGetMask(GDALMDArrayH hArray, CSLConstList papszOptions)
Return an array that is a mask for the current array.
Definition: gdalmultidim.cpp:8337
GDALAttributeGetName
const char * GDALAttributeGetName(GDALAttributeH hAttr)
Return the name of the attribute.
Definition: gdalmultidim.cpp:8513
GDALGetDriverCount
int GDALGetDriverCount(void)
Fetch the number of registered drivers.
Definition: gdaldrivermanager.cpp:363
GDALGroupGetMDArrayNames
char ** GDALGroupGetMDArrayNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of multidimensional array names contained in this group.
Definition: gdalmultidim.cpp:7177
GDALDestroyColorTable
void GDALDestroyColorTable(GDALColorTableH)
Destroys a color table.
Definition: gdalcolortable.cpp:96
GDALLoadOziMapFile
int GDALLoadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1357
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:9131
GDALComputeRasterStatistics
CPLErr GDALComputeRasterStatistics(GDALRasterBandH, int bApproxOK, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Compute image statistics.
Definition: gdalrasterband.cpp:5359
GDALAttributeWriteStringArray
int GDALAttributeWriteStringArray(GDALAttributeH hAttr, CSLConstList)
Write an attribute from an array of strings.
Definition: gdalmultidim.cpp:8902
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:8443
GDALReadOziMapFile
int GDALReadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1565
GDALDimensionGetType
const char * GDALDimensionGetType(GDALDimensionH hDim)
Return dimension type.
Definition: gdalmultidim.cpp:8983
GDALRATSetTableType
CPLErr GDALRATSetTableType(GDALRasterAttributeTableH hRAT, const GDALRATTableType eInTableType)
Set RAT Table Type.
Definition: gdal_rat.cpp:591
GDALDatasetExecuteSQL
OGRLayerH GDALDatasetExecuteSQL(GDALDatasetH, const char *, OGRGeometryH, const char *)
Execute an SQL statement against the data store.
Definition: gdaldataset.cpp:4689
GDALSetRasterOffset
CPLErr GDALSetRasterOffset(GDALRasterBandH hBand, double dfNewOffset)
Set scaling offset.
Definition: gdalrasterband.cpp:2494
GDALMDArrayGetStructuralInfo
CSLConstList GDALMDArrayGetStructuralInfo(GDALMDArrayH hArray)
Return structural information on the array.
Definition: gdalmultidim.cpp:8246
GDALAttributeGetDimensionsSize
GUInt64 * GDALAttributeGetDimensionsSize(GDALAttributeH hAttr, size_t *pnCount)
Return the dimension sizes of the attribute.
Definition: gdalmultidim.cpp:8576
GDALDeinitGCPs
void GDALDeinitGCPs(int, GDAL_GCP *)
De-initialize an array of GCPs (initialized with GDALInitGCPs())
Definition: gdal_misc.cpp:1217
GDALReadBlock
CPLErr GDALReadBlock(GDALRasterBandH, int, int, void *)
Read a block of image data efficiently.
Definition: gdalrasterband.cpp:566
GDALExtendedDataTypeCreateString
GDALExtendedDataTypeH GDALExtendedDataTypeCreateString(size_t nMaxStringLength)
Return a new GDALExtendedDataType of class GEDTC_STRING.
Definition: gdalmultidim.cpp:6828
GDALMDArrayGetOffsetEx
double GDALMDArrayGetOffsetEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType *peStorageType)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8145
GDALSetRasterColorInterpretation
CPLErr GDALSetRasterColorInterpretation(GDALRasterBandH, GDALColorInterp)
Set color interpretation of a band.
Definition: gdalrasterband.cpp:2024
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:233
GDALLoadWorldFile
int GDALLoadWorldFile(const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:1864
GDALGetRasterColorTable
GDALColorTableH GDALGetRasterColorTable(GDALRasterBandH)
Fetch the color table associated with band.
Definition: gdalrasterband.cpp:2066
GDALComputeBandStats
CPLErr GDALComputeBandStats(GDALRasterBandH hBand, int nSampleStep, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:5206
GDALExtendedDataTypeGetClass
GDALExtendedDataTypeClass GDALExtendedDataTypeGetClass(GDALExtendedDataTypeH hEDT)
Return type class.
Definition: gdalmultidim.cpp:6905
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:223
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:7487
GDALMDArraySetScaleEx
int GDALMDArraySetScaleEx(GDALMDArrayH hArray, double dfScale, GDALDataType eStorageType)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8019
GDALGetDefaultRAT
GDALRasterAttributeTableH GDALGetDefaultRAT(GDALRasterBandH hBand)
Fetch default Raster Attribute Table.
Definition: gdalrasterband.cpp:5837
GDALDatasetGetFieldDomain
OGRFieldDomainH GDALDatasetGetFieldDomain(GDALDatasetH hDS, const char *pszName)
Get a field domain from its name.
Definition: gdaldataset.cpp:8327
GDALDimensionGetDirection
const char * GDALDimensionGetDirection(GDALDimensionH hDim)
Return dimension direction.
Definition: gdalmultidim.cpp:8997
GDALDereferenceDataset
int GDALDereferenceDataset(GDALDatasetH)
Subtract one from dataset reference count.
Definition: gdaldataset.cpp:1383
GDALMDArrayGetScale
double GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8076
GDALGetCacheMax64
GIntBig GDALGetCacheMax64(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:239
GDALGetMetadataItem
const char * GDALGetMetadataItem(GDALMajorObjectH, const char *, const char *)
Fetch single metadata item.
Definition: gdalmajorobject.cpp:361
GDALDatasetReleaseResultSet
void GDALDatasetReleaseResultSet(GDALDatasetH, OGRLayerH)
Release results of ExecuteSQL().
Definition: gdaldataset.cpp:4285
GDALGetGCPs
const GDAL_GCP * GDALGetGCPs(GDALDatasetH)
Fetch GCPs.
Definition: gdaldataset.cpp:1697
GDALRATGetTableType
GDALRATTableType GDALRATGetTableType(GDALRasterAttributeTableH hRAT)
Get Rat Table Type.
Definition: gdal_rat.cpp:571
GDALFillRaster
CPLErr GDALFillRaster(GDALRasterBandH hBand, double dfRealValue, double dfImaginaryValue)
Fill this band with a constant value.
Definition: gdalrasterband.cpp:1448
GDALDatasetGetStyleTable
OGRStyleTableH GDALDatasetGetStyleTable(GDALDatasetH)
Returns dataset style table.
Definition: gdaldataset.cpp:4757
GDALRegisterDriver
int GDALRegisterDriver(GDALDriverH)
Register a driver for use.
Definition: gdaldrivermanager.cpp:520
GDALInitGCPs
void GDALInitGCPs(int, GDAL_GCP *)
Initialize an array of GCPs.
Definition: gdal_misc.cpp:1191
GDALAttributeReadAsString
const char * GDALAttributeReadAsString(GDALAttributeH hAttr)
Return the value of an attribute as a string.
Definition: gdalmultidim.cpp:8678
GDALExtendedDataTypeH
struct GDALExtendedDataTypeHS * GDALExtendedDataTypeH
Opaque type for C++ GDALExtendedDataType.
Definition: gdal.h:301
GDALReferenceDataset
int GDALReferenceDataset(GDALDatasetH)
Add one to dataset reference count.
Definition: gdaldataset.cpp:1348
GDALGetRasterCategoryNames
char ** GDALGetRasterCategoryNames(GDALRasterBandH)
Fetch the list of category names for this raster.
Definition: gdalrasterband.cpp:1531
GDALRATGetColumnCount
int GDALRATGetColumnCount(GDALRasterAttributeTableH)
Fetch table column count.
Definition: gdal_rat.cpp:1276
GDALGetGCPCount
int GDALGetGCPCount(GDALDatasetH)
Get number of GCPs.
Definition: gdaldataset.cpp:1517
GDALRATClone
GDALRasterAttributeTableH GDALRATClone(const GDALRasterAttributeTableH)
Copy Raster Attribute Table.
Definition: gdal_rat.cpp:2212
GDALMDArraySetNoDataValueAsDouble
int GDALMDArraySetNoDataValueAsDouble(GDALMDArrayH hArray, double dfNoDataValue)
Set the nodata value as a double.
Definition: gdalmultidim.cpp:7981
GDALDataTypeIsFloating
int GDALDataTypeIsFloating(GDALDataType)
Is data type floating? (might be complex)
Definition: gdal_misc.cpp:418
GDALVersionInfo
const char * GDALVersionInfo(const char *)
Get runtime version information.
Definition: gdal_misc.cpp:2186
GDALDataTypeIsConversionLossy
int GDALDataTypeIsConversionLossy(GDALDataType eTypeFrom, GDALDataType eTypeTo)
Is conversion from eTypeFrom to eTypeTo potentially lossy.
Definition: gdal_misc.cpp:502
GDALGetPaletteInterpretation
GDALPaletteInterp GDALGetPaletteInterpretation(GDALColorTableH)
Fetch palette interpretation.
Definition: gdalcolortable.cpp:356
GDALSetGCPs
CPLErr GDALSetGCPs(GDALDatasetH, int, const GDAL_GCP *, const char *)
Assign GCPs.
Definition: gdaldataset.cpp:1856
GDALRATGetRowCount
int GDALRATGetRowCount(GDALRasterAttributeTableH)
Fetch row count.
Definition: gdal_rat.cpp:1467
GDALMDArrayGetDataType
GDALExtendedDataTypeH GDALMDArrayGetDataType(GDALMDArrayH hArray)
Return the data type.
Definition: gdalmultidim.cpp:7699
GDALMajorObjectH
void * GDALMajorObjectH
Opaque type used for the C bindings of the C++ GDALMajorObject class.
Definition: gdal.h:265
GDALGroupGetAttributes
GDALAttributeH * GDALGroupGetAttributes(GDALGroupH hGroup, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this group.
Definition: gdalmultidim.cpp:7401
GDALColorInterp
GDALColorInterp
Definition: gdal.h:204
GCI_YCbCr_YBand
@ GCI_YCbCr_YBand
Definition: gdal.h:219
GCI_Undefined
@ GCI_Undefined
Definition: gdal.h:205
GCI_SaturationBand
@ GCI_SaturationBand
Definition: gdal.h:213
GCI_LightnessBand
@ GCI_LightnessBand
Definition: gdal.h:214
GCI_HueBand
@ GCI_HueBand
Definition: gdal.h:212
GCI_CyanBand
@ GCI_CyanBand
Definition: gdal.h:215
GCI_MagentaBand
@ GCI_MagentaBand
Definition: gdal.h:216
GCI_GrayIndex
@ GCI_GrayIndex
Definition: gdal.h:206
GCI_BlueBand
@ GCI_BlueBand
Definition: gdal.h:210
GCI_PaletteIndex
@ GCI_PaletteIndex
Definition: gdal.h:207
GCI_RedBand
@ GCI_RedBand
Definition: gdal.h:208
GCI_AlphaBand
@ GCI_AlphaBand
Definition: gdal.h:211
GCI_Max
@ GCI_Max
Definition: gdal.h:222
GCI_YCbCr_CrBand
@ GCI_YCbCr_CrBand
Definition: gdal.h:221
GCI_GreenBand
@ GCI_GreenBand
Definition: gdal.h:209
GCI_YellowBand
@ GCI_YellowBand
Definition: gdal.h:217
GCI_BlackBand
@ GCI_BlackBand
Definition: gdal.h:218
GCI_YCbCr_CbBand
@ GCI_YCbCr_CbBand
Definition: gdal.h:220
GDALGroupH
struct GDALGroupHS * GDALGroupH
Opaque type for C++ GDALGroup.
Definition: gdal.h:305
GDALGetDescription
const char * GDALGetDescription(GDALMajorObjectH)
Fetch object description.
Definition: gdalmajorobject.cpp:95
GDALARLockBuffer
int GDALARLockBuffer(GDALAsyncReaderH hARIO, double dfTimeout)
Lock image buffer.
Definition: gdaldefaultasync.cpp:233
GDALFlushRasterCache
CPLErr GDALFlushRasterCache(GDALRasterBandH hBand)
Flush raster data cache.
Definition: gdalrasterband.cpp:1044
GDALGetColorInterpretationName
const char * GDALGetColorInterpretationName(GDALColorInterp)
Get name of color interpretation.
Definition: gdal_misc.cpp:904
GDALGetInternalHandle
void * GDALGetInternalHandle(GDALDatasetH, const char *)
Fetch a format specific internally meaningful handle.
Definition: gdaldataset.cpp:1280
GDALGetRasterSampleOverview
GDALRasterBandH GDALGetRasterSampleOverview(GDALRasterBandH, int)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2319
GDALPackedDMSToDec
double GDALPackedDMSToDec(double)
Convert a packed DMS value (DDDMMMSSS.SS) into decimal degrees.
Definition: gdal_misc.cpp:2349
GDALMDArrayGetAttributes
GDALAttributeH * GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this array.
Definition: gdalmultidim.cpp:7846
GDALExtendedDataTypeEquals
int GDALExtendedDataTypeEquals(GDALExtendedDataTypeH hFirstEDT, GDALExtendedDataTypeH hSecondEDT)
Return whether this data type is equal to another one.
Definition: gdalmultidim.cpp:6987
GDALApplyGeoTransform
void GDALApplyGeoTransform(double *, double, double, double *, double *)
Apply GeoTransform to x/y coordinate.
Definition: gdaltransformer.cpp:3793
GDALAttributeReadAsRaw
GByte * GDALAttributeReadAsRaw(GDALAttributeH hAttr, size_t *pnSize)
Return the raw value of an attribute.
Definition: gdalmultidim.cpp:8621
GDALRATSerializeJSON
void * GDALRATSerializeJSON(GDALRasterAttributeTableH)
Serialize Raster Attribute Table in Json format.
Definition: gdal_rat.cpp:2231
GDALRATTranslateToColorTable
GDALColorTableH GDALRATTranslateToColorTable(GDALRasterAttributeTableH, int nEntryCount)
Translate to a color table.
Definition: gdal_rat.cpp:1107
GDALAttributeGetFullName
const char * GDALAttributeGetFullName(GDALAttributeH hAttr)
Return the full name of the attribute.
Definition: gdalmultidim.cpp:8529
GDALDatasetCopyLayer
OGRLayerH GDALDatasetCopyLayer(GDALDatasetH, OGRLayerH, const char *, CSLConstList)
Duplicate an existing layer.
Definition: gdaldataset.cpp:4635
GDALMDArrayAdviseRead
int GDALMDArrayAdviseRead(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx, const size_t *count)
Advise driver of upcoming read requests.
Definition: gdalmultidim.cpp:7798
GDALDataTypeUnionWithValue
GDALDataType GDALDataTypeUnionWithValue(GDALDataType eDT, double dValue, int bComplex)
Union a data type with the one found for a value.
Definition: gdal_misc.cpp:175
GDALAsyncStatusType
GDALAsyncStatusType
status of the asynchronous stream
Definition: gdal.h:103
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:1761
GDALGetPaletteInterpretationName
const char * GDALGetPaletteInterpretationName(GDALPaletteInterp)
Get name of palette interpretation.
Definition: gdal_misc.cpp:864
GDALReleaseAttributes
void GDALReleaseAttributes(GDALAttributeH *attributes, size_t nCount)
Free the return of GDALGroupGetAttributes() or GDALMDArrayGetAttributes()
Definition: gdalmultidim.cpp:7445
GDALSetDefaultRAT
CPLErr GDALSetDefaultRAT(GDALRasterBandH, GDALRasterAttributeTableH)
Set default Raster Attribute Table.
Definition: gdalrasterband.cpp:5892
GDALRATGetValueAsString
const char * GDALRATGetValueAsString(GDALRasterAttributeTableH, int, int)
Fetch field value as a string.
Definition: gdal_rat.cpp:1534
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:3316
GDALReadWorldFile
int GDALReadWorldFile(const char *, const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:1958
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:7516
GDALReleaseDataset
int GDALReleaseDataset(GDALDatasetH)
Drop a reference to this object, and destroy if no longer referenced.
Definition: gdaldataset.cpp:1425
GDALGetDataTypeSize
int GDALGetDataTypeSize(GDALDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:372
GDALDataTypeIsSigned
int GDALDataTypeIsSigned(GDALDataType)
Is data type signed?
Definition: gdal_misc.cpp:475
GDALSetRasterColorTable
CPLErr GDALSetRasterColorTable(GDALRasterBandH, GDALColorTableH)
Set the raster color table.
Definition: gdalrasterband.cpp:2119
GDALGetGeoTransform
CPLErr GDALGetGeoTransform(GDALDatasetH, double *)
Fetch the affine transformation coefficients.
Definition: gdaldataset.cpp:1189
GDALSetCacheMax
void GDALSetCacheMax(int nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:120
GDALDriverH
void * GDALDriverH
Opaque type used for the C bindings of the C++ GDALDriver class.
Definition: gdal.h:274
GDALAttributeWriteInt
int GDALAttributeWriteInt(GDALAttributeH hAttr, int)
Write an attribute from a integer value.
Definition: gdalmultidim.cpp:8858
GDALFlushCacheBlock
int GDALFlushCacheBlock(void)
Try to flush one cached raster block.
Definition: gdalrasterblock.cpp:372
GDALAttributeReadAsDouble
double GDALAttributeReadAsDouble(GDALAttributeH hAttr)
Return the value of an attribute as a double.
Definition: gdalmultidim.cpp:8718
GDALGetRasterYSize
int GDALGetRasterYSize(GDALDatasetH)
Fetch raster height in pixels.
Definition: gdaldataset.cpp:732
GDALEDTComponentRelease
void GDALEDTComponentRelease(GDALEDTComponentH hComp)
Release the GDAL in-memory object associated with a GDALEDTComponentH.
Definition: gdalmultidim.cpp:7071
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:239
GDALRATGetColOfUsage
int GDALRATGetColOfUsage(GDALRasterAttributeTableH, GDALRATFieldUsage)
Fetch column index for given usage.
Definition: gdal_rat.cpp:1438
GDALGetOpenDatasets
void GDALGetOpenDatasets(GDALDatasetH **hDS, int *pnCount)
Fetch all open GDAL dataset handles.
Definition: gdaldataset.cpp:2697
GDALGetBandNumber
int GDALGetBandNumber(GDALRasterBandH)
Fetch the band number.
Definition: gdalrasterband.cpp:2812
GDALCreateMultiDimensional
GDALDatasetH GDALCreateMultiDimensional(GDALDriverH hDriver, const char *pszName, CSLConstList papszRootGroupOptions, CSLConstList papszOptions)
Create a new multidimensional dataset with this driver.
Definition: gdaldriver.cpp:368
GDALRWFlag
GDALRWFlag
Definition: gdal.h:121
GF_Write
@ GF_Write
Definition: gdal.h:123
GF_Read
@ GF_Read
Definition: gdal.h:122
GDALGCPsToGeoTransform
int GDALGCPsToGeoTransform(int nGCPCount, const GDAL_GCP *pasGCPs, double *padfGeoTransform, int bApproxOK)
Generate Geotransform from GCPs.
Definition: gdal_misc.cpp:2407
GDALInvGeoTransform
int GDALInvGeoTransform(double *padfGeoTransformIn, double *padfInvGeoTransformOut)
Invert Geotransform.
Definition: gdaltransformer.cpp:3819
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:3376
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:161
GDALMDArrayRelease
void GDALMDArrayRelease(GDALMDArrayH hMDArray)
Release the GDAL in-memory object associated with a GDALMDArray.
Definition: gdalmultidim.cpp:7580
GDALMDArraySetSpatialRef
int GDALMDArraySetSpatialRef(GDALMDArrayH, OGRSpatialReferenceH)
Assign a spatial reference system object to the the array.
Definition: gdalmultidim.cpp:8407
GDALGetDriverByName
GDALDriverH GDALGetDriverByName(const char *)
Fetch a driver based on the short name.
Definition: gdaldrivermanager.cpp:622
GDALSetGeoTransform
CPLErr GDALSetGeoTransform(GDALDatasetH, double *)
Set the affine transformation coefficients.
Definition: gdaldataset.cpp:1239
GDALOpen
GDALDatasetH GDALOpen(const char *pszFilename, GDALAccess eAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3149
GDALAttributeReadAsDoubleArray
double * GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of doubles.
Definition: gdalmultidim.cpp:8781
GDALGetRasterColorInterpretation
GDALColorInterp GDALGetRasterColorInterpretation(GDALRasterBandH)
How should this band be interpreted as color?
Definition: gdalrasterband.cpp:1975
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:897
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:8472
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:3352
GDALRasterBandH
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:271
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:959
GDALCreateDriver
GDALDriverH GDALCreateDriver(void)
Create a GDALDriver.
Definition: gdaldriver.cpp:94
GDALGetDriverShortName
const char * GDALGetDriverShortName(GDALDriverH)
Return the short name of a driver.
Definition: gdaldriver.cpp:1561
GDALMDArrayGetScaleEx
double GDALMDArrayGetScaleEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType *peStorageType)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8099
GDALColorTableH
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:277
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:395
GDALCreateCopy
GDALDatasetH GDALCreateCopy(GDALDriverH, const char *, GDALDatasetH, int, CSLConstList, GDALProgressFunc, void *)
Create a copy of a dataset.
Definition: gdaldriver.cpp:1091
GDALMDArraySetOffset
int GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:8038
GDALGroupGetName
const char * GDALGroupGetName(GDALGroupH hGroup)
Return the name of the group.
Definition: gdalmultidim.cpp:7145
GDALRegenerateOverviews
CPLErr GDALRegenerateOverviews(GDALRasterBandH hSrcBand, int nOverviewCount, GDALRasterBandH *pahOverviewBands, const char *pszResampling, GDALProgressFunc pfnProgress, void *pProgressData)
Generate downsampled overviews.
Definition: overview.cpp:3928
GDALCreateRasterAttributeTable
GDALRasterAttributeTableH GDALCreateRasterAttributeTable(void)
Construct empty table.
Definition: gdal_rat.cpp:1203
GDALGetCacheMax
int GDALGetCacheMax(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:200
GDALComposeGeoTransforms
void GDALComposeGeoTransforms(const double *padfGeoTransform1, const double *padfGeoTransform2, double *padfGeoTransformOut)
Compose two geotransforms.
Definition: gdal_misc.cpp:2708
GDALDatasetSetStyleTable
void GDALDatasetSetStyleTable(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4815
GDALSetSpatialRef
CPLErr GDALSetSpatialRef(GDALDatasetH, OGRSpatialReferenceH)
Set the spatial reference system for this dataset.
Definition: gdaldataset.cpp:1065
GDALDestroyDriver
void GDALDestroyDriver(GDALDriverH)
Destroy a GDALDriver.
Definition: gdaldriver.cpp:113
GDALEDTComponentGetOffset
size_t GDALEDTComponentGetOffset(GDALEDTComponentH hComp)
Return the offset (in bytes) of the component in the compound data type.
Definition: gdalmultidim.cpp:7100
GDALTileOrganization
GDALTileOrganization
! Enumeration to describe the tile organization
Definition: gdal.h:1430
GTO_BIT
@ GTO_BIT
Definition: gdal.h:1434
GTO_BSQ
@ GTO_BSQ
Definition: gdal.h:1436
GTO_TIP
@ GTO_TIP
Definition: gdal.h:1432
GDALCreateColorRamp
void GDALCreateColorRamp(GDALColorTableH hTable, int nStartIndex, const GDALColorEntry *psStartColor, int nEndIndex, const GDALColorEntry *psEndColor)
Create color ramp.
Definition: gdalcolortable.cpp:447
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:6852
GDALDecToDMS
const char * GDALDecToDMS(double, const char *, int)
Translate a decimal degrees value to a DMS string with hemisphere.
Definition: gdal_misc.cpp:2332
GDALMDArrayGetUnscaled
GDALMDArrayH GDALMDArrayGetUnscaled(GDALMDArrayH hArray)
Return an array that is the unscaled version of the current one.
Definition: gdalmultidim.cpp:8315
GDALSetRasterStatistics
CPLErr GDALSetRasterStatistics(GDALRasterBandH hBand, double dfMin, double dfMax, double dfMean, double dfStdDev)
Set statistics on band.
Definition: gdalrasterband.cpp:5433
GDALMDArrayGetNoDataValueAsDouble
double GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a double.
Definition: gdalmultidim.cpp:7937
GDALGetColorEntry
const GDALColorEntry * GDALGetColorEntry(GDALColorTableH, int)
Fetch a color entry from table.
Definition: gdalcolortable.cpp:135
GDALDecToPackedDMS
double GDALDecToPackedDMS(double)
Convert decimal degrees into packed DMS value (DDDMMMSSS.SS).
Definition: gdal_misc.cpp:2365
GDALMDArrayGetBlockSize
GUInt64 * GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount)
Return the "natural" block size of the array along all dimensions.
Definition: gdalmultidim.cpp:8181
GDALGetDataTypeByName
GDALDataType GDALGetDataTypeByName(const char *)
Get data type by symbolic name.
Definition: gdal_misc.cpp:626
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:3605
ogr_api.h
C API and defines for OGRFeature, OGRGeometry, and OGRDataSource related classes.
OGRGeometryH
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:63
OGRSpatialReferenceH
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition: ogr_api.h:78
OGRLayerH
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:586
OGRFeatureH
void * OGRFeatureH
Opaque type for a feature (OGRFeature)
Definition: ogr_api.h:332
OGRFieldDomainH
struct OGRFieldDomainHS * OGRFieldDomainH
Opaque type for a field domain definition (OGRFieldDomain)
Definition: ogr_api.h:340
OGRStyleTableH
void * OGRStyleTableH
Opaque type for a style table (OGRStyleTable)
Definition: ogr_api.h:334
OGRwkbGeometryType
OGRwkbGeometryType
List of well known binary geometry types.
Definition: ogr_core.h:346
OGRErr
int OGRErr
Type for a OGR error.
Definition: ogr_core.h:318
CPLXMLNode
Document node structure.
Definition: cpl_minixml.h:70
GDALColorEntry
Color tuple.
Definition: gdal.h:1239
GDALColorEntry::c4
short c4
Definition: gdal.h:1250
GDALColorEntry::c2
short c2
Definition: gdal.h:1244
GDALColorEntry::c3
short c3
Definition: gdal.h:1247
GDALColorEntry::c1
short c1
Definition: gdal.h:1241
GDALRPCInfoV2
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1200
GDALRPCInfoV2::dfLAT_OFF
double dfLAT_OFF
Definition: gdal.h:1203
GDALRPCInfoV2::dfLONG_SCALE
double dfLONG_SCALE
Definition: gdal.h:1210
GDALRPCInfoV2::dfHEIGHT_OFF
double dfHEIGHT_OFF
Definition: gdal.h:1205
GDALRPCInfoV2::dfMAX_LAT
double dfMAX_LAT
Definition: gdal.h:1221
GDALRPCInfoV2::dfMIN_LAT
double dfMIN_LAT
Definition: gdal.h:1219
GDALRPCInfoV2::dfLINE_OFF
double dfLINE_OFF
Definition: gdal.h:1201
GDALRPCInfoV2::dfLONG_OFF
double dfLONG_OFF
Definition: gdal.h:1204
GDALRPCInfoV2::dfSAMP_SCALE
double dfSAMP_SCALE
Definition: gdal.h:1208
GDALRPCInfoV2::dfMAX_LONG
double dfMAX_LONG
Definition: gdal.h:1220
GDALRPCInfoV2::dfERR_BIAS
double dfERR_BIAS
Definition: gdal.h:1224
GDALRPCInfoV2::dfERR_RAND
double dfERR_RAND
Definition: gdal.h:1225
GDALRPCInfoV2::dfLINE_SCALE
double dfLINE_SCALE
Definition: gdal.h:1207
GDALRPCInfoV2::dfHEIGHT_SCALE
double dfHEIGHT_SCALE
Definition: gdal.h:1211
GDALRPCInfoV2::dfMIN_LONG
double dfMIN_LONG
Definition: gdal.h:1218
GDALRPCInfoV2::dfLAT_SCALE
double dfLAT_SCALE
Definition: gdal.h:1209
GDALRPCInfoV2::dfSAMP_OFF
double dfSAMP_OFF
Definition: gdal.h:1202
GDALRasterIOExtraArg
Structure to pass extra arguments to RasterIO() method.
Definition: gdal.h:161
GDALRasterIOExtraArg::pProgressData
void * pProgressData
Definition: gdal.h:171
GDALRasterIOExtraArg::eResampleAlg
GDALRIOResampleAlg eResampleAlg
Definition: gdal.h:166
GDALRasterIOExtraArg::dfXOff
double dfXOff
Definition: gdal.h:179
GDALRasterIOExtraArg::nVersion
int nVersion
Definition: gdal.h:163
GDALRasterIOExtraArg::dfYSize
double dfYSize
Definition: gdal.h:185
GDALRasterIOExtraArg::dfYOff
double dfYOff
Definition: gdal.h:181
GDALRasterIOExtraArg::dfXSize
double dfXSize
Definition: gdal.h:183
GDALRasterIOExtraArg::pfnProgress
GDALProgressFunc pfnProgress
Definition: gdal.h:169
GDALRasterIOExtraArg::bFloatingPointWindowValidity
int bFloatingPointWindowValidity
Definition: gdal.h:177
GDAL_GCP
Ground Control Point.
Definition: gdal.h:679
GDAL_GCP::dfGCPLine
double dfGCPLine
Line (y) location of GCP on raster.
Definition: gdal.h:689
GDAL_GCP::dfGCPX
double dfGCPX
X position of GCP in georeferenced space.
Definition: gdal.h:692
GDAL_GCP::pszId
char * pszId
Unique identifier, often numeric.
Definition: gdal.h:681
GDAL_GCP::pszInfo
char * pszInfo
Informational message or "".
Definition: gdal.h:684
GDAL_GCP::dfGCPPixel
double dfGCPPixel
Pixel (x) location of GCP on raster.
Definition: gdal.h:687
GDAL_GCP::dfGCPY
double dfGCPY
Y position of GCP in georeferenced space.
Definition: gdal.h:695
GDAL_GCP::dfGCPZ
double dfGCPZ
Elevation of GCP, or zero if not known.
Definition: gdal.h:698