GDAL
gdal.h
Go to the documentation of this file.
1 /******************************************************************************
2  * $Id$
3  *
4  * Project: GDAL Core
5  * Purpose: GDAL Core C/Public declarations.
6  * Author: Frank Warmerdam, warmerdam@pobox.com
7  *
8  ******************************************************************************
9  * Copyright (c) 1998, 2002 Frank Warmerdam
10  * Copyright (c) 2007-2014, Even Rouault <even dot rouault at spatialys.com>
11  *
12  * Permission is hereby granted, free of charge, to any person obtaining a
13  * copy of this software and associated documentation files (the "Software"),
14  * to deal in the Software without restriction, including without limitation
15  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16  * and/or sell copies of the Software, and to permit persons to whom the
17  * Software is furnished to do so, subject to the following conditions:
18  *
19  * The above copyright notice and this permission notice shall be included
20  * in all copies or substantial portions of the Software.
21  *
22  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28  * DEALINGS IN THE SOFTWARE.
29  ****************************************************************************/
30 
31 #ifndef GDAL_H_INCLUDED
32 #define GDAL_H_INCLUDED
33 
40 #ifndef DOXYGEN_SKIP
41 #if defined(GDAL_COMPILATION)
42 #define DO_NOT_DEFINE_GDAL_DATE_NAME
43 #endif
44 #include "gdal_version.h"
45 #include "cpl_port.h"
46 #include "cpl_error.h"
47 #include "cpl_progress.h"
48 #include "cpl_virtualmem.h"
49 #include "cpl_minixml.h"
50 #include "ogr_api.h"
51 #endif
52 
53 #include <stdbool.h>
54 #include <stdint.h>
55 
56 /* -------------------------------------------------------------------- */
57 /* Significant constants. */
58 /* -------------------------------------------------------------------- */
59 
61 
63 typedef enum { GDT_Unknown = 0, GDT_Byte = 1, GDT_UInt16 = 2, GDT_Int16 = 3, GDT_UInt32 = 4, GDT_Int32 = 5, GDT_UInt64 = 12, GDT_Int64 = 13, GDT_Float32 = 6, GDT_Float64 = 7, GDT_CInt16 = 8, GDT_CInt32 = 9,
76  /* TODO?(#6879): GDT_CInt64 */ GDT_CFloat32 = 10, GDT_CFloat64 = 11,
79  GDT_TypeCount = 14 /* maximum type # + 1 */
80 } GDALDataType;
81 
82 int CPL_DLL CPL_STDCALL GDALGetDataTypeSize( GDALDataType ); // Deprecated.
83 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBits( GDALDataType eDataType );
84 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBytes( GDALDataType );
85 int CPL_DLL CPL_STDCALL GDALDataTypeIsComplex( GDALDataType );
86 int CPL_DLL CPL_STDCALL GDALDataTypeIsInteger( GDALDataType );
87 int CPL_DLL CPL_STDCALL GDALDataTypeIsFloating( GDALDataType );
88 int CPL_DLL CPL_STDCALL GDALDataTypeIsSigned( GDALDataType );
89 const char CPL_DLL * CPL_STDCALL GDALGetDataTypeName( GDALDataType );
90 GDALDataType CPL_DLL CPL_STDCALL GDALGetDataTypeByName( const char * );
92 GDALDataType CPL_DLL CPL_STDCALL GDALDataTypeUnionWithValue( GDALDataType eDT, double dValue, int bComplex );
93 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataType( int nBits, int bSigned, int bFloating, int bComplex );
94 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataTypeForValue( double dValue, int bComplex );
95 double CPL_DLL GDALAdjustValueToDataType( GDALDataType eDT, double dfValue, int* pbClamped, int* pbRounded );
97 int CPL_DLL CPL_STDCALL GDALDataTypeIsConversionLossy( GDALDataType eTypeFrom,
98  GDALDataType eTypeTo );
99 
103 typedef enum
104 {
105  GARIO_PENDING = 0,
106  GARIO_UPDATE = 1,
107  GARIO_ERROR = 2,
108  GARIO_COMPLETE = 3,
109  GARIO_TypeCount = 4
111 
112 const char CPL_DLL * CPL_STDCALL GDALGetAsyncStatusTypeName( GDALAsyncStatusType );
113 GDALAsyncStatusType CPL_DLL CPL_STDCALL GDALGetAsyncStatusTypeByName( const char * );
114 
116 typedef enum { GA_ReadOnly = 0, GA_Update = 1
119 } GDALAccess;
120 
122 typedef enum { GF_Read = 0, GF_Write = 1
125 } GDALRWFlag;
126 
127 /* NOTE: values are selected to be consistent with GDALResampleAlg of alg/gdalwarper.h */
131 typedef enum
142  /* NOTE: values 8 to 13 are reserved for max,min,med,Q1,Q3,sum */
144  GRIORA_RESERVED_START = 8,
145  GRIORA_RESERVED_END = 13,
152  GRIORA_LAST = GRIORA_RMS
155 
156 /* NOTE to developers: only add members, and if so edit INIT_RASTERIO_EXTRA_ARG */
161 typedef struct
162 {
164  int nVersion;
165 
168 
170  GDALProgressFunc pfnProgress;
173 
180  double dfXOff;
182  double dfYOff;
184  double dfXSize;
186  double dfYSize;
188 
189 #ifndef DOXYGEN_SKIP
190 #define RASTERIO_EXTRA_ARG_CURRENT_VERSION 1
191 #endif
192 
196 #define INIT_RASTERIO_EXTRA_ARG(s) \
197  do { (s).nVersion = RASTERIO_EXTRA_ARG_CURRENT_VERSION; \
198  (s).eResampleAlg = GRIORA_NearestNeighbour; \
199  (s).pfnProgress = CPL_NULLPTR; \
200  (s).pProgressData = CPL_NULLPTR; \
201  (s).bFloatingPointWindowValidity = FALSE; } while(0)
202 
204 typedef enum
225 
226 const char CPL_DLL *GDALGetColorInterpretationName( GDALColorInterp );
227 GDALColorInterp CPL_DLL GDALGetColorInterpretationByName( const char *pszName );
228 
230 typedef enum
231 { GPI_Gray=0, GPI_RGB=1, GPI_CMYK=2, GPI_HLS=3
237 
239 
240 /* "well known" metadata items. */
241 
244 #define GDALMD_AREA_OR_POINT "AREA_OR_POINT"
245 
247 # define GDALMD_AOP_AREA "Area"
248 
250 # define GDALMD_AOP_POINT "Point"
251 
252 /* -------------------------------------------------------------------- */
253 /* GDAL Specific error codes. */
254 /* */
255 /* error codes 100 to 299 reserved for GDAL. */
256 /* -------------------------------------------------------------------- */
257 #ifndef DOXYGEN_SKIP
258 #define CPLE_WrongFormat CPL_STATIC_CAST(CPLErrorNum, 200)
259 #endif
260 
261 /* -------------------------------------------------------------------- */
262 /* Define handle types related to various internal classes. */
263 /* -------------------------------------------------------------------- */
264 
266 typedef void *GDALMajorObjectH;
267 
269 typedef void *GDALDatasetH;
270 
272 typedef void *GDALRasterBandH;
273 
275 typedef void *GDALDriverH;
276 
278 typedef void *GDALColorTableH;
279 
282 
284 typedef void *GDALAsyncReaderH;
285 
289 typedef void *GDALRelationshipH;
290 
293 
297 typedef enum {
305 
309 typedef enum {
315 
317 typedef struct GDALExtendedDataTypeHS* GDALExtendedDataTypeH;
319 typedef struct GDALEDTComponentHS* GDALEDTComponentH;
321 typedef struct GDALGroupHS* GDALGroupH;
323 typedef struct GDALMDArrayHS* GDALMDArrayH;
325 typedef struct GDALAttributeHS* GDALAttributeH;
327 typedef struct GDALDimensionHS* GDALDimensionH;
328 
329 /* ==================================================================== */
330 /* Registration/driver related. */
331 /* ==================================================================== */
332 
334 #define GDAL_DMD_LONGNAME "DMD_LONGNAME"
335 
337 #define GDAL_DMD_HELPTOPIC "DMD_HELPTOPIC"
338 
340 #define GDAL_DMD_MIMETYPE "DMD_MIMETYPE"
341 
343 #define GDAL_DMD_EXTENSION "DMD_EXTENSION"
344 
349 #define GDAL_DMD_CONNECTION_PREFIX "DMD_CONNECTION_PREFIX"
350 
354 #define GDAL_DMD_EXTENSIONS "DMD_EXTENSIONS"
355 
357 #define GDAL_DMD_CREATIONOPTIONLIST "DMD_CREATIONOPTIONLIST"
358 
362 #define GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST "DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST"
363 
367 #define GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST "DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST"
368 
372 #define GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST "DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST"
373 
377 #define GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST "DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST"
378 
382 #define GDAL_DMD_MULTIDIM_ARRAY_OPENOPTIONLIST "DMD_MULTIDIM_ARRAY_OPENOPTIONLIST"
383 
387 #define GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST "DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST"
388 
392 #define GDAL_DMD_OPENOPTIONLIST "DMD_OPENOPTIONLIST"
393 
395 #define GDAL_DMD_CREATIONDATATYPES "DMD_CREATIONDATATYPES"
396 
400 #define GDAL_DMD_CREATIONFIELDDATATYPES "DMD_CREATIONFIELDDATATYPES"
401 
405 #define GDAL_DMD_CREATIONFIELDDATASUBTYPES "DMD_CREATIONFIELDDATASUBTYPES"
406 
415 #define GDAL_DMD_SUBDATASETS "DMD_SUBDATASETS"
416 
418 #define GDAL_DCAP_OPEN "DCAP_OPEN"
419 
428 #define GDAL_DCAP_CREATE "DCAP_CREATE"
429 
434 #define GDAL_DCAP_CREATE_MULTIDIMENSIONAL "DCAP_CREATE_MULTIDIMENSIONAL"
435 
444 #define GDAL_DCAP_CREATECOPY "DCAP_CREATECOPY"
445 
451 #define GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL "DCAP_CREATECOPY_MULTIDIMENSIONAL"
452 
456 #define GDAL_DCAP_MULTIDIM_RASTER "DCAP_MULTIDIM_RASTER"
457 
459 #define GDAL_DCAP_SUBCREATECOPY "DCAP_SUBCREATECOPY"
460 
462 #define GDAL_DCAP_VIRTUALIO "DCAP_VIRTUALIO"
463 
467 #define GDAL_DCAP_RASTER "DCAP_RASTER"
468 
472 #define GDAL_DCAP_VECTOR "DCAP_VECTOR"
473 
477 #define GDAL_DCAP_GNM "DCAP_GNM"
478 
482 #define GDAL_DCAP_CREATE_LAYER "DCAP_CREATE_LAYER"
483 
487 #define GDAL_DCAP_DELETE_LAYER "DCAP_DELETE_LAYER"
488 
492 #define GDAL_DCAP_CREATE_FIELD "DCAP_CREATE_FIELD"
493 
497 #define GDAL_DCAP_DELETE_FIELD "DCAP_DELETE_FIELD"
498 
502 #define GDAL_DCAP_REORDER_FIELDS "DCAP_REORDER_FIELDS"
503 
518 #define GDAL_DMD_ALTER_FIELD_DEFN_FLAGS "GDAL_DMD_ALTER_FIELD_DEFN_FLAGS"
519 
523 #define GDAL_DCAP_NOTNULL_FIELDS "DCAP_NOTNULL_FIELDS"
524 
528 #define GDAL_DCAP_UNIQUE_FIELDS "DCAP_UNIQUE_FIELDS"
529 
533 #define GDAL_DCAP_DEFAULT_FIELDS "DCAP_DEFAULT_FIELDS"
534 
538 #define GDAL_DCAP_NOTNULL_GEOMFIELDS "DCAP_NOTNULL_GEOMFIELDS"
539 
545 #define GDAL_DCAP_NONSPATIAL "DCAP_NONSPATIAL"
546 
550 #define GDAL_DCAP_CURVE_GEOMETRIES "DCAP_CURVE_GEOMETRIES"
551 
556 #define GDAL_DCAP_MEASURED_GEOMETRIES "DCAP_MEASURED_GEOMETRIES"
557 
562 #define GDAL_DCAP_Z_GEOMETRIES "DCAP_Z_GEOMETRIES"
563 
574 #define GDAL_DMD_GEOMETRY_FLAGS "GDAL_DMD_GEOMETRY_FLAGS"
575 
579 #define GDAL_DCAP_FEATURE_STYLES "DCAP_FEATURE_STYLES"
580 
584 #define GDAL_DCAP_COORDINATE_EPOCH "DCAP_COORDINATE_EPOCH"
585 
594 #define GDAL_DCAP_MULTIPLE_VECTOR_LAYERS "DCAP_MULTIPLE_VECTOR_LAYERS"
595 
600 #define GDAL_DCAP_FIELD_DOMAINS "DCAP_FIELD_DOMAINS"
601 
606 #define GDAL_DCAP_RELATIONSHIPS "DCAP_RELATIONSHIPS"
607 
611 #define GDAL_DCAP_CREATE_RELATIONSHIP "DCAP_CREATE_RELATIONSHIP"
612 
616 #define GDAL_DCAP_DELETE_RELATIONSHIP "DCAP_DELETE_RELATIONSHIP"
617 
621 #define GDAL_DCAP_UPDATE_RELATIONSHIP "DCAP_UPDATE_RELATIONSHIP"
622 
640 #define GDAL_DMD_RELATIONSHIP_FLAGS "GDAL_DMD_RELATIONSHIP_FLAGS"
641 
646 #define GDAL_DCAP_RENAME_LAYERS "DCAP_RENAME_LAYERS"
647 
655 #define GDAL_DMD_CREATION_FIELD_DOMAIN_TYPES "DMD_CREATION_FIELD_DOMAIN_TYPES"
656 
671 #define GDAL_DMD_ALTER_GEOM_FIELD_DEFN_FLAGS "DMD_ALTER_GEOM_FIELD_DEFN_FLAGS"
672 
692 #define GDAL_DMD_SUPPORTED_SQL_DIALECTS "DMD_SUPPORTED_SQL_DIALECTS"
693 
697 #define GDAL_DIM_TYPE_HORIZONTAL_X "HORIZONTAL_X"
698 
702 #define GDAL_DIM_TYPE_HORIZONTAL_Y "HORIZONTAL_Y"
703 
707 #define GDAL_DIM_TYPE_VERTICAL "VERTICAL"
708 
712 #define GDAL_DIM_TYPE_TEMPORAL "TEMPORAL"
713 
717 #define GDAL_DIM_TYPE_PARAMETRIC "PARAMETRIC"
718 
719 #define GDsCAddRelationship "AddRelationship"
720 #define GDsCDeleteRelationship "DeleteRelationship"
721 #define GDsCUpdateRelationship "UpdateRelationship"
723 void CPL_DLL CPL_STDCALL GDALAllRegister( void );
724 
725 GDALDatasetH CPL_DLL CPL_STDCALL GDALCreate( GDALDriverH hDriver,
726  const char *, int, int, int, GDALDataType,
728 GDALDatasetH CPL_DLL CPL_STDCALL
729 GDALCreateCopy( GDALDriverH, const char *, GDALDatasetH,
730  int, CSLConstList, GDALProgressFunc, void * ) CPL_WARN_UNUSED_RESULT;
731 
732 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriver( const char * pszFilename,
733  CSLConstList papszFileList );
734 
735 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriverEx(
736  const char *pszFilename, unsigned int nIdentifyFlags,
737  const char *const *papszAllowedDrivers, const char *const *papszFileList);
738 
739 GDALDatasetH CPL_DLL CPL_STDCALL
740 GDALOpen( const char *pszFilename, GDALAccess eAccess ) CPL_WARN_UNUSED_RESULT;
741 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenShared( const char *, GDALAccess ) CPL_WARN_UNUSED_RESULT;
742 
743 /* Note: we define GDAL_OF_READONLY and GDAL_OF_UPDATE to be on purpose */
744 /* equals to GA_ReadOnly and GA_Update */
745 
750 #define GDAL_OF_READONLY 0x00
751 
756 #define GDAL_OF_UPDATE 0x01
757 
762 #define GDAL_OF_ALL 0x00
763 
768 #define GDAL_OF_RASTER 0x02
769 
774 #define GDAL_OF_VECTOR 0x04
775 
780 #define GDAL_OF_GNM 0x08
781 
786 #define GDAL_OF_MULTIDIM_RASTER 0x10
787 
788 #ifndef DOXYGEN_SKIP
789 #define GDAL_OF_KIND_MASK 0x1E
790 #endif
791 
796 #define GDAL_OF_SHARED 0x20
797 
802 #define GDAL_OF_VERBOSE_ERROR 0x40
803 
810 #define GDAL_OF_INTERNAL 0x80
811 
821 #define GDAL_OF_DEFAULT_BLOCK_ACCESS 0
822 
831 #define GDAL_OF_ARRAY_BLOCK_ACCESS 0x100
832 
841 #define GDAL_OF_HASHSET_BLOCK_ACCESS 0x200
842 
843 #ifndef DOXYGEN_SKIP
844 /* Reserved for a potential future alternative to GDAL_OF_ARRAY_BLOCK_ACCESS
845  * and GDAL_OF_HASHSET_BLOCK_ACCESS */
846 #define GDAL_OF_RESERVED_1 0x300
847 
849 #define GDAL_OF_BLOCK_ACCESS_MASK 0x300
850 #endif
851 
852 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
853  unsigned int nOpenFlags,
854  const char* const* papszAllowedDrivers,
855  const char* const* papszOpenOptions,
856  const char* const* papszSiblingFiles ) CPL_WARN_UNUSED_RESULT;
857 
858 int CPL_DLL CPL_STDCALL GDALDumpOpenDatasets( FILE * );
859 
860 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriverByName( const char * );
861 int CPL_DLL CPL_STDCALL GDALGetDriverCount( void );
862 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriver( int );
863 GDALDriverH CPL_DLL CPL_STDCALL GDALCreateDriver( void );
864 void CPL_DLL CPL_STDCALL GDALDestroyDriver( GDALDriverH );
865 int CPL_DLL CPL_STDCALL GDALRegisterDriver( GDALDriverH );
866 void CPL_DLL CPL_STDCALL GDALDeregisterDriver( GDALDriverH );
867 void CPL_DLL CPL_STDCALL GDALDestroyDriverManager( void );
868 #ifndef DOXYGEN_SKIP
869 void CPL_DLL GDALDestroy( void );
870 #endif
871 CPLErr CPL_DLL CPL_STDCALL GDALDeleteDataset( GDALDriverH, const char * );
872 CPLErr CPL_DLL CPL_STDCALL GDALRenameDataset( GDALDriverH,
873  const char * pszNewName,
874  const char * pszOldName );
875 CPLErr CPL_DLL CPL_STDCALL GDALCopyDatasetFiles( GDALDriverH,
876  const char * pszNewName,
877  const char * pszOldName);
878 int CPL_DLL CPL_STDCALL GDALValidateCreationOptions( GDALDriverH,
879  CSLConstList papszCreationOptions);
880 
881 /* The following are deprecated */
882 const char CPL_DLL * CPL_STDCALL GDALGetDriverShortName( GDALDriverH );
883 const char CPL_DLL * CPL_STDCALL GDALGetDriverLongName( GDALDriverH );
884 const char CPL_DLL * CPL_STDCALL GDALGetDriverHelpTopic( GDALDriverH );
885 const char CPL_DLL * CPL_STDCALL GDALGetDriverCreationOptionList( GDALDriverH );
886 
887 /* ==================================================================== */
888 /* GDAL_GCP */
889 /* ==================================================================== */
890 
892 typedef struct
893 {
895  char *pszId;
896 
898  char *pszInfo;
899 
901  double dfGCPPixel;
903  double dfGCPLine;
904 
906  double dfGCPX;
907 
909  double dfGCPY;
910 
912  double dfGCPZ;
913 } GDAL_GCP;
914 
915 void CPL_DLL CPL_STDCALL GDALInitGCPs( int, GDAL_GCP * );
916 void CPL_DLL CPL_STDCALL GDALDeinitGCPs( int, GDAL_GCP * );
917 GDAL_GCP CPL_DLL * CPL_STDCALL GDALDuplicateGCPs( int, const GDAL_GCP * );
918 
919 int CPL_DLL CPL_STDCALL
920 GDALGCPsToGeoTransform( int nGCPCount, const GDAL_GCP *pasGCPs,
921  double *padfGeoTransform, int bApproxOK ) CPL_WARN_UNUSED_RESULT;
922 int CPL_DLL CPL_STDCALL
923 GDALInvGeoTransform( double *padfGeoTransformIn,
924  double *padfInvGeoTransformOut ) CPL_WARN_UNUSED_RESULT;
925 void CPL_DLL CPL_STDCALL GDALApplyGeoTransform( double *, double, double,
926  double *, double * );
927 void CPL_DLL GDALComposeGeoTransforms(const double *padfGeoTransform1,
928  const double *padfGeoTransform2,
929  double *padfGeoTransformOut);
930 
931 /* ==================================================================== */
932 /* major objects (dataset, and, driver, drivermanager). */
933 /* ==================================================================== */
934 
935 char CPL_DLL ** CPL_STDCALL GDALGetMetadataDomainList( GDALMajorObjectH hObject );
936 char CPL_DLL ** CPL_STDCALL GDALGetMetadata( GDALMajorObjectH, const char * );
938  const char * );
939 const char CPL_DLL * CPL_STDCALL
940 GDALGetMetadataItem( GDALMajorObjectH, const char *, const char * );
941 CPLErr CPL_DLL CPL_STDCALL
942 GDALSetMetadataItem( GDALMajorObjectH, const char *, const char *,
943  const char * );
944 const char CPL_DLL * CPL_STDCALL GDALGetDescription( GDALMajorObjectH );
945 void CPL_DLL CPL_STDCALL GDALSetDescription( GDALMajorObjectH, const char * );
946 
947 /* ==================================================================== */
948 /* GDALDataset class ... normally this represents one file. */
949 /* ==================================================================== */
950 
952 #define GDAL_DS_LAYER_CREATIONOPTIONLIST "DS_LAYER_CREATIONOPTIONLIST"
953 
954 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDatasetDriver( GDALDatasetH );
955 char CPL_DLL ** CPL_STDCALL GDALGetFileList( GDALDatasetH );
956 void CPL_DLL CPL_STDCALL GDALClose( GDALDatasetH );
957 int CPL_DLL CPL_STDCALL GDALGetRasterXSize( GDALDatasetH );
958 int CPL_DLL CPL_STDCALL GDALGetRasterYSize( GDALDatasetH );
959 int CPL_DLL CPL_STDCALL GDALGetRasterCount( GDALDatasetH );
960 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetRasterBand( GDALDatasetH, int );
961 
962 CPLErr CPL_DLL CPL_STDCALL GDALAddBand( GDALDatasetH hDS, GDALDataType eType,
963  CSLConstList papszOptions );
964 
965 GDALAsyncReaderH CPL_DLL CPL_STDCALL
966 GDALBeginAsyncReader(GDALDatasetH hDS, int nXOff, int nYOff,
967  int nXSize, int nYSize,
968  void *pBuf, int nBufXSize, int nBufYSize,
969  GDALDataType eBufType, int nBandCount, int* panBandMap,
970  int nPixelSpace, int nLineSpace, int nBandSpace,
971  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
972 
973 void CPL_DLL CPL_STDCALL
975 
976 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIO(
977  GDALDatasetH hDS, GDALRWFlag eRWFlag,
978  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
979  void * pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType,
980  int nBandCount, int *panBandCount,
981  int nPixelSpace, int nLineSpace, int nBandSpace) CPL_WARN_UNUSED_RESULT;
982 
983 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIOEx(
984  GDALDatasetH hDS, GDALRWFlag eRWFlag,
985  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
986  void * pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType,
987  int nBandCount, int *panBandCount,
988  GSpacing nPixelSpace, GSpacing nLineSpace, GSpacing nBandSpace,
990 
991 CPLErr CPL_DLL CPL_STDCALL GDALDatasetAdviseRead( GDALDatasetH hDS,
992  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
993  int nBXSize, int nBYSize, GDALDataType eBDataType,
994  int nBandCount, int *panBandCount, CSLConstList papszOptions );
995 
996 const char CPL_DLL * CPL_STDCALL GDALGetProjectionRef( GDALDatasetH );
998 CPLErr CPL_DLL CPL_STDCALL GDALSetProjection( GDALDatasetH, const char * );
1000 CPLErr CPL_DLL CPL_STDCALL GDALGetGeoTransform( GDALDatasetH, double * );
1001 CPLErr CPL_DLL CPL_STDCALL GDALSetGeoTransform( GDALDatasetH, double * );
1002 
1003 int CPL_DLL CPL_STDCALL GDALGetGCPCount( GDALDatasetH );
1004 const char CPL_DLL * CPL_STDCALL GDALGetGCPProjection( GDALDatasetH );
1006 const GDAL_GCP CPL_DLL * CPL_STDCALL GDALGetGCPs( GDALDatasetH );
1007 CPLErr CPL_DLL CPL_STDCALL GDALSetGCPs( GDALDatasetH, int, const GDAL_GCP *,
1008  const char * );
1009 CPLErr CPL_DLL GDALSetGCPs2( GDALDatasetH, int, const GDAL_GCP *,
1011 
1012 void CPL_DLL * CPL_STDCALL GDALGetInternalHandle( GDALDatasetH, const char * );
1013 int CPL_DLL CPL_STDCALL GDALReferenceDataset( GDALDatasetH );
1014 int CPL_DLL CPL_STDCALL GDALDereferenceDataset( GDALDatasetH );
1015 int CPL_DLL CPL_STDCALL GDALReleaseDataset( GDALDatasetH );
1016 
1017 CPLErr CPL_DLL CPL_STDCALL
1018 GDALBuildOverviews( GDALDatasetH, const char *,
1019  int, const int *,
1020  int, const int *,
1021  GDALProgressFunc, void * ) CPL_WARN_UNUSED_RESULT;
1022 CPLErr CPL_DLL CPL_STDCALL
1023 GDALBuildOverviewsEx( GDALDatasetH, const char *,
1024  int, const int *,
1025  int, const int *,
1026  GDALProgressFunc, void *,
1027  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1028 void CPL_DLL CPL_STDCALL GDALGetOpenDatasets( GDALDatasetH **hDS, int *pnCount );
1029 int CPL_DLL CPL_STDCALL GDALGetAccess( GDALDatasetH hDS );
1030 void CPL_DLL CPL_STDCALL GDALFlushCache( GDALDatasetH hDS );
1031 
1032 CPLErr CPL_DLL CPL_STDCALL
1033  GDALCreateDatasetMaskBand( GDALDatasetH hDS, int nFlags );
1034 
1035 CPLErr CPL_DLL CPL_STDCALL GDALDatasetCopyWholeRaster(
1036  GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions,
1037  GDALProgressFunc pfnProgress, void *pProgressData ) CPL_WARN_UNUSED_RESULT;
1038 
1039 CPLErr CPL_DLL CPL_STDCALL GDALRasterBandCopyWholeRaster(
1040  GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand,
1041  const char * const * constpapszOptions,
1042  GDALProgressFunc pfnProgress, void *pProgressData ) CPL_WARN_UNUSED_RESULT;
1043 
1044 CPLErr CPL_DLL
1046  int nOverviewCount, GDALRasterBandH *pahOverviewBands,
1047  const char *pszResampling,
1048  GDALProgressFunc pfnProgress, void *pProgressData );
1049 
1050 CPLErr CPL_DLL
1052  int nOverviewCount, GDALRasterBandH *pahOverviewBands,
1053  const char *pszResampling,
1054  GDALProgressFunc pfnProgress, void *pProgressData,
1055  CSLConstList papszOptions );
1056 
1057 int CPL_DLL GDALDatasetGetLayerCount( GDALDatasetH );
1059 OGRLayerH CPL_DLL GDALDatasetGetLayerByName( GDALDatasetH, const char * );
1060 int CPL_DLL GDALDatasetIsLayerPrivate( GDALDatasetH, int );
1062 OGRLayerH CPL_DLL GDALDatasetCreateLayer( GDALDatasetH, const char *,
1064  CSLConstList );
1065 OGRLayerH CPL_DLL GDALDatasetCopyLayer( GDALDatasetH, OGRLayerH, const char *,
1066  CSLConstList );
1067 void CPL_DLL GDALDatasetResetReading( GDALDatasetH );
1069  OGRLayerH* phBelongingLayer,
1070  double* pdfProgressPct,
1071  GDALProgressFunc pfnProgress,
1072  void* pProgressData );
1073 int CPL_DLL GDALDatasetTestCapability( GDALDatasetH, const char * );
1074 OGRLayerH CPL_DLL GDALDatasetExecuteSQL( GDALDatasetH, const char *,
1075  OGRGeometryH, const char * );
1081 OGRErr CPL_DLL GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce);
1084 void CPL_DLL GDALDatasetClearStatistics(GDALDatasetH hDS);
1085 
1088  const char* pszName);
1089 bool CPL_DLL GDALDatasetAddFieldDomain(GDALDatasetH hDS,
1090  OGRFieldDomainH hFieldDomain,
1091  char** ppszFailureReason);
1093  const char* pszName,
1094  char** ppszFailureReason);
1096  OGRFieldDomainH hFieldDomain,
1097  char** ppszFailureReason);
1098 
1101  const char* pszName);
1102 
1103 bool CPL_DLL GDALDatasetAddRelationship(GDALDatasetH hDS,
1104  GDALRelationshipH hRelationship,
1105  char** ppszFailureReason);
1107  const char* pszName,
1108  char** ppszFailureReason);
1110  GDALRelationshipH hRelationship,
1111  char** ppszFailureReason);
1112 
1113 /* ==================================================================== */
1114 /* GDALRasterBand ... one band/channel in a dataset. */
1115 /* ==================================================================== */
1116 
1117 /* Note: the only user of SRCVAL() was frmts/vrt/pixelfunctions.cpp and we no */
1118 /* longer use it. */
1119 
1124 #define SRCVAL(papoSource, eSrcType, ii) \
1125  (eSrcType == GDT_Byte ? \
1126  CPL_REINTERPRET_CAST(const GByte*,papoSource)[ii] : \
1127  (eSrcType == GDT_Float32 ? \
1128  CPL_REINTERPRET_CAST(const float*,papoSource)[ii] : \
1129  (eSrcType == GDT_Float64 ? \
1130  CPL_REINTERPRET_CAST(const double*,papoSource)[ii] : \
1131  (eSrcType == GDT_Int32 ? \
1132  CPL_REINTERPRET_CAST(const GInt32*,papoSource)[ii] : \
1133  (eSrcType == GDT_UInt16 ? \
1134  CPL_REINTERPRET_CAST(const GUInt16*,papoSource)[ii] : \
1135  (eSrcType == GDT_Int16 ? \
1136  CPL_REINTERPRET_CAST(const GInt16*,papoSource)[ii] : \
1137  (eSrcType == GDT_UInt32 ? \
1138  CPL_REINTERPRET_CAST(const GUInt32*,papoSource)[ii] : \
1139  (eSrcType == GDT_CInt16 ? \
1140  CPL_REINTERPRET_CAST(const GInt16*,papoSource)[(ii) * 2] : \
1141  (eSrcType == GDT_CInt32 ? \
1142  CPL_REINTERPRET_CAST(const GInt32*,papoSource)[(ii) * 2] : \
1143  (eSrcType == GDT_CFloat32 ? \
1144  CPL_REINTERPRET_CAST(const float*,papoSource)[(ii) * 2] : \
1145  (eSrcType == GDT_CFloat64 ? \
1146  CPL_REINTERPRET_CAST(const double*,papoSource)[(ii) * 2] : 0)))))))))))
1147 
1150 typedef CPLErr
1151 (*GDALDerivedPixelFunc)(void **papoSources, int nSources, void *pData,
1152  int nBufXSize, int nBufYSize,
1153  GDALDataType eSrcType, GDALDataType eBufType,
1154  int nPixelSpace, int nLineSpace);
1155 
1158 typedef CPLErr
1159 (*GDALDerivedPixelFuncWithArgs)(void **papoSources, int nSources, void *pData,
1160  int nBufXSize, int nBufYSize,
1161  GDALDataType eSrcType, GDALDataType eBufType,
1162  int nPixelSpace, int nLineSpace,
1163  CSLConstList papszFunctionArgs);
1164 
1165 GDALDataType CPL_DLL CPL_STDCALL GDALGetRasterDataType( GDALRasterBandH );
1166 void CPL_DLL CPL_STDCALL
1167 GDALGetBlockSize( GDALRasterBandH, int * pnXSize, int * pnYSize );
1168 
1169 CPLErr CPL_DLL CPL_STDCALL
1170 GDALGetActualBlockSize( GDALRasterBandH, int nXBlockOff, int nYBlockOff,
1171  int *pnXValid, int *pnYValid );
1172 
1173 CPLErr CPL_DLL CPL_STDCALL GDALRasterAdviseRead( GDALRasterBandH hRB,
1174  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
1175  int nBXSize, int nBYSize, GDALDataType eBDataType, CSLConstList papszOptions );
1176 
1177 CPLErr CPL_DLL CPL_STDCALL
1178 GDALRasterIO( GDALRasterBandH hRBand, GDALRWFlag eRWFlag,
1179  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
1180  void * pBuffer, int nBXSize, int nBYSize,GDALDataType eBDataType,
1181  int nPixelSpace, int nLineSpace ) CPL_WARN_UNUSED_RESULT;
1182 CPLErr CPL_DLL CPL_STDCALL
1183 GDALRasterIOEx( GDALRasterBandH hRBand, GDALRWFlag eRWFlag,
1184  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
1185  void * pBuffer, int nBXSize, int nBYSize,GDALDataType eBDataType,
1186  GSpacing nPixelSpace, GSpacing nLineSpace,
1188 CPLErr CPL_DLL CPL_STDCALL GDALReadBlock( GDALRasterBandH, int, int, void * ) CPL_WARN_UNUSED_RESULT;
1189 CPLErr CPL_DLL CPL_STDCALL GDALWriteBlock( GDALRasterBandH, int, int, void * ) CPL_WARN_UNUSED_RESULT;
1190 int CPL_DLL CPL_STDCALL GDALGetRasterBandXSize( GDALRasterBandH );
1191 int CPL_DLL CPL_STDCALL GDALGetRasterBandYSize( GDALRasterBandH );
1192 GDALAccess CPL_DLL CPL_STDCALL GDALGetRasterAccess( GDALRasterBandH );
1193 int CPL_DLL CPL_STDCALL GDALGetBandNumber( GDALRasterBandH );
1194 GDALDatasetH CPL_DLL CPL_STDCALL GDALGetBandDataset( GDALRasterBandH );
1195 
1196 GDALColorInterp CPL_DLL CPL_STDCALL
1198 CPLErr CPL_DLL CPL_STDCALL
1202 int CPL_DLL CPL_STDCALL GDALHasArbitraryOverviews( GDALRasterBandH );
1203 int CPL_DLL CPL_STDCALL GDALGetOverviewCount( GDALRasterBandH );
1204 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetOverview( GDALRasterBandH, int );
1205 double CPL_DLL CPL_STDCALL GDALGetRasterNoDataValue( GDALRasterBandH, int * );
1206 int64_t CPL_DLL CPL_STDCALL GDALGetRasterNoDataValueAsInt64( GDALRasterBandH, int * );
1207 uint64_t CPL_DLL CPL_STDCALL GDALGetRasterNoDataValueAsUInt64( GDALRasterBandH, int * );
1208 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValue( GDALRasterBandH, double );
1209 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValueAsInt64( GDALRasterBandH, int64_t );
1210 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValueAsUInt64( GDALRasterBandH, uint64_t );
1211 CPLErr CPL_DLL CPL_STDCALL GDALDeleteRasterNoDataValue( GDALRasterBandH );
1212 char CPL_DLL ** CPL_STDCALL GDALGetRasterCategoryNames( GDALRasterBandH );
1214 double CPL_DLL CPL_STDCALL GDALGetRasterMinimum( GDALRasterBandH, int *pbSuccess );
1215 double CPL_DLL CPL_STDCALL GDALGetRasterMaximum( GDALRasterBandH, int *pbSuccess );
1216 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterStatistics(
1217  GDALRasterBandH, int bApproxOK, int bForce,
1218  double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev );
1219 CPLErr CPL_DLL CPL_STDCALL GDALComputeRasterStatistics(
1220  GDALRasterBandH, int bApproxOK,
1221  double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev,
1222  GDALProgressFunc pfnProgress, void *pProgressData );
1223 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterStatistics(
1224  GDALRasterBandH hBand,
1225  double dfMin, double dfMax, double dfMean, double dfStdDev );
1226 
1228 
1229 const char CPL_DLL * CPL_STDCALL GDALGetRasterUnitType( GDALRasterBandH );
1230 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterUnitType( GDALRasterBandH hBand, const char *pszNewValue );
1231 double CPL_DLL CPL_STDCALL GDALGetRasterOffset( GDALRasterBandH, int *pbSuccess );
1232 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterOffset( GDALRasterBandH hBand, double dfNewOffset);
1233 double CPL_DLL CPL_STDCALL GDALGetRasterScale( GDALRasterBandH, int *pbSuccess );
1234 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterScale( GDALRasterBandH hBand, double dfNewOffset );
1235 CPLErr CPL_DLL CPL_STDCALL
1236 GDALComputeRasterMinMax( GDALRasterBandH hBand, int bApproxOK,
1237  double adfMinMax[2] );
1238 CPLErr CPL_DLL CPL_STDCALL GDALFlushRasterCache( GDALRasterBandH hBand );
1239 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogram( GDALRasterBandH hBand,
1240  double dfMin, double dfMax,
1241  int nBuckets, int *panHistogram,
1242  int bIncludeOutOfRange, int bApproxOK,
1243  GDALProgressFunc pfnProgress,
1244  void * pProgressData )
1246  CPL_WARN_DEPRECATED("Use GDALGetRasterHistogramEx() instead")
1248  ;
1249 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogramEx( GDALRasterBandH hBand,
1250  double dfMin, double dfMax,
1251  int nBuckets, GUIntBig *panHistogram,
1252  int bIncludeOutOfRange, int bApproxOK,
1253  GDALProgressFunc pfnProgress,
1254  void * pProgressData );
1255 CPLErr CPL_DLL CPL_STDCALL GDALGetDefaultHistogram( GDALRasterBandH hBand,
1256  double *pdfMin, double *pdfMax,
1257  int *pnBuckets, int **ppanHistogram,
1258  int bForce,
1259  GDALProgressFunc pfnProgress,
1260  void * pProgressData )
1262  CPL_WARN_DEPRECATED("Use GDALGetDefaultHistogramEx() instead")
1264  ;
1265 CPLErr CPL_DLL CPL_STDCALL GDALGetDefaultHistogramEx( GDALRasterBandH hBand,
1266  double *pdfMin, double *pdfMax,
1267  int *pnBuckets, GUIntBig **ppanHistogram,
1268  int bForce,
1269  GDALProgressFunc pfnProgress,
1270  void * pProgressData );
1271 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogram( GDALRasterBandH hBand,
1272  double dfMin, double dfMax,
1273  int nBuckets, int *panHistogram )
1275  CPL_WARN_DEPRECATED("Use GDALSetDefaultHistogramEx() instead")
1277  ;
1278 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogramEx( GDALRasterBandH hBand,
1279  double dfMin, double dfMax,
1280  int nBuckets, GUIntBig *panHistogram );
1281 int CPL_DLL CPL_STDCALL
1283 GDALRasterBandH CPL_DLL CPL_STDCALL
1285 GDALRasterBandH CPL_DLL CPL_STDCALL
1287 CPLErr CPL_DLL CPL_STDCALL GDALFillRaster( GDALRasterBandH hBand,
1288  double dfRealValue, double dfImaginaryValue );
1289 CPLErr CPL_DLL CPL_STDCALL
1290 GDALComputeBandStats( GDALRasterBandH hBand, int nSampleStep,
1291  double *pdfMean, double *pdfStdDev,
1292  GDALProgressFunc pfnProgress,
1293  void *pProgressData );
1295  int nOverviewCount,
1296  GDALRasterBandH *pahOverviews,
1297  GDALProgressFunc pfnProgress,
1298  void *pProgressData );
1299 
1300 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL GDALGetDefaultRAT(
1301  GDALRasterBandH hBand );
1302 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultRAT( GDALRasterBandH,
1304 CPLErr CPL_DLL CPL_STDCALL GDALAddDerivedBandPixelFunc( const char *pszName,
1305  GDALDerivedPixelFunc pfnPixelFunc );
1306 CPLErr CPL_DLL CPL_STDCALL GDALAddDerivedBandPixelFuncWithArgs( const char *pszName,
1307  GDALDerivedPixelFuncWithArgs pfnPixelFunc,
1308  const char *pszMetadata);
1309 
1310 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetMaskBand( GDALRasterBandH hBand );
1311 int CPL_DLL CPL_STDCALL GDALGetMaskFlags( GDALRasterBandH hBand );
1312 CPLErr CPL_DLL CPL_STDCALL
1313  GDALCreateMaskBand( GDALRasterBandH hBand, int nFlags );
1314 bool CPL_DLL GDALIsMaskBand( GDALRasterBandH hBand );
1315 
1317 #define GMF_ALL_VALID 0x01
1318 
1320 #define GMF_PER_DATASET 0x02
1321 
1323 #define GMF_ALPHA 0x04
1324 
1326 #define GMF_NODATA 0x08
1327 
1331 #define GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED 0x01
1332 
1337 #define GDAL_DATA_COVERAGE_STATUS_DATA 0x02
1338 
1344 #define GDAL_DATA_COVERAGE_STATUS_EMPTY 0x04
1345 
1346 int CPL_DLL CPL_STDCALL GDALGetDataCoverageStatus( GDALRasterBandH hBand,
1347  int nXOff, int nYOff,
1348  int nXSize, int nYSize,
1349  int nMaskFlagStop,
1350  double* pdfDataPct );
1351 
1352 /* ==================================================================== */
1353 /* GDALAsyncReader */
1354 /* ==================================================================== */
1355 
1356 GDALAsyncStatusType CPL_DLL CPL_STDCALL
1357 GDALARGetNextUpdatedRegion(GDALAsyncReaderH hARIO, double dfTimeout,
1358  int* pnXBufOff, int* pnYBufOff,
1359  int* pnXBufSize, int* pnYBufSize );
1360 int CPL_DLL CPL_STDCALL GDALARLockBuffer(GDALAsyncReaderH hARIO,
1361  double dfTimeout);
1362 void CPL_DLL CPL_STDCALL GDALARUnlockBuffer(GDALAsyncReaderH hARIO);
1363 
1364 /* -------------------------------------------------------------------- */
1365 /* Helper functions. */
1366 /* -------------------------------------------------------------------- */
1367 int CPL_DLL CPL_STDCALL GDALGeneralCmdLineProcessor( int nArgc, char ***ppapszArgv,
1368  int nOptions );
1369 void CPL_DLL CPL_STDCALL GDALSwapWords( void *pData, int nWordSize, int nWordCount,
1370  int nWordSkip );
1371 void CPL_DLL CPL_STDCALL GDALSwapWordsEx( void *pData, int nWordSize, size_t nWordCount,
1372  int nWordSkip );
1373 
1374 void CPL_DLL CPL_STDCALL
1375  GDALCopyWords( const void * CPL_RESTRICT pSrcData,
1376  GDALDataType eSrcType, int nSrcPixelOffset,
1377  void * CPL_RESTRICT pDstData,
1378  GDALDataType eDstType, int nDstPixelOffset,
1379  int nWordCount );
1380 
1381 void CPL_DLL CPL_STDCALL
1382  GDALCopyWords64( const void * CPL_RESTRICT pSrcData,
1383  GDALDataType eSrcType, int nSrcPixelOffset,
1384  void * CPL_RESTRICT pDstData,
1385  GDALDataType eDstType, int nDstPixelOffset,
1386  GPtrDiff_t nWordCount );
1387 
1388 void CPL_DLL
1389 GDALCopyBits( const GByte *pabySrcData, int nSrcOffset, int nSrcStep,
1390  GByte *pabyDstData, int nDstOffset, int nDstStep,
1391  int nBitCount, int nStepCount );
1392 
1393 void CPL_DLL
1394 GDALDeinterleave(const void* pSourceBuffer,
1395  GDALDataType eSourceDT,
1396  int nComponents,
1397  void** ppDestBuffer,
1398  GDALDataType eDestDT,
1399  size_t nIters);
1400 
1401 int CPL_DLL CPL_STDCALL GDALLoadWorldFile( const char *, double * );
1402 int CPL_DLL CPL_STDCALL GDALReadWorldFile( const char *, const char *,
1403  double * );
1404 int CPL_DLL CPL_STDCALL GDALWriteWorldFile( const char *, const char *,
1405  double * );
1406 int CPL_DLL CPL_STDCALL GDALLoadTabFile( const char *, double *, char **,
1407  int *, GDAL_GCP ** );
1408 int CPL_DLL CPL_STDCALL GDALReadTabFile( const char *, double *, char **,
1409  int *, GDAL_GCP ** );
1410 int CPL_DLL CPL_STDCALL GDALLoadOziMapFile( const char *, double *, char **,
1411  int *, GDAL_GCP ** );
1412 int CPL_DLL CPL_STDCALL GDALReadOziMapFile( const char *, double *,
1413  char **, int *, GDAL_GCP ** );
1414 
1415 const char CPL_DLL * CPL_STDCALL GDALDecToDMS( double, const char *, int );
1416 double CPL_DLL CPL_STDCALL GDALPackedDMSToDec( double );
1417 double CPL_DLL CPL_STDCALL GDALDecToPackedDMS( double );
1418 
1419 /* Note to developers : please keep this section in sync with ogr_core.h */
1420 
1421 #ifndef GDAL_VERSION_INFO_DEFINED
1422 #ifndef DOXYGEN_SKIP
1423 #define GDAL_VERSION_INFO_DEFINED
1424 #endif
1425 const char CPL_DLL * CPL_STDCALL GDALVersionInfo( const char * );
1426 #endif
1427 
1428 #ifndef GDAL_CHECK_VERSION
1429 
1430 int CPL_DLL CPL_STDCALL GDALCheckVersion( int nVersionMajor, int nVersionMinor,
1431  const char* pszCallingComponentName);
1432 
1436 #define GDAL_CHECK_VERSION(pszCallingComponentName) \
1437  GDALCheckVersion(GDAL_VERSION_MAJOR, GDAL_VERSION_MINOR, pszCallingComponentName)
1438 
1439 #endif
1440 
1442 #ifdef GDAL_COMPILATION
1443 #define GDALExtractRPCInfoV1 GDALExtractRPCInfo
1444 #else
1445 #define GDALRPCInfo GDALRPCInfoV2
1446 #define GDALExtractRPCInfo GDALExtractRPCInfoV2
1447 #endif
1448 
1449 /* Deprecated: use GDALRPCInfoV2 */
1450 typedef struct
1451 {
1452  double dfLINE_OFF;
1453  double dfSAMP_OFF;
1454  double dfLAT_OFF;
1455  double dfLONG_OFF;
1456  double dfHEIGHT_OFF;
1458  double dfLINE_SCALE;
1459  double dfSAMP_SCALE;
1460  double dfLAT_SCALE;
1461  double dfLONG_SCALE;
1462  double dfHEIGHT_SCALE;
1464  double adfLINE_NUM_COEFF[20];
1465  double adfLINE_DEN_COEFF[20];
1466  double adfSAMP_NUM_COEFF[20];
1467  double adfSAMP_DEN_COEFF[20];
1469  double dfMIN_LONG;
1470  double dfMIN_LAT;
1471  double dfMAX_LONG;
1472  double dfMAX_LAT;
1473 } GDALRPCInfoV1;
1478 typedef struct
1479 {
1480  double dfLINE_OFF;
1481  double dfSAMP_OFF;
1482  double dfLAT_OFF;
1483  double dfLONG_OFF;
1484  double dfHEIGHT_OFF;
1486  double dfLINE_SCALE;
1487  double dfSAMP_SCALE;
1488  double dfLAT_SCALE;
1489  double dfLONG_SCALE;
1492  double adfLINE_NUM_COEFF[20];
1493  double adfLINE_DEN_COEFF[20];
1494  double adfSAMP_NUM_COEFF[20];
1495  double adfSAMP_DEN_COEFF[20];
1497  double dfMIN_LONG;
1498  double dfMIN_LAT;
1499  double dfMAX_LONG;
1500  double dfMAX_LAT;
1502  /* Those fields should be at the end. And all above fields should be the same as in GDALRPCInfoV1 */
1503  double dfERR_BIAS;
1504  double dfERR_RAND;
1505 } GDALRPCInfoV2;
1506 
1508 int CPL_DLL CPL_STDCALL GDALExtractRPCInfoV1( CSLConstList, GDALRPCInfoV1 * );
1510 int CPL_DLL CPL_STDCALL GDALExtractRPCInfoV2( CSLConstList, GDALRPCInfoV2 * );
1511 
1512 /* ==================================================================== */
1513 /* Color tables. */
1514 /* ==================================================================== */
1515 
1517 typedef struct
1518 {
1520  short c1;
1521 
1523  short c2;
1524 
1526  short c3;
1527 
1529  short c4;
1530 } GDALColorEntry;
1531 
1533 void CPL_DLL CPL_STDCALL GDALDestroyColorTable( GDALColorTableH );
1534 GDALColorTableH CPL_DLL CPL_STDCALL GDALCloneColorTable( GDALColorTableH );
1536 int CPL_DLL CPL_STDCALL GDALGetColorEntryCount( GDALColorTableH );
1537 const GDALColorEntry CPL_DLL * CPL_STDCALL GDALGetColorEntry( GDALColorTableH, int );
1538 int CPL_DLL CPL_STDCALL GDALGetColorEntryAsRGB( GDALColorTableH, int, GDALColorEntry *);
1539 void CPL_DLL CPL_STDCALL GDALSetColorEntry( GDALColorTableH, int, const GDALColorEntry * );
1540 void CPL_DLL CPL_STDCALL GDALCreateColorRamp( GDALColorTableH hTable,
1541  int nStartIndex, const GDALColorEntry *psStartColor,
1542  int nEndIndex, const GDALColorEntry *psEndColor );
1543 
1544 /* ==================================================================== */
1545 /* Raster Attribute Table */
1546 /* ==================================================================== */
1547 
1554 
1556 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
1577 
1585 
1586 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1588 
1589 void CPL_DLL CPL_STDCALL GDALDestroyRasterAttributeTable(
1591 
1592 int CPL_DLL CPL_STDCALL GDALRATGetColumnCount( GDALRasterAttributeTableH );
1593 
1594 const char CPL_DLL * CPL_STDCALL GDALRATGetNameOfCol(
1596 GDALRATFieldUsage CPL_DLL CPL_STDCALL GDALRATGetUsageOfCol(
1598 GDALRATFieldType CPL_DLL CPL_STDCALL GDALRATGetTypeOfCol(
1600 
1601 int CPL_DLL CPL_STDCALL GDALRATGetColOfUsage( GDALRasterAttributeTableH,
1603 int CPL_DLL CPL_STDCALL GDALRATGetRowCount( GDALRasterAttributeTableH );
1604 
1605 const char CPL_DLL * CPL_STDCALL GDALRATGetValueAsString(
1606  GDALRasterAttributeTableH, int, int);
1607 int CPL_DLL CPL_STDCALL GDALRATGetValueAsInt(
1608  GDALRasterAttributeTableH, int, int);
1609 double CPL_DLL CPL_STDCALL GDALRATGetValueAsDouble(
1610  GDALRasterAttributeTableH, int, int);
1611 
1612 void CPL_DLL CPL_STDCALL GDALRATSetValueAsString( GDALRasterAttributeTableH, int, int,
1613  const char * );
1614 void CPL_DLL CPL_STDCALL GDALRATSetValueAsInt( GDALRasterAttributeTableH, int, int,
1615  int );
1616 void CPL_DLL CPL_STDCALL GDALRATSetValueAsDouble( GDALRasterAttributeTableH, int, int,
1617  double );
1618 
1619 int CPL_DLL CPL_STDCALL GDALRATChangesAreWrittenToFile( GDALRasterAttributeTableH hRAT );
1620 
1621 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsDouble( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1622  int iField, int iStartRow, int iLength, double *pdfData );
1623 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsInteger( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1624  int iField, int iStartRow, int iLength, int *pnData);
1625 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsString( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1626  int iField, int iStartRow, int iLength, CSLConstList papszStrList);
1627 
1628 void CPL_DLL CPL_STDCALL GDALRATSetRowCount( GDALRasterAttributeTableH,
1629  int );
1631  const char *,
1635  double, double );
1636 int CPL_DLL CPL_STDCALL GDALRATGetLinearBinning( GDALRasterAttributeTableH,
1637  double *, double * );
1638 CPLErr CPL_DLL CPL_STDCALL GDALRATSetTableType( GDALRasterAttributeTableH hRAT,
1639  const GDALRATTableType eInTableType );
1641 CPLErr CPL_DLL CPL_STDCALL GDALRATInitializeFromColorTable(
1643 GDALColorTableH CPL_DLL CPL_STDCALL GDALRATTranslateToColorTable(
1644  GDALRasterAttributeTableH, int nEntryCount );
1645 void CPL_DLL CPL_STDCALL GDALRATDumpReadable( GDALRasterAttributeTableH,
1646  FILE * );
1647 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1649 
1650 void CPL_DLL* CPL_STDCALL
1652 
1653 int CPL_DLL CPL_STDCALL GDALRATGetRowOfValue( GDALRasterAttributeTableH, double );
1654 void CPL_DLL CPL_STDCALL GDALRATRemoveStatistics( GDALRasterAttributeTableH );
1655 
1656 /* -------------------------------------------------------------------- */
1657 /* Relationships */
1658 /* -------------------------------------------------------------------- */
1659 
1664 typedef enum
1665 {
1675 
1680 typedef enum
1681 {
1689 
1690 GDALRelationshipH CPL_DLL GDALRelationshipCreate(const char*,
1691  const char*,
1692  const char*,
1694 void CPL_DLL CPL_STDCALL GDALDestroyRelationship(GDALRelationshipH);
1695 const char CPL_DLL* GDALRelationshipGetName(GDALRelationshipH);
1700 void CPL_DLL GDALRelationshipSetMappingTableName(GDALRelationshipH, const char*);
1712 void CPL_DLL GDALRelationshipSetForwardPathLabel(GDALRelationshipH, const char*);
1714 void CPL_DLL GDALRelationshipSetBackwardPathLabel(GDALRelationshipH, const char*);
1716 void CPL_DLL GDALRelationshipSetRelatedTableType(GDALRelationshipH, const char*);
1717 
1718 
1719 /* ==================================================================== */
1720 /* GDAL Cache Management */
1721 /* ==================================================================== */
1722 
1723 void CPL_DLL CPL_STDCALL GDALSetCacheMax( int nBytes );
1724 int CPL_DLL CPL_STDCALL GDALGetCacheMax(void);
1725 int CPL_DLL CPL_STDCALL GDALGetCacheUsed(void);
1726 void CPL_DLL CPL_STDCALL GDALSetCacheMax64( GIntBig nBytes );
1727 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheMax64(void);
1728 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheUsed64(void);
1729 
1730 int CPL_DLL CPL_STDCALL GDALFlushCacheBlock(void);
1731 
1732 /* ==================================================================== */
1733 /* GDAL virtual memory */
1734 /* ==================================================================== */
1735 
1737  GDALRWFlag eRWFlag,
1738  int nXOff, int nYOff,
1739  int nXSize, int nYSize,
1740  int nBufXSize, int nBufYSize,
1741  GDALDataType eBufType,
1742  int nBandCount, int* panBandMap,
1743  int nPixelSpace,
1744  GIntBig nLineSpace,
1745  GIntBig nBandSpace,
1746  size_t nCacheSize,
1747  size_t nPageSizeHint,
1748  int bSingleThreadUsage,
1749  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1750 
1752  GDALRWFlag eRWFlag,
1753  int nXOff, int nYOff,
1754  int nXSize, int nYSize,
1755  int nBufXSize, int nBufYSize,
1756  GDALDataType eBufType,
1757  int nPixelSpace,
1758  GIntBig nLineSpace,
1759  size_t nCacheSize,
1760  size_t nPageSizeHint,
1761  int bSingleThreadUsage,
1762  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1763 
1765  GDALRWFlag eRWFlag,
1766  int *pnPixelSpace,
1767  GIntBig *pnLineSpace,
1768  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1769 
1771 typedef enum
1772 {
1780 
1782  GDALRWFlag eRWFlag,
1783  int nXOff, int nYOff,
1784  int nXSize, int nYSize,
1785  int nTileXSize, int nTileYSize,
1786  GDALDataType eBufType,
1787  int nBandCount, int* panBandMap,
1788  GDALTileOrganization eTileOrganization,
1789  size_t nCacheSize,
1790  int bSingleThreadUsage,
1791  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1792 
1794  GDALRWFlag eRWFlag,
1795  int nXOff, int nYOff,
1796  int nXSize, int nYSize,
1797  int nTileXSize, int nTileYSize,
1798  GDALDataType eBufType,
1799  size_t nCacheSize,
1800  int bSingleThreadUsage,
1801  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1802 
1803 /* ==================================================================== */
1804 /* VRTPansharpenedDataset class. */
1805 /* ==================================================================== */
1806 
1807 GDALDatasetH CPL_DLL GDALCreatePansharpenedVRT( const char* pszXML,
1808  GDALRasterBandH hPanchroBand,
1809  int nInputSpectralBands,
1810  GDALRasterBandH* pahInputSpectralBands ) CPL_WARN_UNUSED_RESULT;
1811 
1812 /* =================================================================== */
1813 /* Misc API */
1814 /* ==================================================================== */
1815 
1816 CPLXMLNode CPL_DLL* GDALGetJPEG2000Structure(const char* pszFilename,
1817  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1818 
1819 /* ==================================================================== */
1820 /* Multidimensional API_api */
1821 /* ==================================================================== */
1822 
1824  const char * pszName,
1825  CSLConstList papszRootGroupOptions,
1826  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1827 
1832  const char* pszName, size_t nTotalSize,
1833  size_t nComponents, const GDALEDTComponentH* comps) CPL_WARN_UNUSED_RESULT;
1835 const char CPL_DLL* GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT);
1841 void CPL_DLL GDALExtendedDataTypeFreeComponents(GDALEDTComponentH* components, size_t nCount);
1843  GDALExtendedDataTypeH hTargetEDT);
1845  GDALExtendedDataTypeH hSecondEDT);
1847 
1848 GDALEDTComponentH CPL_DLL GDALEDTComponentCreate(const char* pszName, size_t nOffset, GDALExtendedDataTypeH hType) CPL_WARN_UNUSED_RESULT;
1849 void CPL_DLL GDALEDTComponentRelease(GDALEDTComponentH hComp);
1850 const char CPL_DLL* GDALEDTComponentGetName(GDALEDTComponentH hComp);
1851 size_t CPL_DLL GDALEDTComponentGetOffset(GDALEDTComponentH hComp);
1853 
1855 void CPL_DLL GDALGroupRelease(GDALGroupH hGroup);
1856 const char CPL_DLL *GDALGroupGetName(GDALGroupH hGroup);
1857 const char CPL_DLL *GDALGroupGetFullName(GDALGroupH hGroup);
1858 char CPL_DLL **GDALGroupGetMDArrayNames(GDALGroupH hGroup, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1859 GDALMDArrayH CPL_DLL GDALGroupOpenMDArray(GDALGroupH hGroup, const char* pszMDArrayName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1860 GDALMDArrayH CPL_DLL GDALGroupOpenMDArrayFromFullname(GDALGroupH hGroup, const char* pszMDArrayName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1862  const char* pszName,
1863  const char* pszStartingPoint,
1864  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1865 char CPL_DLL **GDALGroupGetGroupNames(GDALGroupH hGroup, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1866 GDALGroupH CPL_DLL GDALGroupOpenGroup(GDALGroupH hGroup, const char* pszSubGroupName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1867 GDALGroupH CPL_DLL GDALGroupOpenGroupFromFullname(GDALGroupH hGroup, const char* pszMDArrayName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1868 char CPL_DLL **GDALGroupGetVectorLayerNames(GDALGroupH hGroup, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1869 OGRLayerH CPL_DLL GDALGroupOpenVectorLayer(GDALGroupH hGroup, const char* pszVectorLayerName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1870 GDALDimensionH CPL_DLL *GDALGroupGetDimensions(GDALGroupH hGroup, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1871 GDALAttributeH CPL_DLL GDALGroupGetAttribute(GDALGroupH hGroup, const char* pszName) CPL_WARN_UNUSED_RESULT;
1872 GDALAttributeH CPL_DLL *GDALGroupGetAttributes(GDALGroupH hGroup, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1875  const char* pszSubGroupName,
1876  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1878  const char* pszName,
1879  const char* pszType,
1880  const char* pszDirection,
1881  GUInt64 nSize,
1882  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1884  const char* pszName,
1885  size_t nDimensions,
1886  GDALDimensionH* pahDimensions,
1887  GDALExtendedDataTypeH hEDT,
1888  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1890  const char* pszName,
1891  size_t nDimensions,
1892  const GUInt64* panDimensions,
1893  GDALExtendedDataTypeH hEDT,
1894  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1895 
1896 void CPL_DLL GDALMDArrayRelease(GDALMDArrayH hMDArray);
1897 const char CPL_DLL* GDALMDArrayGetName(GDALMDArrayH hArray);
1898 const char CPL_DLL* GDALMDArrayGetFullName(GDALMDArrayH hArray);
1900 size_t CPL_DLL GDALMDArrayGetDimensionCount(GDALMDArrayH hArray);
1903 int CPL_DLL GDALMDArrayRead(GDALMDArrayH hArray,
1904  const GUInt64* arrayStartIdx,
1905  const size_t* count,
1906  const GInt64* arrayStep,
1907  const GPtrDiff_t* bufferStride,
1908  GDALExtendedDataTypeH bufferDatatype,
1909  void* pDstBuffer,
1910  const void* pDstBufferAllocStart,
1911  size_t nDstBufferllocSize);
1912 int CPL_DLL GDALMDArrayWrite(GDALMDArrayH hArray,
1913  const GUInt64* arrayStartIdx,
1914  const size_t* count,
1915  const GInt64* arrayStep,
1916  const GPtrDiff_t* bufferStride,
1917  GDALExtendedDataTypeH bufferDatatype,
1918  const void* pSrcBuffer,
1919  const void* psrcBufferAllocStart,
1920  size_t nSrcBufferllocSize);
1921 int CPL_DLL GDALMDArrayAdviseRead(GDALMDArrayH hArray,
1922  const GUInt64* arrayStartIdx,
1923  const size_t* count);
1924 int CPL_DLL GDALMDArrayAdviseReadEx(GDALMDArrayH hArray,
1925  const GUInt64* arrayStartIdx,
1926  const size_t* count,
1927  CSLConstList papszOptions);
1928 GDALAttributeH CPL_DLL GDALMDArrayGetAttribute(GDALMDArrayH hArray, const char* pszName) CPL_WARN_UNUSED_RESULT;
1929 GDALAttributeH CPL_DLL *GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1931  const char* pszName,
1932  size_t nDimensions,
1933  const GUInt64* panDimensions,
1934  GDALExtendedDataTypeH hEDT,
1935  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1936 const void CPL_DLL *GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray);
1937 double CPL_DLL GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray,
1938  int* pbHasNoDataValue);
1939 int64_t CPL_DLL GDALMDArrayGetNoDataValueAsInt64(GDALMDArrayH hArray,
1940  int* pbHasNoDataValue);
1941 uint64_t CPL_DLL GDALMDArrayGetNoDataValueAsUInt64(GDALMDArrayH hArray,
1942  int* pbHasNoDataValue);
1943 int CPL_DLL GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void*);
1945  double dfNoDataValue);
1947  int64_t nNoDataValue);
1949  uint64_t nNoDataValue);
1950 int CPL_DLL GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale);
1951 int CPL_DLL GDALMDArraySetScaleEx(GDALMDArrayH hArray, double dfScale, GDALDataType eStorageType);
1952 double CPL_DLL GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue);
1953 double CPL_DLL GDALMDArrayGetScaleEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType* peStorageType);
1954 int CPL_DLL GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset);
1955 int CPL_DLL GDALMDArraySetOffsetEx(GDALMDArrayH hArray, double dfOffset, GDALDataType eStorageType);
1956 double CPL_DLL GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue);
1957 double CPL_DLL GDALMDArrayGetOffsetEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType* peStorageType);
1958 GUInt64 CPL_DLL *GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount);
1959 int CPL_DLL GDALMDArraySetUnit(GDALMDArrayH hArray, const char*);
1960 const char CPL_DLL *GDALMDArrayGetUnit(GDALMDArrayH hArray);
1963 size_t CPL_DLL *GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray, size_t *pnCount,
1964  size_t nMaxChunkMemory);
1966 GDALMDArrayH CPL_DLL GDALMDArrayGetView(GDALMDArrayH hArray, const char* pszViewExpr);
1968  size_t nNewAxisCount,
1969  const int *panMapNewAxisToOldAxis);
1971 GDALMDArrayH CPL_DLL GDALMDArrayGetMask(GDALMDArrayH hArray, CSLConstList papszOptions);
1973  size_t iXDim, size_t iYDim);
1975  GDALMDArrayH hArray, GDALDatasetH, int bApproxOK, int bForce,
1976  double *pdfMin, double *pdfMax,
1977  double *pdfMean, double *pdfStdDev,
1978  GUInt64* pnValidCount,
1979  GDALProgressFunc pfnProgress, void *pProgressData );
1981  int bApproxOK,
1982  double *pdfMin, double *pdfMax,
1983  double *pdfMean, double *pdfStdDev,
1984  GUInt64* pnValidCount,
1985  GDALProgressFunc, void *pProgressData );
1987  size_t nNewDimCount,
1988  const GDALDimensionH* pahNewDims,
1989  GDALRIOResampleAlg resampleAlg,
1990  OGRSpatialReferenceH hTargetSRS,
1991  CSLConstList papszOptions);
1993 void CPL_DLL GDALReleaseArrays(GDALMDArrayH* arrays, size_t nCount);
1994 int CPL_DLL GDALMDArrayCache( GDALMDArrayH hArray, CSLConstList papszOptions );
1995 
1996 void CPL_DLL GDALAttributeRelease(GDALAttributeH hAttr);
1997 void CPL_DLL GDALReleaseAttributes(GDALAttributeH* attributes, size_t nCount);
1998 const char CPL_DLL* GDALAttributeGetName(GDALAttributeH hAttr);
1999 const char CPL_DLL* GDALAttributeGetFullName(GDALAttributeH hAttr);
2001 size_t CPL_DLL GDALAttributeGetDimensionCount(GDALAttributeH hAttr);
2004 GByte CPL_DLL *GDALAttributeReadAsRaw(GDALAttributeH hAttr, size_t *pnSize) CPL_WARN_UNUSED_RESULT;
2005 void CPL_DLL GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte* raw, size_t nSize);
2006 const char CPL_DLL* GDALAttributeReadAsString(GDALAttributeH hAttr);
2007 int CPL_DLL GDALAttributeReadAsInt(GDALAttributeH hAttr);
2008 double CPL_DLL GDALAttributeReadAsDouble(GDALAttributeH hAttr);
2010 int CPL_DLL *GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t* pnCount) CPL_WARN_UNUSED_RESULT;
2011 double CPL_DLL *GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr, size_t* pnCount) CPL_WARN_UNUSED_RESULT;
2012 int CPL_DLL GDALAttributeWriteRaw(GDALAttributeH hAttr, const void*, size_t);
2013 int CPL_DLL GDALAttributeWriteString(GDALAttributeH hAttr, const char*);
2015 int CPL_DLL GDALAttributeWriteInt(GDALAttributeH hAttr, int);
2016 int CPL_DLL GDALAttributeWriteDouble(GDALAttributeH hAttr, double);
2017 int CPL_DLL GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double*, size_t);
2018 
2019 void CPL_DLL GDALDimensionRelease(GDALDimensionH hDim);
2020 void CPL_DLL GDALReleaseDimensions(GDALDimensionH* dims, size_t nCount);
2021 const char CPL_DLL *GDALDimensionGetName(GDALDimensionH hDim);
2022 const char CPL_DLL *GDALDimensionGetFullName(GDALDimensionH hDim);
2023 const char CPL_DLL *GDALDimensionGetType(GDALDimensionH hDim);
2024 const char CPL_DLL *GDALDimensionGetDirection(GDALDimensionH hDim);
2028 
2029 CPL_C_END
2030 
2031 #endif /* ndef GDAL_H_INCLUDED */
GCI_HueBand
@ GCI_HueBand
Definition: gdal.h:213
GDALGetAsyncStatusTypeByName
GDALAsyncStatusType GDALGetAsyncStatusTypeByName(const char *)
Get AsyncStatusType by symbolic name.
Definition: gdal_misc.cpp:828
GDALAttributeReadAsIntArray
int * GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of integers.
Definition: gdalmultidim.cpp:10964
GDALGroupGetStructuralInfo
CSLConstList GDALGroupGetStructuralInfo(GDALGroupH hGroup)
Return structural information on the group.
Definition: gdalmultidim.cpp:9429
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:2394
GDALDimensionGetType
const char * GDALDimensionGetType(GDALDimensionH hDim)
Return dimension type.
Definition: gdalmultidim.cpp:11195
GDALRPCInfoV2::dfMIN_LONG
double dfMIN_LONG
Definition: gdal.h:1497
GDALMDArrayGetName
const char * GDALMDArrayGetName(GDALMDArrayH hArray)
Return array name.
Definition: gdalmultidim.cpp:9592
GDALRATInitializeFromColorTable
CPLErr GDALRATInitializeFromColorTable(GDALRasterAttributeTableH, GDALColorTableH)
Initialize from color table.
Definition: gdal_rat.cpp:999
GRC_ONE_TO_ONE
@ GRC_ONE_TO_ONE
One-to-one.
Definition: gdal.h:1667
GDALRATTableType
GDALRATTableType
RAT table type (thematic or athematic)
Definition: gdal.h:1581
GDAL_GCP::pszId
char * pszId
Unique identifier, often numeric.
Definition: gdal.h:895
GDALMDArrayH
struct GDALMDArrayHS * GDALMDArrayH
Opaque type for C++ GDALMDArray.
Definition: gdal.h:323
GDALVersionInfo
const char * GDALVersionInfo(const char *)
Get runtime version information.
Definition: gdal_misc.cpp:2230
GDALMDArrayGetOffsetEx
double GDALMDArrayGetOffsetEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType *peStorageType)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10254
GDALRPCInfoV2::dfSAMP_SCALE
double dfSAMP_SCALE
Definition: gdal.h:1487
GRC_MANY_TO_ONE
@ GRC_MANY_TO_ONE
Many-to-one.
Definition: gdal.h:1671
GDALExtendedDataTypeGetSubType
GDALExtendedDataTypeSubType GDALExtendedDataTypeGetSubType(GDALExtendedDataTypeH hEDT)
Return the subtype of a type.
Definition: gdalmultidim.cpp:8939
GDT_Int32
@ GDT_Int32
Definition: gdal.h:69
GDALRenameDataset
CPLErr GDALRenameDataset(GDALDriverH, const char *pszNewName, const char *pszOldName)
Rename a dataset.
Definition: gdaldriver.cpp:1570
GDALRelationshipGetBackwardPathLabel
const char * GDALRelationshipGetBackwardPathLabel(GDALRelationshipH)
Get the label of the backward path for the relationship.
Definition: gdalrelationship.cpp:583
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:2535
GDALAttributeReadAsRaw
GByte * GDALAttributeReadAsRaw(GDALAttributeH hAttr, size_t *pnSize)
Return the raw value of an attribute.
Definition: gdalmultidim.cpp:10833
GDALRasterAttributeTableH
void * GDALRasterAttributeTableH
Opaque type used for the C bindings of the C++ GDALRasterAttributeTable class.
Definition: gdal.h:281
GDALGetDataTypeSizeBytes
int GDALGetDataTypeSizeBytes(GDALDataType)
Get data type size in bytes.
Definition: gdal_misc.cpp:318
GDALGetRasterScale
double GDALGetRasterScale(GDALRasterBandH, int *pbSuccess)
Fetch the raster value scale.
Definition: gdalrasterband.cpp:2877
GDALGetDriverShortName
const char * GDALGetDriverShortName(GDALDriverH)
Return the short name of a driver.
Definition: gdaldriver.cpp:1732
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
GDALAdjustValueToDataType
double GDALAdjustValueToDataType(GDALDataType eDT, double dfValue, int *pbClamped, int *pbRounded)
Adjust a value to the output data type.
Definition: gdal_misc.cpp:717
GDALGetDriverCreationOptionList
const char * GDALGetDriverCreationOptionList(GDALDriverH)
Return the list of creation options of the driver.
Definition: gdaldriver.cpp:1810
GDALMDArrayAdviseReadEx
int GDALMDArrayAdviseReadEx(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx, const size_t *count, CSLConstList papszOptions)
Advise driver of upcoming read requests.
Definition: gdalmultidim.cpp:9816
GDALEDTComponentGetName
const char * GDALEDTComponentGetName(GDALEDTComponentH hComp)
Return the name.
Definition: gdalmultidim.cpp:9037
GDALGetRasterSampleOverview
GDALRasterBandH GDALGetRasterSampleOverview(GDALRasterBandH, int)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2643
GByte
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:203
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:3972
GDALDuplicateGCPs
GDAL_GCP * GDALDuplicateGCPs(int, const GDAL_GCP *)
Duplicate an array of GCPs.
Definition: gdal_misc.cpp:1288
GDALAttributeH
struct GDALAttributeHS * GDALAttributeH
Opaque type for C++ GDALAttribute.
Definition: gdal.h:325
GUInt64
GUIntBig GUInt64
Unsigned 64 bit integer type.
Definition: cpl_port.h:251
GDT_UInt64
@ GDT_UInt64
Definition: gdal.h:70
GDALGeneralCmdLineProcessor
int GDALGeneralCmdLineProcessor(int nArgc, char ***ppapszArgv, int nOptions)
General utility option processing.
Definition: gdal_misc.cpp:2948
GDALRPCInfoV2::dfLONG_OFF
double dfLONG_OFF
Definition: gdal.h:1483
GDALMDArrayGetSpatialRef
OGRSpatialReferenceH GDALMDArrayGetSpatialRef(GDALMDArrayH hArray)
Return the spatial reference system object associated with the array.
Definition: gdalmultidim.cpp:10569
GDALRelationshipGetType
GDALRelationshipType GDALRelationshipGetType(GDALRelationshipH)
Get the type of the relationship.
Definition: gdalrelationship.cpp:472
GCI_GreenBand
@ GCI_GreenBand
Definition: gdal.h:210
GTO_TIP
@ GTO_TIP
Definition: gdal.h:1774
GDALRPCInfoV2::dfMIN_LAT
double dfMIN_LAT
Definition: gdal.h:1498
GDALRasterIOExtraArg::bFloatingPointWindowValidity
int bFloatingPointWindowValidity
Definition: gdal.h:178
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:428
GDALFlushCacheBlock
int GDALFlushCacheBlock(void)
Try to flush one cached raster block.
Definition: gdalrasterblock.cpp:371
GDALAttributeWriteString
int GDALAttributeWriteString(GDALAttributeH hAttr, const char *)
Write an attribute from a string value.
Definition: gdalmultidim.cpp:11049
GDT_Float32
@ GDT_Float32
Definition: gdal.h:72
GDALDatasetDeleteFieldDomain
bool GDALDatasetDeleteFieldDomain(GDALDatasetH hDS, const char *pszName, char **ppszFailureReason)
Removes a field domain from the dataset.
Definition: gdaldataset.cpp:8576
GDALGetMetadataDomainList
char ** GDALGetMetadataDomainList(GDALMajorObjectH hObject)
Fetch list of metadata domains.
Definition: gdalmajorobject.cpp:218
GDALDimensionGetFullName
const char * GDALDimensionGetFullName(GDALDimensionH hDim)
Return dimension full name.
Definition: gdalmultidim.cpp:11181
GDALRATGetRowOfValue
int GDALRATGetRowOfValue(GDALRasterAttributeTableH, double)
Get row for pixel value.
Definition: gdal_rat.cpp:378
cpl_error.h
GRC_MANY_TO_MANY
@ GRC_MANY_TO_MANY
Many-to-many.
Definition: gdal.h:1673
GDALGetRasterCategoryNames
char ** GDALGetRasterCategoryNames(GDALRasterBandH)
Fetch the list of category names for this raster.
Definition: gdalrasterband.cpp:1577
GDALGetColorInterpretationName
const char * GDALGetColorInterpretationName(GDALColorInterp)
Get name of color interpretation.
Definition: gdal_misc.cpp:942
GDALDimensionGetIndexingVariable
GDALMDArrayH GDALDimensionGetIndexingVariable(GDALDimensionH hDim)
Return the variable that is used to index the dimension (if there is one).
Definition: gdalmultidim.cpp:11242
GDALARLockBuffer
int GDALARLockBuffer(GDALAsyncReaderH hARIO, double dfTimeout)
Lock image buffer.
Definition: gdaldefaultasync.cpp:232
GDALRelationshipGetMappingTableName
const char * GDALRelationshipGetMappingTableName(GDALRelationshipH)
Get the name of the mapping table for many-to-many relationships.
Definition: gdalrelationship.cpp:195
GDALGetJPEG2000Structure
CPLXMLNode * GDALGetJPEG2000Structure(const char *pszFilename, CSLConstList papszOptions)
Dump the structure of a JPEG2000 file as a XML tree.
Definition: gdaljp2structure.cpp:2205
GDAL_GCP::dfGCPX
double dfGCPX
X position of GCP in georeferenced space.
Definition: gdal.h:906
GDALRPCInfoV2::dfLINE_SCALE
double dfLINE_SCALE
Definition: gdal.h:1486
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:3219
GFU_GreenMax
@ GFU_GreenMax
Definition: gdal.h:1572
GDALGroupGetGroupNames
char ** GDALGroupGetGroupNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of sub-groups contained in this group.
Definition: gdalmultidim.cpp:9221
GDALRelationshipSetRelatedTableType
void GDALRelationshipSetRelatedTableType(GDALRelationshipH, const char *)
Sets the type string of the related table.
Definition: gdalrelationship.cpp:663
cpl_virtualmem.h
GDALMDArraySetNoDataValueAsDouble
int GDALMDArraySetNoDataValueAsDouble(GDALMDArrayH hArray, double dfNoDataValue)
Set the nodata value as a double.
Definition: gdalmultidim.cpp:10048
GDALMDArrayGetStructuralInfo
CSLConstList GDALMDArrayGetStructuralInfo(GDALMDArrayH hArray)
Return structural information on the array.
Definition: gdalmultidim.cpp:10355
GDALDatasetSetStyleTableDirectly
void GDALDatasetSetStyleTableDirectly(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4795
GDALRATClone
GDALRasterAttributeTableH GDALRATClone(const GDALRasterAttributeTableH)
Copy Raster Attribute Table.
Definition: gdal_rat.cpp:2212
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:9548
GDALDeinitGCPs
void GDALDeinitGCPs(int, GDAL_GCP *)
De-initialize an array of GCPs (initialized with GDALInitGCPs())
Definition: gdal_misc.cpp:1261
GDALDatasetUpdateFieldDomain
bool GDALDatasetUpdateFieldDomain(GDALDatasetH hDS, OGRFieldDomainH hFieldDomain, char **ppszFailureReason)
Updates an existing field domain by replacing its definition.
Definition: gdaldataset.cpp:8652
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:243
GEDTC_STRING
@ GEDTC_STRING
String value.
Definition: gdal.h:301
GDALGetRandomRasterSample
int GDALGetRandomRasterSample(GDALRasterBandH, int, float *)
Undocumented.
Definition: gdal_misc.cpp:1050
GDALSetRasterNoDataValueAsUInt64
CPLErr GDALSetRasterNoDataValueAsUInt64(GDALRasterBandH, uint64_t)
Set the no data value for this band.
Definition: gdalrasterband.cpp:2027
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
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:3774
GFU_MinMax
@ GFU_MinMax
Definition: gdal.h:1562
GEDTC_NUMERIC
@ GEDTC_NUMERIC
Numeric value.
Definition: gdal.h:299
GCI_Max
@ GCI_Max
Definition: gdal.h:223
GDT_Unknown
@ GDT_Unknown
Definition: gdal.h:64
GDALMDArraySetOffsetEx
int GDALMDArraySetOffsetEx(GDALMDArrayH hArray, double dfOffset, GDALDataType eStorageType)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10166
GDALExtendedDataTypeGetName
const char * GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT)
Return type name.
Definition: gdalmultidim.cpp:8823
GDALRATGetValueAsDouble
double GDALRATGetValueAsDouble(GDALRasterAttributeTableH, int, int)
Fetch field value as a double.
Definition: gdal_rat.cpp:1652
GRIORA_Cubic
@ GRIORA_Cubic
Definition: gdal.h:135
GDALRPCInfoV2::dfLAT_SCALE
double dfLAT_SCALE
Definition: gdal.h:1488
GDALSetMetadataItem
CPLErr GDALSetMetadataItem(GDALMajorObjectH, const char *, const char *, const char *)
Set single metadata item.
Definition: gdalmajorobject.cpp:414
GDALCopyDatasetFiles
CPLErr GDALCopyDatasetFiles(GDALDriverH, const char *pszNewName, const char *pszOldName)
Copy the files of a dataset.
Definition: gdaldriver.cpp:1695
GDAL_GCP::dfGCPLine
double dfGCPLine
Line (y) location of GCP on raster.
Definition: gdal.h:903
GCI_GrayIndex
@ GCI_GrayIndex
Definition: gdal.h:207
GDALGetPaletteInterpretation
GDALPaletteInterp GDALGetPaletteInterpretation(GDALColorTableH)
Fetch palette interpretation.
Definition: gdalcolortable.cpp:355
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:10616
GDALGetCacheUsed64
GIntBig GDALGetCacheUsed64(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:354
GRT_ASSOCIATION
@ GRT_ASSOCIATION
Association relationship.
Definition: gdal.h:1685
GDALOverviewMagnitudeCorrection
CPLErr GDALOverviewMagnitudeCorrection(GDALRasterBandH hBaseBand, int nOverviewCount, GDALRasterBandH *pahOverviews, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:5590
GDALRATGetUsageOfCol
GDALRATFieldUsage GDALRATGetUsageOfCol(GDALRasterAttributeTableH, int)
Fetch column usage value.
Definition: gdal_rat.cpp:1357
GDALRATGetTypeOfCol
GDALRATFieldType GDALRATGetTypeOfCol(GDALRasterAttributeTableH, int)
Fetch column type.
Definition: gdal_rat.cpp:1398
GDALRelationshipGetLeftTableName
const char * GDALRelationshipGetLeftTableName(GDALRelationshipH)
Get the name of the left (or base/origin) table in the relationship.
Definition: gdalrelationship.cpp:153
cpl_minixml.h
GDALSetColorEntry
void GDALSetColorEntry(GDALColorTableH, int, const GDALColorEntry *)
Set entry in color table.
Definition: gdalcolortable.cpp:244
GDALTileOrganization
GDALTileOrganization
! Enumeration to describe the tile organization
Definition: gdal.h:1771
GDALRPCInfoV2::dfERR_RAND
double dfERR_RAND
Definition: gdal.h:1504
GDALMDArraySetOffset
int GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10147
GFU_Red
@ GFU_Red
Definition: gdal.h:1563
GRIORA_Lanczos
@ GRIORA_Lanczos
Definition: gdal.h:137
GDALReadWorldFile
int GDALReadWorldFile(const char *, const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:2002
GDALColorTableH
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:278
GDALSetRasterCategoryNames
CPLErr GDALSetRasterCategoryNames(GDALRasterBandH, CSLConstList)
Set the category names for this band.
Definition: gdalrasterband.cpp:1629
GDALGroupGetMDArrayNames
char ** GDALGroupGetMDArrayNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of multidimensional array names contained in this group.
Definition: gdalmultidim.cpp:9128
GDT_UInt32
@ GDT_UInt32
Definition: gdal.h:68
GDALRPCInfoV2::dfHEIGHT_OFF
double dfHEIGHT_OFF
Definition: gdal.h:1484
GDALGetCacheMax
int GDALGetCacheMax(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:199
GDALRPCInfoV2::dfHEIGHT_SCALE
double dfHEIGHT_SCALE
Definition: gdal.h:1490
GDALClose
void GDALClose(GDALDatasetH)
Close GDAL dataset.
Definition: gdaldataset.cpp:3641
GDT_CFloat64
@ GDT_CFloat64
Definition: gdal.h:78
GDALGetOpenDatasets
void GDALGetOpenDatasets(GDALDatasetH **hDS, int *pnCount)
Fetch all open GDAL dataset handles.
Definition: gdaldataset.cpp:2630
GDALDatasetStartTransaction
OGRErr GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce)
For datasources which support transactions, StartTransaction creates a transaction.
Definition: gdaldataset.cpp:7372
GDT_CInt32
@ GDT_CInt32
Definition: gdal.h:75
GDALDatasetCopyWholeRaster
CPLErr GDALDatasetCopyWholeRaster(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy all dataset raster data.
Definition: rasterio.cpp:4666
GDALGetRasterBand
GDALRasterBandH GDALGetRasterBand(GDALDatasetH, int)
Fetch a band object for a dataset.
Definition: gdaldataset.cpp:799
GDALGetGCPs
const GDAL_GCP * GDALGetGCPs(GDALDatasetH)
Fetch GCPs.
Definition: gdaldataset.cpp:1621
GDALGetNonComplexDataType
GDALDataType GDALGetNonComplexDataType(GDALDataType)
Return the base data type for the specified input.
Definition: gdal_misc.cpp:798
GDALDestroyRasterAttributeTable
void GDALDestroyRasterAttributeTable(GDALRasterAttributeTableH)
Destroys a RAT.
Definition: gdal_rat.cpp:1228
GDALMDArrayGetDimensionCount
size_t GDALMDArrayGetDimensionCount(GDALMDArrayH hArray)
Return the number of dimensions.
Definition: gdalmultidim.cpp:9634
GDALSwapWordsEx
void GDALSwapWordsEx(void *pData, int nWordSize, size_t nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:2132
GDALGetBlockSize
void GDALGetBlockSize(GDALRasterBandH, int *pnXSize, int *pnYSize)
Fetch the "natural" block size of this band.
Definition: gdalrasterband.cpp:947
GDALColorEntry::c4
short c4
Definition: gdal.h:1529
GCI_PaletteIndex
@ GCI_PaletteIndex
Definition: gdal.h:208
GDALDatasetDeleteRelationship
bool GDALDatasetDeleteRelationship(GDALDatasetH hDS, const char *pszName, char **ppszFailureReason)
Removes a relationship from the dataset.
Definition: gdaldataset.cpp:8892
GDALColorEntry
Color tuple.
Definition: gdal.h:1517
GDALGroupOpenGroupFromFullname
GDALGroupH GDALGroupOpenGroupFromFullname(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a sub-group from its fully qualified name.
Definition: gdalmultidim.cpp:9314
GDALGetFileList
char ** GDALGetFileList(GDALDatasetH)
Fetch files forming dataset.
Definition: gdaldataset.cpp:2987
GTO_BSQ
@ GTO_BSQ
Definition: gdal.h:1778
GDALGetRasterAccess
GDALAccess GDALGetRasterAccess(GDALRasterBandH)
Find out if we have update permission for this band.
Definition: gdalrasterband.cpp:1531
GDALColorInterp
GDALColorInterp
Definition: gdal.h:204
GDALDatasetUpdateRelationship
bool GDALDatasetUpdateRelationship(GDALDatasetH hDS, GDALRelationshipH hRelationship, char **ppszFailureReason)
Updates an existing relationship by replacing its definition.
Definition: gdaldataset.cpp:8966
GFT_Real
@ GFT_Real
Definition: gdal.h:1551
GFU_Max
@ GFU_Max
Definition: gdal.h:1561
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:9891
GRT_AGGREGATION
@ GRT_AGGREGATION
Aggregation relationship.
Definition: gdal.h:1687
GDALInitGCPs
void GDALInitGCPs(int, GDAL_GCP *)
Initialize an array of GCPs.
Definition: gdal_misc.cpp:1235
GDALGetMetadata
char ** GDALGetMetadata(GDALMajorObjectH, const char *)
Fetch metadata.
Definition: gdalmajorobject.cpp:265
GDALGetOverviewCount
int GDALGetOverviewCount(GDALRasterBandH)
Return the number of overview layers available.
Definition: gdalrasterband.cpp:2527
GF_Read
@ GF_Read
Definition: gdal.h:123
GTO_BIT
@ GTO_BIT
Definition: gdal.h:1776
GDALDeleteRasterNoDataValue
CPLErr GDALDeleteRasterNoDataValue(GDALRasterBandH)
Remove the no data value for this band.
Definition: gdalrasterband.cpp:2075
GDALARUnlockBuffer
void GDALARUnlockBuffer(GDALAsyncReaderH hARIO)
Unlock image buffer.
Definition: gdaldefaultasync.cpp:267
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:10588
GDALDimensionGetSize
GUInt64 GDALDimensionGetSize(GDALDimensionH hDim)
Return the size, that is the number of values along the dimension.
Definition: gdalmultidim.cpp:11223
GDALSetRasterStatistics
CPLErr GDALSetRasterStatistics(GDALRasterBandH hBand, double dfMin, double dfMax, double dfMean, double dfStdDev)
Set statistics on band.
Definition: gdalrasterband.cpp:5919
GInt64
GIntBig GInt64
Signed 64 bit integer type.
Definition: cpl_port.h:249
GDALGroupRelease
void GDALGroupRelease(GDALGroupH hGroup)
Release the GDAL in-memory object associated with a GDALGroupH.
Definition: gdalmultidim.cpp:9081
GDALGetDataTypeSizeBits
int GDALGetDataTypeSizeBits(GDALDataType eDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:365
GDALExtendedDataTypeCanConvertTo
int GDALExtendedDataTypeCanConvertTo(GDALExtendedDataTypeH hSourceEDT, GDALExtendedDataTypeH hTargetEDT)
Return whether this data type can be converted to the other one.
Definition: gdalmultidim.cpp:8899
GDALRasterBandCopyWholeRaster
CPLErr GDALRasterBandCopyWholeRaster(GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand, const char *const *constpapszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy a whole raster band.
Definition: rasterio.cpp:4999
GDALLoadWorldFile
int GDALLoadWorldFile(const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:1908
GDALDereferenceDataset
int GDALDereferenceDataset(GDALDatasetH)
Subtract one from dataset reference count.
Definition: gdaldataset.cpp:1316
GPtrDiff_t
int GPtrDiff_t
Integer type large enough to hold the difference between 2 addresses.
Definition: cpl_port.h:269
GDALGroupOpenGroup
GDALGroupH GDALGroupOpenGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Open and return a sub-group.
Definition: gdalmultidim.cpp:9243
GDALDestroyDriver
void GDALDestroyDriver(GDALDriverH)
Destroy a GDALDriver.
Definition: gdaldriver.cpp:113
GCI_SaturationBand
@ GCI_SaturationBand
Definition: gdal.h:214
GDALRelationshipGetForwardPathLabel
const char * GDALRelationshipGetForwardPathLabel(GDALRelationshipH)
Get the label of the forward path for the relationship.
Definition: gdalrelationship.cpp:521
GDALOpen
GDALDatasetH GDALOpen(const char *pszFilename, GDALAccess eAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3116
GDALExtendedDataTypeClass
GDALExtendedDataTypeClass
Enumeration giving the class of a GDALExtendedDataType.
Definition: gdal.h:297
GDALAttributeReadAsDouble
double GDALAttributeReadAsDouble(GDALAttributeH hAttr)
Return the value of an attribute as a double.
Definition: gdalmultidim.cpp:10930
GCI_YCbCr_YBand
@ GCI_YCbCr_YBand
Definition: gdal.h:220
GDALMDArrayGetResampled
GDALMDArrayH GDALMDArrayGetResampled(GDALMDArrayH hArray, size_t nNewDimCount, const GDALDimensionH *pahNewDims, GDALRIOResampleAlg resampleAlg, OGRSpatialReferenceH hTargetSRS, CSLConstList papszOptions)
Return an array that is a resampled / reprojected view of the current array.
Definition: gdalmultidim.cpp:10469
GDALRPCInfoV2::dfSAMP_OFF
double dfSAMP_OFF
Definition: gdal.h:1481
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:11343
GDALGetColorInterpretationByName
GDALColorInterp GDALGetColorInterpretationByName(const char *pszName)
Get color interpretation by symbolic name.
Definition: gdal_misc.cpp:1021
GCI_CyanBand
@ GCI_CyanBand
Definition: gdal.h:216
GDALAttributeReadAsInt
int GDALAttributeReadAsInt(GDALAttributeH hAttr)
Return the value of an attribute as a integer.
Definition: gdalmultidim.cpp:10910
GDALARGetNextUpdatedRegion
GDALAsyncStatusType GDALARGetNextUpdatedRegion(GDALAsyncReaderH hARIO, double dfTimeout, int *pnXBufOff, int *pnYBufOff, int *pnXBufSize, int *pnYBufSize)
Get async IO update.
Definition: gdaldefaultasync.cpp:173
GDALReadOziMapFile
int GDALReadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1609
GDALCreateMaskBand
CPLErr GDALCreateMaskBand(GDALRasterBandH hBand, int nFlags)
Adds a mask band to the current band.
Definition: gdalrasterband.cpp:7152
GDALDataType
GDALDataType
Definition: gdal.h:63
CPLXMLNode
Document node structure.
Definition: cpl_minixml.h:69
GDALMDArrayGetTotalElementsCount
GUInt64 GDALMDArrayGetTotalElementsCount(GDALMDArrayH hArray)
Return the total number of values in the array.
Definition: gdalmultidim.cpp:9620
GDALDatasetAddFieldDomain
bool GDALDatasetAddFieldDomain(GDALDatasetH hDS, OGRFieldDomainH hFieldDomain, char **ppszFailureReason)
Add a field domain to the dataset.
Definition: gdaldataset.cpp:8498
GRTT_ATHEMATIC
@ GRTT_ATHEMATIC
Definition: gdal.h:1583
GDALCloneColorTable
GDALColorTableH GDALCloneColorTable(GDALColorTableH)
Make a copy of a color table.
Definition: gdalcolortable.cpp:279
GDALGetGCPSpatialRef
OGRSpatialReferenceH GDALGetGCPSpatialRef(GDALDatasetH)
Get output spatial reference system for GCPs.
Definition: gdaldataset.cpp:1568
OGRFeatureH
void * OGRFeatureH
Opaque type for a feature (OGRFeature)
Definition: ogr_api.h:337
GDALSetRasterUnitType
CPLErr GDALSetRasterUnitType(GDALRasterBandH hBand, const char *pszNewValue)
Set unit type.
Definition: gdalrasterband.cpp:3023
OGRStyleTableH
void * OGRStyleTableH
Opaque type for a style table (OGRStyleTable)
Definition: ogr_api.h:339
GCI_RedBand
@ GCI_RedBand
Definition: gdal.h:209
GFU_Generic
@ GFU_Generic
Definition: gdal.h:1557
GDALDestroyRelationship
void GDALDestroyRelationship(GDALRelationshipH)
Destroys a relationship.
Definition: gdalrelationship.cpp:96
GDALExtendedDataTypeFreeComponents
void GDALExtendedDataTypeFreeComponents(GDALEDTComponentH *components, size_t nCount)
Free the return of GDALExtendedDataTypeGetComponents().
Definition: gdalmultidim.cpp:8987
GDALAddBand
CPLErr GDALAddBand(GDALDatasetH hDS, GDALDataType eType, CSLConstList papszOptions)
Add a band to a dataset.
Definition: gdaldataset.cpp:606
GDALCreatePansharpenedVRT
GDALDatasetH GDALCreatePansharpenedVRT(const char *pszXML, GDALRasterBandH hPanchroBand, int nInputSpectralBands, GDALRasterBandH *pahInputSpectralBands)
Create a virtual pansharpened dataset.
Definition: vrtpansharpened.cpp:93
GDALGetMetadataItem
const char * GDALGetMetadataItem(GDALMajorObjectH, const char *, const char *)
Fetch single metadata item.
Definition: gdalmajorobject.cpp:360
GDALDimensionGetName
const char * GDALDimensionGetName(GDALDimensionH hDim)
Return dimension name.
Definition: gdalmultidim.cpp:11167
GDALRATGetColumnCount
int GDALRATGetColumnCount(GDALRasterAttributeTableH)
Fetch table column count.
Definition: gdal_rat.cpp:1276
GDALGroupOpenMDArray
GDALMDArrayH GDALGroupOpenMDArray(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a multidimensional array.
Definition: gdalmultidim.cpp:9150
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:1556
GDALMajorObjectH
void * GDALMajorObjectH
Opaque type used for the C bindings of the C++ GDALMajorObject class.
Definition: gdal.h:266
GFU_Blue
@ GFU_Blue
Definition: gdal.h:1565
GDALDatasetRollbackTransaction
OGRErr GDALDatasetRollbackTransaction(GDALDatasetH hDS)
For datasources which support transactions, RollbackTransaction will roll back a datasource to its st...
Definition: gdaldataset.cpp:7479
GDALBuildOverviewsEx
CPLErr GDALBuildOverviewsEx(GDALDatasetH, const char *, int, const int *, int, const int *, GDALProgressFunc, void *, CSLConstList papszOptions)
Build raster overview(s)
Definition: gdaldataset.cpp:1902
GDALGetRasterBandYSize
int GDALGetRasterBandYSize(GDALRasterBandH)
Fetch YSize of raster.
Definition: gdalrasterband.cpp:3097
GDALRasterIOExtraArg::eResampleAlg
GDALRIOResampleAlg eResampleAlg
Definition: gdal.h:167
GDALRelationshipGetCardinality
GDALRelationshipCardinality GDALRelationshipGetCardinality(GDALRelationshipH)
Get the cardinality of the relationship.
Definition: gdalrelationship.cpp:135
GDT_UInt16
@ GDT_UInt16
Definition: gdal.h:66
GDALDatasetClearStatistics
void GDALDatasetClearStatistics(GDALDatasetH hDS)
Clear statistics.
Definition: gdaldataset.cpp:8340
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:9755
GDALExtendedDataTypeGetNumericDataType
GDALDataType GDALExtendedDataTypeGetNumericDataType(GDALExtendedDataTypeH hEDT)
Return numeric data type (only valid when GetClass() == GEDTC_NUMERIC)
Definition: gdalmultidim.cpp:8851
GDALRPCInfoV2::dfMAX_LONG
double dfMAX_LONG
Definition: gdal.h:1499
GDALExtendedDataTypeGetSize
size_t GDALExtendedDataTypeGetSize(GDALExtendedDataTypeH hEDT)
Return data type size in bytes.
Definition: gdalmultidim.cpp:8865
GDALRATGetNameOfCol
const char * GDALRATGetNameOfCol(GDALRasterAttributeTableH, int)
Fetch name of indicated column.
Definition: gdal_rat.cpp:1314
GCI_LightnessBand
@ GCI_LightnessBand
Definition: gdal.h:215
GFU_AlphaMin
@ GFU_AlphaMin
Definition: gdal.h:1570
GDALAddDerivedBandPixelFuncWithArgs
CPLErr GDALAddDerivedBandPixelFuncWithArgs(const char *pszName, GDALDerivedPixelFuncWithArgs pfnPixelFunc, const char *pszMetadata)
This adds a pixel function to the global list of available pixel functions for derived bands.
Definition: vrtderivedrasterband.cpp:281
GDALSetGCPs2
CPLErr GDALSetGCPs2(GDALDatasetH, int, const GDAL_GCP *, OGRSpatialReferenceH)
Assign GCPs.
Definition: gdaldataset.cpp:1758
GFU_Min
@ GFU_Min
Definition: gdal.h:1560
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:238
GDALGetDataTypeByName
GDALDataType GDALGetDataTypeByName(const char *)
Get data type by symbolic name.
Definition: gdal_misc.cpp:658
GDALGetRasterXSize
int GDALGetRasterXSize(GDALDatasetH)
Fetch raster width in pixels.
Definition: gdaldataset.cpp:711
GDALDataTypeIsInteger
int GDALDataTypeIsInteger(GDALDataType)
Is data type integer? (might be complex)
Definition: gdal_misc.cpp:460
GFU_BlueMax
@ GFU_BlueMax
Definition: gdal.h:1573
GDALDatasetGetLayerCount
int GDALDatasetGetLayerCount(GDALDatasetH)
Get the number of layers in this dataset.
Definition: gdaldataset.cpp:4290
GDALGetPaletteInterpretationName
const char * GDALGetPaletteInterpretationName(GDALPaletteInterp)
Get name of palette interpretation.
Definition: gdal_misc.cpp:902
GDALMDArrayGetCoordinateVariables
GDALMDArrayH * GDALMDArrayGetCoordinateVariables(GDALMDArrayH hArray, size_t *pnCount)
Return coordinate variables.
Definition: gdalmultidim.cpp:10650
GDALIsMaskBand
bool GDALIsMaskBand(GDALRasterBandH hBand)
Returns whether a band is a mask band.
Definition: gdalrasterband.cpp:7210
GDALMDArraySetUnit
int GDALMDArraySetUnit(GDALMDArrayH hArray, const char *)
Set the variable unit.
Definition: gdalmultidim.cpp:10511
GDALDeleteDataset
CPLErr GDALDeleteDataset(GDALDriverH, const char *)
Delete named dataset.
Definition: gdaldriver.cpp:1443
GDALRelationshipCreate
GDALRelationshipH GDALRelationshipCreate(const char *, const char *, const char *, GDALRelationshipCardinality)
Creates a new relationship.
Definition: gdalrelationship.cpp:68
GRIORA_NearestNeighbour
@ GRIORA_NearestNeighbour
Definition: gdal.h:133
GDALHasArbitraryOverviews
int GDALHasArbitraryOverviews(GDALRasterBandH)
Check for arbitrary overviews.
Definition: gdalrasterband.cpp:2487
GDALGetBandDataset
GDALDatasetH GDALGetBandDataset(GDALRasterBandH)
Fetch the owning dataset handle.
Definition: gdalrasterband.cpp:3180
GDALReleaseArrays
void GDALReleaseArrays(GDALMDArrayH *arrays, size_t nCount)
Free the return of GDALMDArrayGetCoordinateVariables()
Definition: gdalmultidim.cpp:10674
GDALGetRasterStatistics
CPLErr GDALGetRasterStatistics(GDALRasterBandH, int bApproxOK, int bForce, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev)
Fetch image statistics.
Definition: gdalrasterband.cpp:4190
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:304
GDALSetGCPs
CPLErr GDALSetGCPs(GDALDatasetH, int, const GDAL_GCP *, const char *)
Assign GCPs.
Definition: gdaldataset.cpp:1736
GDALExtractRPCInfoV2
int GDALExtractRPCInfoV2(CSLConstList, GDALRPCInfoV2 *)
Extract RPC info from metadata, and apply to an RPCInfo structure.
Definition: gdal_misc.cpp:3538
GDALRelationshipH
void * GDALRelationshipH
Opaque type used for the C bindings of the C++ GDALRelationship class.
Definition: gdal.h:289
GDALRelationshipGetRightMappingTableFields
char ** GDALRelationshipGetRightMappingTableFields(GDALRelationshipH)
Get the names of the mapping table fields which correspond to the participating fields from the right...
Definition: gdalrelationship.cpp:384
GDALGetInternalHandle
void * GDALGetInternalHandle(GDALDatasetH, const char *)
Fetch a format specific internally meaningful handle.
Definition: gdaldataset.cpp:1213
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:4064
GDALColorEntry::c2
short c2
Definition: gdal.h:1523
GDALGetMaskFlags
int GDALGetMaskFlags(GDALRasterBandH hBand)
Return the status flags of the mask band associated with the band.
Definition: gdalrasterband.cpp:7063
GDALRasterIOExtraArg::dfXOff
double dfXOff
Definition: gdal.h:180
GDALAttributeWriteDoubleArray
int GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double *, size_t)
Write an attribute from an array of double.
Definition: gdalmultidim.cpp:11138
GDALGetDriverCount
int GDALGetDriverCount(void)
Fetch the number of registered drivers.
Definition: gdaldrivermanager.cpp:361
OGRSpatialReferenceH
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition: ogr_api.h:81
GDALRelationshipGetName
const char * GDALRelationshipGetName(GDALRelationshipH)
Get the name of the relationship.
Definition: gdalrelationship.cpp:115
GDALGetColorEntryCount
int GDALGetColorEntryCount(GDALColorTableH)
Get number of color entries in table.
Definition: gdalcolortable.cpp:316
GDALEDTComponentRelease
void GDALEDTComponentRelease(GDALEDTComponentH hComp)
Release the GDAL in-memory object associated with a GDALEDTComponentH.
Definition: gdalmultidim.cpp:9022
GRT_COMPOSITE
@ GRT_COMPOSITE
Composite relationship.
Definition: gdal.h:1683
GDALAttributeReadAsString
const char * GDALAttributeReadAsString(GDALAttributeH hAttr)
Return the value of an attribute as a string.
Definition: gdalmultidim.cpp:10890
GDALGetCacheMax64
GIntBig GDALGetCacheMax64(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:238
GDALCreate
GDALDatasetH GDALCreate(GDALDriverH hDriver, const char *, int, int, int, GDALDataType, CSLConstList)
Create a new dataset with this driver.
Definition: gdaldriver.cpp:275
GDALDatasetGetFieldDomainNames
char ** GDALDatasetGetFieldDomainNames(GDALDatasetH, CSLConstList)
Returns a list of the names of all field domains stored in the dataset.
Definition: gdaldataset.cpp:8389
GDALRATGetValueAsInt
int GDALRATGetValueAsInt(GDALRasterAttributeTableH, int, int)
Fetch field value as a integer.
Definition: gdal_rat.cpp:1593
GDALAttributeGetDimensionsSize
GUInt64 * GDALAttributeGetDimensionsSize(GDALAttributeH hAttr, size_t *pnCount)
Return the dimension sizes of the attribute.
Definition: gdalmultidim.cpp:10788
GDALDataTypeUnionWithValue
GDALDataType GDALDataTypeUnionWithValue(GDALDataType eDT, double dValue, int bComplex)
Union a data type with the one found for a value.
Definition: gdal_misc.cpp:178
GDALMDArrayGetAttributes
GDALAttributeH * GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this array.
Definition: gdalmultidim.cpp:9865
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:3708
GDALMDArraySetNoDataValueAsUInt64
int GDALMDArraySetNoDataValueAsUInt64(GDALMDArrayH hArray, uint64_t nNoDataValue)
Set the nodata value as a UInt64.
Definition: gdalmultidim.cpp:10090
GF_Write
@ GF_Write
Definition: gdal.h:124
GDALDatasetGetRelationship
GDALRelationshipH GDALDatasetGetRelationship(GDALDatasetH hDS, const char *pszName)
Get a relationship from its name.
Definition: gdaldataset.cpp:8745
GCI_YellowBand
@ GCI_YellowBand
Definition: gdal.h:218
GDALRasterIOExtraArg::pProgressData
void * pProgressData
Definition: gdal.h:172
GDALValidateCreationOptions
int GDALValidateCreationOptions(GDALDriverH, CSLConstList papszCreationOptions)
Validate the list of creation options that are handled by a driver.
Definition: gdaldriver.cpp:1851
GDALRelationshipGetRelatedTableType
const char * GDALRelationshipGetRelatedTableType(GDALRelationshipH)
Get the type string of the related table.
Definition: gdalrelationship.cpp:638
GDALMDArrayGetProcessingChunkSize
size_t * GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray, size_t *pnCount, size_t nMaxChunkMemory)
Return an optimal chunk size for read/write operations, given the natural block size and memory const...
Definition: gdalmultidim.cpp:10326
GFU_RedMin
@ GFU_RedMin
Definition: gdal.h:1567
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:9345
GRC_ONE_TO_MANY
@ GRC_ONE_TO_MANY
One-to-many.
Definition: gdal.h:1669
GDALDatasetGetNextFeature
OGRFeatureH GDALDatasetGetNextFeature(GDALDatasetH hDS, OGRLayerH *phBelongingLayer, double *pdfProgressPct, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch the next available feature from this dataset.
Definition: gdaldataset.cpp:7152
GDALGroupGetVectorLayerNames
char ** GDALGroupGetVectorLayerNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of layer names contained in this group.
Definition: gdalmultidim.cpp:9265
GDT_CFloat32
@ GDT_CFloat32
Definition: gdal.h:77
GDALEDTComponentGetOffset
size_t GDALEDTComponentGetOffset(GDALEDTComponentH hComp)
Return the offset (in bytes) of the component in the compound data type.
Definition: gdalmultidim.cpp:9051
GDALGetDriverLongName
const char * GDALGetDriverLongName(GDALDriverH)
Return the long name of a driver.
Definition: gdaldriver.cpp:1754
GDALMDArrayGetOffset
double GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10231
GDALAttributeGetFullName
const char * GDALAttributeGetFullName(GDALAttributeH hAttr)
Return the full name of the attribute.
Definition: gdalmultidim.cpp:10741
GDALExtendedDataTypeGetMaxStringLength
size_t GDALExtendedDataTypeGetMaxStringLength(GDALExtendedDataTypeH hEDT)
Return the maximum length of a string in bytes.
Definition: gdalmultidim.cpp:8881
GDALDataTypeIsFloating
int GDALDataTypeIsFloating(GDALDataType)
Is data type floating? (might be complex)
Definition: gdal_misc.cpp:433
GDALDeregisterDriver
void GDALDeregisterDriver(GDALDriverH)
Deregister the passed driver.
Definition: gdaldrivermanager.cpp:576
CSLConstList
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1056
GDALCreateColorTable
GDALColorTableH GDALCreateColorTable(GDALPaletteInterp)
Construct a new color table.
Definition: gdalcolortable.cpp:68
GDALGetRasterSampleOverviewEx
GDALRasterBandH GDALGetRasterSampleOverviewEx(GDALRasterBandH, GUIntBig)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2666
GUIntBig
unsigned long long GUIntBig
Large unsigned integer type (generally 64-bit unsigned integer type).
Definition: cpl_port.h:233
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
GDALDeinterleave
void GDALDeinterleave(const void *pSourceBuffer, GDALDataType eSourceDT, int nComponents, void **ppDestBuffer, GDALDataType eDestDT, size_t nIters)
Definition: rasterio.cpp:5622
GDALGetDriver
GDALDriverH GDALGetDriver(int)
Fetch driver by index.
Definition: gdaldrivermanager.cpp:399
GDALMDArrayGetAttribute
GDALAttributeH GDALMDArrayGetAttribute(GDALMDArrayH hArray, const char *pszName)
Return an attribute by its name.
Definition: gdalmultidim.cpp:9836
GDALDatasetCopyLayer
OGRLayerH GDALDatasetCopyLayer(GDALDatasetH, OGRLayerH, const char *, CSLConstList)
Duplicate an existing layer.
Definition: gdaldataset.cpp:4644
GDALMDArrayGetRawNoDataValue
const void * GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray)
Return the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:9930
GDALEDTComponentH
struct GDALEDTComponentHS * GDALEDTComponentH
Opaque type for C++ GDALEDTComponent.
Definition: gdal.h:319
GDALExtendedDataTypeCreate
GDALExtendedDataTypeH GDALExtendedDataTypeCreate(GDALDataType eType)
Return a new GDALExtendedDataType of class GEDTC_NUMERIC.
Definition: gdalmultidim.cpp:8720
GDALRelationshipGetRightTableFields
char ** GDALRelationshipGetRightTableFields(GDALRelationshipH)
Get the names of the participating fields from the right table in the relationship.
Definition: gdalrelationship.cpp:266
GDT_Float64
@ GDT_Float64
Definition: gdal.h:73
GDALRegenerateOverviewsEx
CPLErr GDALRegenerateOverviewsEx(GDALRasterBandH hSrcBand, int nOverviewCount, GDALRasterBandH *pahOverviewBands, const char *pszResampling, GDALProgressFunc pfnProgress, void *pProgressData, CSLConstList papszOptions)
Generate downsampled overviews.
Definition: overview.cpp:4130
GDALRasterIOExtraArg::pfnProgress
GDALProgressFunc pfnProgress
Definition: gdal.h:170
GDALIdentifyDriver
GDALDriverH GDALIdentifyDriver(const char *pszFilename, CSLConstList papszFileList)
Identify the driver that can open a raster file.
Definition: gdaldriver.cpp:2272
GDALAttributeRelease
void GDALAttributeRelease(GDALAttributeH hAttr)
Release the GDAL in-memory object associated with a GDALAttribute.
Definition: gdalmultidim.cpp:10710
GDALFillRaster
CPLErr GDALFillRaster(GDALRasterBandH hBand, double dfRealValue, double dfImaginaryValue)
Fill this band with a constant value.
Definition: gdalrasterband.cpp:1494
GDALRATSetTableType
CPLErr GDALRATSetTableType(GDALRasterAttributeTableH hRAT, const GDALRATTableType eInTableType)
Set RAT Table Type.
Definition: gdal_rat.cpp:591
GFU_RedMax
@ GFU_RedMax
Definition: gdal.h:1571
GDALDatasetResetReading
void GDALDatasetResetReading(GDALDatasetH)
Reset feature reading to start on the first feature.
Definition: gdaldataset.cpp:6925
GDALGetGeoTransform
CPLErr GDALGetGeoTransform(GDALDatasetH, double *)
Fetch the affine transformation coefficients.
Definition: gdaldataset.cpp:1122
GDALRPCInfoV2::dfLONG_SCALE
double dfLONG_SCALE
Definition: gdal.h:1489
GDAL_GCP
Ground Control Point.
Definition: gdal.h:892
CPL_C_END
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:306
GDALDerivedPixelFuncWithArgs
CPLErr(* GDALDerivedPixelFuncWithArgs)(void **papoSources, int nSources, void *pData, int nBufXSize, int nBufYSize, GDALDataType eSrcType, GDALDataType eBufType, int nPixelSpace, int nLineSpace, CSLConstList papszFunctionArgs)
Type of functions to pass to GDALAddDerivedBandPixelFuncWithArgs.
Definition: gdal.h:1159
GDALMDArrayCache
int GDALMDArrayCache(GDALMDArrayH hArray, CSLConstList papszOptions)
Cache the content of the array into an auxiliary filename.
Definition: gdalmultidim.cpp:10695
GEDTST_NONE
@ GEDTST_NONE
None.
Definition: gdal.h:311
GRIORA_CubicSpline
@ GRIORA_CubicSpline
Definition: gdal.h:136
GRIORA_RMS
@ GRIORA_RMS
RMS: Root Mean Square / Quadratic Mean.
Definition: gdal.h:150
GDALGetDataTypeSize
int GDALGetDataTypeSize(GDALDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:387
GFU_Name
@ GFU_Name
Definition: gdal.h:1559
GDALSetDescription
void GDALSetDescription(GDALMajorObjectH, const char *)
Set object description.
Definition: gdalmajorobject.cpp:135
GDALMDArrayGetView
GDALMDArrayH GDALMDArrayGetView(GDALMDArrayH hArray, const char *pszViewExpr)
Return a view of the array using slicing or field access.
Definition: gdalmultidim.cpp:10371
GDALGetDescription
const char * GDALGetDescription(GDALMajorObjectH)
Fetch object description.
Definition: gdalmajorobject.cpp:94
GFU_Alpha
@ GFU_Alpha
Definition: gdal.h:1566
GDALCreateRasterAttributeTable
GDALRasterAttributeTableH GDALCreateRasterAttributeTable(void)
Construct empty table.
Definition: gdal_rat.cpp:1203
GCI_Undefined
@ GCI_Undefined
Definition: gdal.h:206
GDALWriteBlock
CPLErr GDALWriteBlock(GDALRasterBandH, int, int, void *)
Write a block of image data efficiently.
Definition: gdalrasterband.cpp:727
OGRFieldDomainH
struct OGRFieldDomainHS * OGRFieldDomainH
Opaque type for a field domain definition (OGRFieldDomain)
Definition: ogr_api.h:345
GDALReadBlock
CPLErr GDALReadBlock(GDALRasterBandH, int, int, void *)
Read a block of image data efficiently.
Definition: gdalrasterband.cpp:571
GDALSetDefaultHistogram
CPLErr GDALSetDefaultHistogram(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, int *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:6515
GDALMDArrayRelease
void GDALMDArrayRelease(GDALMDArrayH hMDArray)
Release the GDAL in-memory object associated with a GDALMDArray.
Definition: gdalmultidim.cpp:9579
GDALAttributeWriteInt
int GDALAttributeWriteInt(GDALAttributeH hAttr, int)
Write an attribute from a integer value.
Definition: gdalmultidim.cpp:11070
GDALCreateMultiDimensional
GDALDatasetH GDALCreateMultiDimensional(GDALDriverH hDriver, const char *pszName, CSLConstList papszRootGroupOptions, CSLConstList papszOptions)
Create a new multidimensional dataset with this driver.
Definition: gdaldriver.cpp:368
GDALGroupOpenMDArrayFromFullname
GDALMDArrayH GDALGroupOpenMDArrayFromFullname(GDALGroupH hGroup, const char *pszMDArrayName, CSLConstList papszOptions)
Open and return a multidimensional array from its fully qualified name.
Definition: gdalmultidim.cpp:9173
GDALSetDefaultRAT
CPLErr GDALSetDefaultRAT(GDALRasterBandH, GDALRasterAttributeTableH)
Set default Raster Attribute Table.
Definition: gdalrasterband.cpp:6658
GDALReleaseDimensions
void GDALReleaseDimensions(GDALDimensionH *dims, size_t nCount)
Free the return of GDALGroupGetDimensions() or GDALMDArrayGetDimensions()
Definition: gdalmultidim.cpp:9681
GRIORA_Mode
@ GRIORA_Mode
Definition: gdal.h:140
GDALExtendedDataTypeCreateString
GDALExtendedDataTypeH GDALExtendedDataTypeCreateString(size_t nMaxStringLength)
Return a new GDALExtendedDataType of class GEDTC_STRING.
Definition: gdalmultidim.cpp:8739
GDALAttributeGetTotalElementsCount
GUInt64 GDALAttributeGetTotalElementsCount(GDALAttributeH hAttr)
Return the total number of values in the attribute.
Definition: gdalmultidim.cpp:10755
GDALDatasetReleaseResultSet
void GDALDatasetReleaseResultSet(GDALDatasetH, OGRLayerH)
Release results of ExecuteSQL().
Definition: gdaldataset.cpp:4261
GDALExtendedDataTypeGetClass
GDALExtendedDataTypeClass GDALExtendedDataTypeGetClass(GDALExtendedDataTypeH hEDT)
Return type class.
Definition: gdalmultidim.cpp:8837
CPLVirtualMem
struct CPLVirtualMem CPLVirtualMem
Opaque type that represents a virtual memory mapping.
Definition: cpl_virtualmem.h:62
GDALDatasetExecuteSQL
OGRLayerH GDALDatasetExecuteSQL(GDALDatasetH, const char *, OGRGeometryH, const char *)
Execute an SQL statement against the data store.
Definition: gdaldataset.cpp:4698
GFU_PixelCount
@ GFU_PixelCount
Definition: gdal.h:1558
GDALGetDriverByName
GDALDriverH GDALGetDriverByName(const char *)
Fetch a driver based on the short name.
Definition: gdaldrivermanager.cpp:620
GDALAttributeReadAsStringArray
char ** GDALAttributeReadAsStringArray(GDALAttributeH hAttr)
Return the value of an attribute as an array of strings.
Definition: gdalmultidim.cpp:10946
GDALRATRemoveStatistics
void GDALRATRemoveStatistics(GDALRasterAttributeTableH)
Remove Statistics from RAT.
Definition: gdal_rat.cpp:2252
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:2771
GDALDatasetAbortSQL
OGRErr GDALDatasetAbortSQL(GDALDatasetH)
Abort any SQL statement running in the data store.
Definition: gdaldataset.cpp:4742
GDALMDArraySetNoDataValueAsInt64
int GDALMDArraySetNoDataValueAsInt64(GDALMDArrayH hArray, int64_t nNoDataValue)
Set the nodata value as a Int64.
Definition: gdalmultidim.cpp:10069
GDALMDArrayGetNoDataValueAsDouble
double GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a double.
Definition: gdalmultidim.cpp:9956
GDALSetRasterScale
CPLErr GDALSetRasterScale(GDALRasterBandH hBand, double dfNewOffset)
Set scaling ratio.
Definition: gdalrasterband.cpp:2928
GDALBuildOverviews
CPLErr GDALBuildOverviews(GDALDatasetH, const char *, int, const int *, int, const int *, GDALProgressFunc, void *)
Build raster overview(s)
Definition: gdaldataset.cpp:1876
GDALSetCacheMax
void GDALSetCacheMax(int nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:119
GFU_GreenMin
@ GFU_GreenMin
Definition: gdal.h:1568
GDALRPCInfoV2::dfERR_BIAS
double dfERR_BIAS
Definition: gdal.h:1503
GDALGetAccess
int GDALGetAccess(GDALDatasetH hDS)
Return access flag.
Definition: gdaldataset.cpp:2664
GDALMDArrayGetScale
double GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10185
GCI_YCbCr_CrBand
@ GCI_YCbCr_CrBand
Definition: gdal.h:222
GCI_BlackBand
@ GCI_BlackBand
Definition: gdal.h:219
GDALApplyGeoTransform
void GDALApplyGeoTransform(double *, double, double, double *, double *)
Apply GeoTransform to x/y coordinate.
Definition: gdaltransformer.cpp:4246
GDALDumpOpenDatasets
int GDALDumpOpenDatasets(FILE *)
List open datasets.
Definition: gdaldataset.cpp:3742
GDALFlushCache
void GDALFlushCache(GDALDatasetH hDS)
Flush all write cached data to disk.
Definition: gdaldataset.cpp:476
GRIORA_Gauss
@ GRIORA_Gauss
Definition: gdal.h:141
GDALMDArraySetRawNoDataValue
int GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void *)
Set the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:10029
GDALGetRasterCount
int GDALGetRasterCount(GDALDatasetH)
Fetch the number of raster bands on this dataset.
Definition: gdaldataset.cpp:832
GDALRPCInfoV2::dfMAX_LAT
double dfMAX_LAT
Definition: gdal.h:1500
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:3901
OGRGeometryH
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:66
GDALRATGetValueAsString
const char * GDALRATGetValueAsString(GDALRasterAttributeTableH, int, int)
Fetch field value as a string.
Definition: gdal_rat.cpp:1534
GDALColorEntry::c3
short c3
Definition: gdal.h:1526
GDALRATSerializeJSON
void * GDALRATSerializeJSON(GDALRasterAttributeTableH)
Serialize Raster Attribute Table in Json format.
Definition: gdal_rat.cpp:2231
GDALRATChangesAreWrittenToFile
int GDALRATChangesAreWrittenToFile(GDALRasterAttributeTableH hRAT)
Determine whether changes made to this RAT are reflected directly in the dataset.
Definition: gdal_rat.cpp:1929
GDALMDArrayGetNoDataValueAsInt64
int64_t GDALMDArrayGetNoDataValueAsInt64(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a Int64.
Definition: gdalmultidim.cpp:9982
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:3616
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:3315
GSpacing
GIntBig GSpacing
Type to express pixel, line or band spacing.
Definition: gdal.h:292
GDALSetGeoTransform
CPLErr GDALSetGeoTransform(GDALDatasetH, double *)
Set the affine transformation coefficients.
Definition: gdaldataset.cpp:1172
GDALRATSetValueAsInt
void GDALRATSetValueAsInt(GDALRasterAttributeTableH, int, int, int)
Set field value from integer.
Definition: gdal_rat.cpp:1827
GCI_BlueBand
@ GCI_BlueBand
Definition: gdal.h:211
GDALGroupCreateGroup
GDALGroupH GDALGroupCreateGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Create a sub-group within a group.
Definition: gdalmultidim.cpp:9463
GDALAccess
GDALAccess
Definition: gdal.h:116
GDALGetRasterNoDataValueAsUInt64
uint64_t GDALGetRasterNoDataValueAsUInt64(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1806
GDALRelationshipGetLeftTableFields
char ** GDALRelationshipGetLeftTableFields(GDALRelationshipH)
Get the names of the participating fields from the left table in the relationship.
Definition: gdalrelationship.cpp:237
GDALAttributeWriteDouble
int GDALAttributeWriteDouble(GDALAttributeH hAttr, double)
Write an attribute from a double value.
Definition: gdalmultidim.cpp:11092
GDALDatasetTestCapability
int GDALDatasetTestCapability(GDALDatasetH, const char *)
Test if capability is available.
Definition: gdaldataset.cpp:7254
GDALLoadOziMapFile
int GDALLoadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1401
GDALFlushRasterCache
CPLErr GDALFlushRasterCache(GDALRasterBandH hBand)
Flush raster data cache.
Definition: gdalrasterband.cpp:1090
GDALGroupGetFullName
const char * GDALGroupGetFullName(GDALGroupH hGroup)
Return the full name of the group.
Definition: gdalmultidim.cpp:9112
GDALRATGetColOfUsage
int GDALRATGetColOfUsage(GDALRasterAttributeTableH, GDALRATFieldUsage)
Fetch column index for given usage.
Definition: gdal_rat.cpp:1438
GDALMDArrayGetUnit
const char * GDALMDArrayGetUnit(GDALMDArrayH hArray)
Return the array unit.
Definition: gdalmultidim.cpp:10536
GDALAttributeGetDimensionCount
size_t GDALAttributeGetDimensionCount(GDALAttributeH hAttr)
Return the number of dimensions.
Definition: gdalmultidim.cpp:10769
GDALGetBandNumber
int GDALGetBandNumber(GDALRasterBandH)
Fetch the band number.
Definition: gdalrasterband.cpp:3139
GDALAsyncStatusType
GDALAsyncStatusType
status of the asynchronous stream
Definition: gdal.h:103
GDALAttributeReadAsDoubleArray
double * GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of doubles.
Definition: gdalmultidim.cpp:10993
GDALDecToPackedDMS
double GDALDecToPackedDMS(double)
Convert decimal degrees into packed DMS value (DDDMMMSSS.SS).
Definition: gdal_misc.cpp:2451
GDALDatasetCommitTransaction
OGRErr GDALDatasetCommitTransaction(GDALDatasetH hDS)
For datasources which support transactions, CommitTransaction commits a transaction.
Definition: gdaldataset.cpp:7427
GDALAttributeWriteRaw
int GDALAttributeWriteRaw(GDALAttributeH hAttr, const void *, size_t)
Write an attribute from raw values expressed in GetDataType()
Definition: gdalmultidim.cpp:11028
GFT_Integer
@ GFT_Integer
Definition: gdal.h:1550
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:7602
GDALRATFieldType
GDALRATFieldType
Field type of raster attribute table.
Definition: gdal.h:1549
GDALRATCreateColumn
CPLErr GDALRATCreateColumn(GDALRasterAttributeTableH, const char *, GDALRATFieldType, GDALRATFieldUsage)
Create new column.
Definition: gdal_rat.cpp:456
GDALDatasetGetStyleTable
OGRStyleTableH GDALDatasetGetStyleTable(GDALDatasetH)
Returns dataset style table.
Definition: gdaldataset.cpp:4766
GDALGetDriverHelpTopic
const char * GDALGetDriverHelpTopic(GDALDriverH)
Return the URL to the help that describes the driver.
Definition: gdaldriver.cpp:1785
GDALMDArrayAdviseRead
int GDALMDArrayAdviseRead(GDALMDArrayH hArray, const GUInt64 *arrayStartIdx, const size_t *count)
Advise driver of upcoming read requests.
Definition: gdalmultidim.cpp:9797
GDALAttributeFreeRawResult
void GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte *raw, size_t nSize)
Free the return of GDALAttributeAsRaw()
Definition: gdalmultidim.cpp:10854
GDALRelationshipSetMappingTableName
void GDALRelationshipSetMappingTableName(GDALRelationshipH, const char *)
Sets the name of the mapping table for many-to-many relationships.
Definition: gdalrelationship.cpp:215
OGRErr
int OGRErr
Type for a OGR error.
Definition: ogr_core.h:341
GDALRelationshipSetLeftMappingTableFields
void GDALRelationshipSetLeftMappingTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the mapping table fields which correspond to the participating fields from the left...
Definition: gdalrelationship.cpp:414
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:9515
GDALExtendedDataTypeRelease
void GDALExtendedDataTypeRelease(GDALExtendedDataTypeH hEDT)
Release the GDAL in-memory object associated with a GDALExtendedDataTypeH.
Definition: gdalmultidim.cpp:8810
GDALMDArrayGetScaleEx
double GDALMDArrayGetScaleEx(GDALMDArrayH hArray, int *pbHasValue, GDALDataType *peStorageType)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10208
GDALEDTComponentGetType
GDALExtendedDataTypeH GDALEDTComponentGetType(GDALEDTComponentH hComp)
Return the data type of the component.
Definition: gdalmultidim.cpp:9065
GDALComputeBandStats
CPLErr GDALComputeBandStats(GDALRasterBandH hBand, int nSampleStep, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:5455
GDALReleaseDataset
int GDALReleaseDataset(GDALDatasetH)
Drop a reference to this object, and destroy if no longer referenced.
Definition: gdaldataset.cpp:1358
GA_ReadOnly
@ GA_ReadOnly
Definition: gdal.h:117
GFT_String
@ GFT_String
Definition: gdal.h:1552
GDT_Int64
@ GDT_Int64
Definition: gdal.h:71
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:1671
GDALRegisterDriver
int GDALRegisterDriver(GDALDriverH)
Register a driver for use.
Definition: gdaldrivermanager.cpp:518
GDALCreateDatasetMaskBand
CPLErr GDALCreateDatasetMaskBand(GDALDatasetH hDS, int nFlags)
Adds a mask band to the dataset.
Definition: gdaldataset.cpp:3064
GDALSetRasterColorInterpretation
CPLErr GDALSetRasterColorInterpretation(GDALRasterBandH, GDALColorInterp)
Set color interpretation of a band.
Definition: gdalrasterband.cpp:2348
GIntBig
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:230
GDAL_GCP::pszInfo
char * pszInfo
Informational message or "".
Definition: gdal.h:898
GDAL_GCP::dfGCPPixel
double dfGCPPixel
Pixel (x) location of GCP on raster.
Definition: gdal.h:901
GDALGetRasterOffset
double GDALGetRasterOffset(GDALRasterBandH, int *pbSuccess)
Fetch the raster value offset.
Definition: gdalrasterband.cpp:2771
GDALGroupH
struct GDALGroupHS * GDALGroupH
Opaque type for C++ GDALGroup.
Definition: gdal.h:321
GDALOpenShared
GDALDatasetH GDALOpenShared(const char *, GDALAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3616
GDALDimensionRelease
void GDALDimensionRelease(GDALDimensionH hDim)
Release the GDAL in-memory object associated with a GDALDimension.
Definition: gdalmultidim.cpp:11154
GDALMDArrayGetNoDataValueAsUInt64
uint64_t GDALMDArrayGetNoDataValueAsUInt64(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a UInt64.
Definition: gdalmultidim.cpp:10008
GRIORA_Average
@ GRIORA_Average
Definition: gdal.h:138
GDALAttributeGetDataType
GDALExtendedDataTypeH GDALAttributeGetDataType(GDALAttributeH hAttr)
Return the data type.
Definition: gdalmultidim.cpp:10811
GDALDatasetGetRootGroup
GDALGroupH GDALDatasetGetRootGroup(GDALDatasetH hDS)
Return the root GDALGroup of this dataset.
Definition: gdalmultidim.cpp:11284
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:8784
GDALDatasetGetRelationshipNames
char ** GDALDatasetGetRelationshipNames(GDALDatasetH, CSLConstList)
Returns a list of the names of all relationships stored in the dataset.
Definition: gdaldataset.cpp:8705
GDALGCPsToGeoTransform
int GDALGCPsToGeoTransform(int nGCPCount, const GDAL_GCP *pasGCPs, double *padfGeoTransform, int bApproxOK)
Generate Geotransform from GCPs.
Definition: gdal_misc.cpp:2493
GDALEDTComponentCreate
GDALEDTComponentH GDALEDTComponentCreate(const char *pszName, size_t nOffset, GDALExtendedDataTypeH hType)
Create a new GDALEDTComponent.
Definition: gdalmultidim.cpp:9006
OGRwkbGeometryType
OGRwkbGeometryType
List of well known binary geometry types.
Definition: ogr_core.h:368
GDALGetColorEntry
const GDALColorEntry * GDALGetColorEntry(GDALColorTableH, int)
Fetch a color entry from table.
Definition: gdalcolortable.cpp:134
GDALAsyncReaderH
void * GDALAsyncReaderH
Opaque type used for the C bindings of the C++ GDALAsyncReader class.
Definition: gdal.h:284
GDALFindDataTypeForValue
GDALDataType GDALFindDataTypeForValue(double dValue, int bComplex)
Finds the smallest data type able to support the provided value.
Definition: gdal_misc.cpp:294
GDALAttributeWriteStringArray
int GDALAttributeWriteStringArray(GDALAttributeH hAttr, CSLConstList)
Write an attribute from an array of strings.
Definition: gdalmultidim.cpp:11114
GDALGetGCPProjection
const char * GDALGetGCPProjection(GDALDatasetH)
Get output projection for GCPs.
Definition: gdaldataset.cpp:1588
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:1805
GDALRasterIOExtraArg
Structure to pass extra arguments to RasterIO() method, must be initialized with INIT_RASTERIO_EXTRA_...
Definition: gdal.h:161
GDALExtendedDataTypeEquals
int GDALExtendedDataTypeEquals(GDALExtendedDataTypeH hFirstEDT, GDALExtendedDataTypeH hSecondEDT)
Return whether this data type is equal to another one.
Definition: gdalmultidim.cpp:8919
GDAL_GCP::dfGCPY
double dfGCPY
Y position of GCP in georeferenced space.
Definition: gdal.h:909
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:869
GDALDimensionGetDirection
const char * GDALDimensionGetDirection(GDALDimensionH hDim)
Return dimension direction.
Definition: gdalmultidim.cpp:11209
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:802
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:9195
GDT_CInt16
@ GDT_CInt16
Definition: gdal.h:74
GRTT_THEMATIC
@ GRTT_THEMATIC
Definition: gdal.h:1582
GDALGetRasterColorInterpretation
GDALColorInterp GDALGetRasterColorInterpretation(GDALRasterBandH)
How should this band be interpreted as color?
Definition: gdalrasterband.cpp:2299
GDALRATDumpReadable
void GDALRATDumpReadable(GDALRasterAttributeTableH, FILE *)
Dump RAT in readable form.
Definition: gdal_rat.cpp:1159
cpl_port.h
GEDTST_JSON
@ GEDTST_JSON
JSon.
Definition: gdal.h:313
GDALRWFlag
GDALRWFlag
Definition: gdal.h:122
GDALReleaseAttributes
void GDALReleaseAttributes(GDALAttributeH *attributes, size_t nCount)
Free the return of GDALGroupGetAttributes() or GDALMDArrayGetAttributes()
Definition: gdalmultidim.cpp:9444
GDALSetCacheMax64
void GDALSetCacheMax64(GIntBig nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:145
ogr_api.h
GDALEndAsyncReader
void GDALEndAsyncReader(GDALDatasetH hDS, GDALAsyncReaderH hAsynchReaderH)
End asynchronous request.
Definition: gdaldataset.cpp:3991
GDALRATFieldUsage
GDALRATFieldUsage
Field usage of raster attribute table.
Definition: gdal.h:1556
GA_Update
@ GA_Update
Definition: gdal.h:118
GDALDestroyDriverManager
void GDALDestroyDriverManager(void)
Destroy the driver manager.
Definition: gdaldrivermanager.cpp:1037
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:9486
GDALRATSetValueAsDouble
void GDALRATSetValueAsDouble(GDALRasterAttributeTableH, int, int, double)
Set field value from double.
Definition: gdal_rat.cpp:1896
GDALGetRasterBandXSize
int GDALGetRasterBandXSize(GDALRasterBandH)
Fetch XSize of raster.
Definition: gdalrasterband.cpp:3060
GDT_Int16
@ GDT_Int16
Definition: gdal.h:67
GDALAttributeGetName
const char * GDALAttributeGetName(GDALAttributeH hAttr)
Return the name of the attribute.
Definition: gdalmultidim.cpp:10725
GDALPackedDMSToDec
double GDALPackedDMSToDec(double)
Convert a packed DMS value (DDDMMMSSS.SS) into decimal degrees.
Definition: gdal_misc.cpp:2435
GDALRPCInfoV2::dfLINE_OFF
double dfLINE_OFF
Definition: gdal.h:1480
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:9715
GDALSetProjection
CPLErr GDALSetProjection(GDALDatasetH, const char *)
Set the projection reference string for this dataset.
Definition: gdaldataset.cpp:1056
GDALGetRasterMinimum
double GDALGetRasterMinimum(GDALRasterBandH, int *pbSuccess)
Fetch the minimum value for this band.
Definition: gdalrasterband.cpp:2257
GFU_AlphaMax
@ GFU_AlphaMax
Definition: gdal.h:1574
GDALGetRasterDataType
GDALDataType GDALGetRasterDataType(GDALRasterBandH)
Fetch the pixel data type for this band.
Definition: gdalrasterband.cpp:880
GDALCreateColorRamp
void GDALCreateColorRamp(GDALColorTableH hTable, int nStartIndex, const GDALColorEntry *psStartColor, int nEndIndex, const GDALColorEntry *psEndColor)
Create color ramp.
Definition: gdalcolortable.cpp:446
GDALGetDataTypeName
const char * GDALGetDataTypeName(GDALDataType)
Get name of data type.
Definition: gdal_misc.cpp:591
GCI_YCbCr_CbBand
@ GCI_YCbCr_CbBand
Definition: gdal.h:221
GDALGetSpatialRef
OGRSpatialReferenceH GDALGetSpatialRef(GDALDatasetH)
Fetch the spatial reference for this dataset.
Definition: gdaldataset.cpp:928
GFU_MaxCount
@ GFU_MaxCount
Definition: gdal.h:1575
GDALGetRasterNoDataValue
double GDALGetRasterNoDataValue(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1685
GDALRasterIOExtraArg::dfYSize
double dfYSize
Definition: gdal.h:186
GPI_Gray
@ GPI_Gray
Definition: gdal.h:232
GDALRasterBandAsMDArray
GDALMDArrayH GDALRasterBandAsMDArray(GDALRasterBandH)
Return a view of this raster band as a 2D multidimensional GDALMDArray.
Definition: gdalmultidim.cpp:11313
GDALRATGetTableType
GDALRATTableType GDALRATGetTableType(GDALRasterAttributeTableH hRAT)
Get Rat Table Type.
Definition: gdal_rat.cpp:571
GDALDatasetAddRelationship
bool GDALDatasetAddRelationship(GDALDatasetH hDS, GDALRelationshipH hRelationship, char **ppszFailureReason)
Add a relationship to the dataset.
Definition: gdaldataset.cpp:8822
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:4589
GDALDatasetGetLayerByName
OGRLayerH GDALDatasetGetLayerByName(GDALDatasetH, const char *)
Fetch a layer by name.
Definition: gdaldataset.cpp:4359
GDALRelationshipGetLeftMappingTableFields
char ** GDALRelationshipGetLeftMappingTableFields(GDALRelationshipH)
Get the names of the mapping table fields which correspond to the participating fields from the left ...
Definition: gdalrelationship.cpp:355
GDALSetRasterNoDataValue
CPLErr GDALSetRasterNoDataValue(GDALRasterBandH, double)
Set the no data value for this band.
Definition: gdalrasterband.cpp:1883
GDALGroupGetAttributes
GDALAttributeH * GDALGroupGetAttributes(GDALGroupH hGroup, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this group.
Definition: gdalmultidim.cpp:9400
GDALSetRasterOffset
CPLErr GDALSetRasterOffset(GDALRasterBandH hBand, double dfNewOffset)
Set scaling offset.
Definition: gdalrasterband.cpp:2821
CPLErr
CPLErr
Error category.
Definition: cpl_error.h:52
GDALMDArraySetSpatialRef
int GDALMDArraySetSpatialRef(GDALMDArrayH, OGRSpatialReferenceH)
Assign a spatial reference system object to the the array.
Definition: gdalmultidim.cpp:10552
GDALWriteWorldFile
int GDALWriteWorldFile(const char *, const char *, double *)
Write ESRI world file.
Definition: gdal_misc.cpp:2160
GDALRelationshipGetRightTableName
const char * GDALRelationshipGetRightTableName(GDALRelationshipH)
Get the name of the right (or related/destination) table in the relationship.
Definition: gdalrelationship.cpp:173
GDALGetMaskBand
GDALRasterBandH GDALGetMaskBand(GDALRasterBandH hBand)
Return the mask band associated with the band.
Definition: gdalrasterband.cpp:6973
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:3375
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:400
GDALMDArraySetScale
int GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10109
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:1151
GDALRasterIOExtraArg::dfXSize
double dfXSize
Definition: gdal.h:184
GDALGetRasterNoDataValueAsInt64
int64_t GDALGetRasterNoDataValueAsInt64(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1745
GDALGetCacheUsed
int GDALGetCacheUsed(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:324
GDAL_GCP::dfGCPZ
double dfGCPZ
Elevation of GCP, or zero if not known.
Definition: gdal.h:912
GDALRPCInfoV2::dfLAT_OFF
double dfLAT_OFF
Definition: gdal.h:1482
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
GPI_CMYK
@ GPI_CMYK
Definition: gdal.h:234
GDALRelationshipSetLeftTableFields
void GDALRelationshipSetLeftTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the participating fields from the left table in the relationship.
Definition: gdalrelationship.cpp:296
GDALRasterIOExtraArg::dfYOff
double dfYOff
Definition: gdal.h:182
GPI_HLS
@ GPI_HLS
Definition: gdal.h:235
GDT_Byte
@ GDT_Byte
Definition: gdal.h:65
GPI_RGB
@ GPI_RGB
Definition: gdal.h:233
GDALMDArrayGetMask
GDALMDArrayH GDALMDArrayGetMask(GDALMDArrayH hArray, CSLConstList papszOptions)
Return an array that is a mask for the current array.
Definition: gdalmultidim.cpp:10446
GDALDecToDMS
const char * GDALDecToDMS(double, const char *, int)
Translate a decimal degrees value to a DMS string with hemisphere.
Definition: gdal_misc.cpp:2418
GDALDataTypeIsConversionLossy
int GDALDataTypeIsConversionLossy(GDALDataType eTypeFrom, GDALDataType eTypeTo)
Is conversion from eTypeFrom to eTypeTo potentially lossy.
Definition: gdal_misc.cpp:520
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:2321
GDALRATGetRowCount
int GDALRATGetRowCount(GDALRasterAttributeTableH)
Fetch row count.
Definition: gdal_rat.cpp:1467
GDALExtendedDataTypeSubType
GDALExtendedDataTypeSubType
Enumeration giving the subtype of a GDALExtendedDataType.
Definition: gdal.h:309
GDALExtendedDataTypeGetComponents
GDALEDTComponentH * GDALExtendedDataTypeGetComponents(GDALExtendedDataTypeH hEDT, size_t *pnCount)
Return the components of the data type (only valid when GetClass() == GEDTC_COMPOUND)
Definition: gdalmultidim.cpp:8962
GDALRATSetRowCount
void GDALRATSetRowCount(GDALRasterAttributeTableH, int)
Set row count.
Definition: gdal_rat.cpp:332
GDALRelationshipSetRightTableFields
void GDALRelationshipSetRightTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the participating fields from the right table in the relationship.
Definition: gdalrelationship.cpp:326
GDALMDArrayGetDimensions
GDALDimensionH * GDALMDArrayGetDimensions(GDALMDArrayH hArray, size_t *pnCount)
Return the dimensions of the array.
Definition: gdalmultidim.cpp:9657
CPL_RESTRICT
#define CPL_RESTRICT
restrict keyword to declare that pointers do not alias
Definition: cpl_port.h:910
GDALGetOverview
GDALRasterBandH GDALGetOverview(GDALRasterBandH, int)
Fetch overview raster band object.
Definition: gdalrasterband.cpp:2569
GDALSetMetadata
CPLErr GDALSetMetadata(GDALMajorObjectH, CSLConstList, const char *)
Set metadata.
Definition: gdalmajorobject.cpp:317
GDALDataTypeIsSigned
int GDALDataTypeIsSigned(GDALDataType)
Is data type signed?
Definition: gdal_misc.cpp:492
GDALExtendedDataTypeH
struct GDALExtendedDataTypeHS * GDALExtendedDataTypeH
Opaque type for C++ GDALExtendedDataType.
Definition: gdal.h:317
GDALRIOResampleAlg
GDALRIOResampleAlg
RasterIO() resampling method.
Definition: gdal.h:131
GDALGetDatasetDriver
GDALDriverH GDALGetDatasetDriver(GDALDatasetH)
Fetch the driver to which this dataset relates.
Definition: gdaldataset.cpp:1246
GDALSetSpatialRef
CPLErr GDALSetSpatialRef(GDALDatasetH, OGRSpatialReferenceH)
Set the spatial reference system for this dataset.
Definition: gdaldataset.cpp:1037
GDALDestroyColorTable
void GDALDestroyColorTable(GDALColorTableH)
Destroys a color table.
Definition: gdalcolortable.cpp:95
GDALGetRasterColorTable
GDALColorTableH GDALGetRasterColorTable(GDALRasterBandH)
Fetch the color table associated with band.
Definition: gdalrasterband.cpp:2390
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:10391
GDALInvGeoTransform
int GDALInvGeoTransform(double *padfGeoTransformIn, double *padfInvGeoTransformOut)
Invert Geotransform.
Definition: gdaltransformer.cpp:4272
GDALRelationshipSetRightMappingTableFields
void GDALRelationshipSetRightMappingTableFields(GDALRelationshipH, CSLConstList)
Sets the names of the mapping table fields which correspond to the participating fields from the righ...
Definition: gdalrelationship.cpp:444
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:2564
GDALRelationshipSetForwardPathLabel
void GDALRelationshipSetForwardPathLabel(GDALRelationshipH, const char *)
Sets the label of the forward path for the relationship.
Definition: gdalrelationship.cpp:551
GCI_AlphaBand
@ GCI_AlphaBand
Definition: gdal.h:212
GDALRelationshipCardinality
GDALRelationshipCardinality
Cardinality of relationship.
Definition: gdal.h:1664
GDALDimensionSetIndexingVariable
int GDALDimensionSetIndexingVariable(GDALDimensionH hDim, GDALMDArrayH hArray)
Set the variable that is used to index the dimension.
Definition: gdalmultidim.cpp:11264
GDALMDArrayGetUnscaled
GDALMDArrayH GDALMDArrayGetUnscaled(GDALMDArrayH hArray)
Return an array that is the unscaled version of the current one.
Definition: gdalmultidim.cpp:10424
GDALRATGetLinearBinning
int GDALRATGetLinearBinning(GDALRasterAttributeTableH, double *, double *)
Get linear binning information.
Definition: gdal_rat.cpp:549
GDALGroupGetAttribute
GDALAttributeH GDALGroupGetAttribute(GDALGroupH hGroup, const char *pszName)
Return an attribute by its name.
Definition: gdalmultidim.cpp:9371
GDALGroupGetName
const char * GDALGroupGetName(GDALGroupH hGroup)
Return the name of the group.
Definition: gdalmultidim.cpp:9096
GDALComputeRasterMinMax
CPLErr GDALComputeRasterMinMax(GDALRasterBandH hBand, int bApproxOK, double adfMinMax[2])
Compute the min/max values for a band.
Definition: gdalrasterband.cpp:6467
GDALPaletteInterp
GDALPaletteInterp
Definition: gdal.h:230
GDALGetColorEntryAsRGB
int GDALGetColorEntryAsRGB(GDALColorTableH, int, GDALColorEntry *)
Fetch a table entry in RGB format.
Definition: gdalcolortable.cpp:183
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
GDALRATSetValueAsString
void GDALRATSetValueAsString(GDALRasterAttributeTableH, int, int, const char *)
Set field value from string.
Definition: gdal_rat.cpp:1758
GDALRPCInfoV2
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1478
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:3939
GDALMDArrayGetFullName
const char * GDALMDArrayGetFullName(GDALMDArrayH hArray)
Return array full name.
Definition: gdalmultidim.cpp:9606
GDALDatasetGetLayer
OGRLayerH GDALDatasetGetLayer(GDALDatasetH, int)
Fetch a layer by index.
Definition: gdaldataset.cpp:4323
GDALDatasetIsLayerPrivate
int GDALDatasetIsLayerPrivate(GDALDatasetH, int)
Returns true if the layer at the specified index is deemed a private or system table,...
Definition: gdaldataset.cpp:4393
GDALRasterIOExtraArg::nVersion
int nVersion
Definition: gdal.h:164
GDALRelationshipSetBackwardPathLabel
void GDALRelationshipSetBackwardPathLabel(GDALRelationshipH, const char *)
Sets the label of the backward path for the relationship.
Definition: gdalrelationship.cpp:613
GRIORA_Bilinear
@ GRIORA_Bilinear
Definition: gdal.h:134
GDALCreateCopy
GDALDatasetH GDALCreateCopy(GDALDriverH, const char *, GDALDatasetH, int, CSLConstList, GDALProgressFunc, void *)
Create a copy of a dataset.
Definition: gdaldriver.cpp:1241
GDALColorEntry::c1
short c1
Definition: gdal.h:1520
OGRLayerH
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:592
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:1654
GFU_BlueMin
@ GFU_BlueMin
Definition: gdal.h:1569
GDALDataTypeUnion
GDALDataType GDALDataTypeUnion(GDALDataType, GDALDataType)
Return the smallest data type that can fully express both input data types.
Definition: gdal_misc.cpp:133
GDALExtendedDataTypeCreateStringEx
GDALExtendedDataTypeH GDALExtendedDataTypeCreateStringEx(size_t nMaxStringLength, GDALExtendedDataTypeSubType eSubType)
Return a new GDALExtendedDataType of class GEDTC_STRING.
Definition: gdalmultidim.cpp:8759
GDALRasterBandH
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:272
GDALGetRasterYSize
int GDALGetRasterYSize(GDALDatasetH)
Fetch raster height in pixels.
Definition: gdaldataset.cpp:745
GDALGetGCPCount
int GDALGetGCPCount(GDALDatasetH)
Get number of GCPs.
Definition: gdaldataset.cpp:1480
GDALGetProjectionRef
const char * GDALGetProjectionRef(GDALDatasetH)
Fetch the projection definition string for this dataset.
Definition: gdaldataset.cpp:948
GEDTC_COMPOUND
@ GEDTC_COMPOUND
Compound data type.
Definition: gdal.h:303
GDALSetRasterNoDataValueAsInt64
CPLErr GDALSetRasterNoDataValueAsInt64(GDALRasterBandH, int64_t)
Set the no data value for this band.
Definition: gdalrasterband.cpp:1955
GDALComposeGeoTransforms
void GDALComposeGeoTransforms(const double *padfGeoTransform1, const double *padfGeoTransform2, double *padfGeoTransformOut)
Compose two geotransforms.
Definition: gdal_misc.cpp:2794
GDALGetDefaultRAT
GDALRasterAttributeTableH GDALGetDefaultRAT(GDALRasterBandH hBand)
Fetch default Raster Attribute Table.
Definition: gdalrasterband.cpp:6603
GDALSetDefaultHistogramEx
CPLErr GDALSetDefaultHistogramEx(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:6559
GDALGroupOpenVectorLayer
OGRLayerH GDALGroupOpenVectorLayer(GDALGroupH hGroup, const char *pszVectorLayerName, CSLConstList papszOptions)
Open and return a vector layer.
Definition: gdalmultidim.cpp:9292
GDALSwapWords
void GDALSwapWords(void *pData, int nWordSize, int nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:2041
GDALDatasetDeleteLayer
OGRErr GDALDatasetDeleteLayer(GDALDatasetH, int)
Delete the indicated layer from the datasource.
Definition: gdaldataset.cpp:4424
GDALMDArrayGetDataType
GDALExtendedDataTypeH GDALMDArrayGetDataType(GDALMDArrayH hArray)
Return the data type.
Definition: gdalmultidim.cpp:9698
GDALMDArrayGetBlockSize
GUInt64 * GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount)
Return the "natural" block size of the array along all dimensions.
Definition: gdalmultidim.cpp:10290
GDALDatasetH
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:269
GDALReferenceDataset
int GDALReferenceDataset(GDALDatasetH)
Add one to dataset reference count.
Definition: gdaldataset.cpp:1281
GDALCreateDriver
GDALDriverH GDALCreateDriver(void)
Create a GDALDriver.
Definition: gdaldriver.cpp:94
GDALMDArraySetScaleEx
int GDALMDArraySetScaleEx(GDALMDArrayH hArray, double dfScale, GDALDataType eStorageType)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:10128
GDALRegenerateOverviews
CPLErr GDALRegenerateOverviews(GDALRasterBandH hSrcBand, int nOverviewCount, GDALRasterBandH *pahOverviewBands, const char *pszResampling, GDALProgressFunc pfnProgress, void *pProgressData)
Generate downsampled overviews.
Definition: overview.cpp:4081
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:7700
GDALRATTranslateToColorTable
GDALColorTableH GDALRATTranslateToColorTable(GDALRasterAttributeTableH, int nEntryCount)
Translate to a color table.
Definition: gdal_rat.cpp:1107
GDALDataTypeIsComplex
int GDALDataTypeIsComplex(GDALDataType)
Is data type complex?
Definition: gdal_misc.cpp:405
GDALGetRasterMaximum
double GDALGetRasterMaximum(GDALRasterBandH, int *pbSuccess)
Fetch the maximum value for this band.
Definition: gdalrasterband.cpp:2168
GDALGetAsyncStatusTypeName
const char * GDALGetAsyncStatusTypeName(GDALAsyncStatusType)
Get name of AsyncStatus data type.
Definition: gdal_misc.cpp:863
GDALGetRasterUnitType
const char * GDALGetRasterUnitType(GDALRasterBandH)
Return raster unit type.
Definition: gdalrasterband.cpp:2970
GDALDatasetGetFieldDomain
OGRFieldDomainH GDALDatasetGetFieldDomain(GDALDatasetH hDS, const char *pszName)
Get a field domain from its name.
Definition: gdaldataset.cpp:8432
GDALRATSetLinearBinning
CPLErr GDALRATSetLinearBinning(GDALRasterAttributeTableH, double, double)
Set linear binning information.
Definition: gdal_rat.cpp:504
GFU_Green
@ GFU_Green
Definition: gdal.h:1564
GDALRelationshipSetType
void GDALRelationshipSetType(GDALRelationshipH, GDALRelationshipType)
Sets the type of the relationship.
Definition: gdalrelationship.cpp:490
GCI_MagentaBand
@ GCI_MagentaBand
Definition: gdal.h:217
GDALSetRasterColorTable
CPLErr GDALSetRasterColorTable(GDALRasterBandH, GDALColorTableH)
Set the raster color table.
Definition: gdalrasterband.cpp:2443
GDALDriverH
void * GDALDriverH
Opaque type used for the C bindings of the C++ GDALDriver class.
Definition: gdal.h:275
GDALDimensionH
struct GDALDimensionHS * GDALDimensionH
Opaque type for C++ GDALDimension.
Definition: gdal.h:327
GDALComputeRasterStatistics
CPLErr GDALComputeRasterStatistics(GDALRasterBandH, int bApproxOK, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Compute image statistics.
Definition: gdalrasterband.cpp:5845
GDALRelationshipType
GDALRelationshipType
Type of relationship.
Definition: gdal.h:1680
GDALDatasetSetStyleTable
void GDALDatasetSetStyleTable(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4824