GDAL
gdal.h
Go to the documentation of this file.
1 /******************************************************************************
2  * $Id: gdal.h 8f0ebfd5b6f153a63b6e2186b68577937cedc02c 2020-06-14 00:21:08 +0200 Even Rouault $
3  *
4  * Project: GDAL Core
5  * Purpose: GDAL Core C/Public declarations.
6  * Author: Frank Warmerdam, warmerdam@pobox.com
7  *
8  ******************************************************************************
9  * Copyright (c) 1998, 2002 Frank Warmerdam
10  * Copyright (c) 2007-2014, Even Rouault <even dot rouault at spatialys.com>
11  *
12  * Permission is hereby granted, free of charge, to any person obtaining a
13  * copy of this software and associated documentation files (the "Software"),
14  * to deal in the Software without restriction, including without limitation
15  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16  * and/or sell copies of the Software, and to permit persons to whom the
17  * Software is furnished to do so, subject to the following conditions:
18  *
19  * The above copyright notice and this permission notice shall be included
20  * in all copies or substantial portions of the Software.
21  *
22  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28  * DEALINGS IN THE SOFTWARE.
29  ****************************************************************************/
30 
31 #ifndef GDAL_H_INCLUDED
32 #define GDAL_H_INCLUDED
33 
40 #ifndef DOXYGEN_SKIP
41 #if defined(GDAL_COMPILATION)
42 #define DO_NOT_DEFINE_GDAL_RELEASE_DATE_AND_GDAL_RELEASE_NAME
43 #endif
44 #include "gdal_version.h"
45 #include "cpl_port.h"
46 #include "cpl_error.h"
47 #include "cpl_progress.h"
48 #include "cpl_virtualmem.h"
49 #include "cpl_minixml.h"
50 #include "ogr_api.h"
51 #endif
52 
53 /* -------------------------------------------------------------------- */
54 /* Significant constants. */
55 /* -------------------------------------------------------------------- */
56 
58 
60 typedef enum { GDT_Unknown = 0, GDT_Byte = 1, GDT_UInt16 = 2, GDT_Int16 = 3, GDT_UInt32 = 4, GDT_Int32 = 5,
67  /* TODO?(#6879): GDT_UInt64 */
68  /* TODO?(#6879): GDT_Int64 */ GDT_Float32 = 6, GDT_Float64 = 7, GDT_CInt16 = 8, GDT_CInt32 = 9,
73  /* TODO?(#6879): GDT_CInt64 */ GDT_CFloat32 = 10, GDT_CFloat64 = 11,
76  GDT_TypeCount = 12 /* maximum type # + 1 */
77 } GDALDataType;
78 
79 int CPL_DLL CPL_STDCALL GDALGetDataTypeSize( GDALDataType ); // Deprecated.
80 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBits( GDALDataType eDataType );
81 int CPL_DLL CPL_STDCALL GDALGetDataTypeSizeBytes( GDALDataType );
82 int CPL_DLL CPL_STDCALL GDALDataTypeIsComplex( GDALDataType );
83 int CPL_DLL CPL_STDCALL GDALDataTypeIsInteger( GDALDataType );
84 int CPL_DLL CPL_STDCALL GDALDataTypeIsFloating( GDALDataType );
85 int CPL_DLL CPL_STDCALL GDALDataTypeIsSigned( GDALDataType );
86 const char CPL_DLL * CPL_STDCALL GDALGetDataTypeName( GDALDataType );
87 GDALDataType CPL_DLL CPL_STDCALL GDALGetDataTypeByName( const char * );
89 GDALDataType CPL_DLL CPL_STDCALL GDALDataTypeUnionWithValue( GDALDataType eDT, double dValue, int bComplex );
90 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataType( int nBits, int bSigned, int bFloating, int bComplex );
91 GDALDataType CPL_DLL CPL_STDCALL GDALFindDataTypeForValue( double dValue, int bComplex );
92 double CPL_DLL GDALAdjustValueToDataType( GDALDataType eDT, double dfValue, int* pbClamped, int* pbRounded );
94 int CPL_DLL CPL_STDCALL GDALDataTypeIsConversionLossy( GDALDataType eTypeFrom,
95  GDALDataType eTypeTo );
96 
100 typedef enum
101 {
102  GARIO_PENDING = 0,
103  GARIO_UPDATE = 1,
104  GARIO_ERROR = 2,
105  GARIO_COMPLETE = 3,
106  GARIO_TypeCount = 4
108 
109 const char CPL_DLL * CPL_STDCALL GDALGetAsyncStatusTypeName( GDALAsyncStatusType );
110 GDALAsyncStatusType CPL_DLL CPL_STDCALL GDALGetAsyncStatusTypeByName( const char * );
111 
113 typedef enum { GA_ReadOnly = 0, GA_Update = 1
117 
119 typedef enum { GF_Read = 0, GF_Write = 1
123 
124 /* NOTE: values are selected to be consistent with GDALResampleAlg of alg/gdalwarper.h */
128 typedef enum
139  /* NOTE: values 8 to 12 are reserved for max,min,med,Q1,Q3 */
141  GRIORA_LAST = GRIORA_Gauss
144 
145 /* NOTE to developers: only add members, and if so edit INIT_RASTERIO_EXTRA_ARG */
146 /* and INIT_RASTERIO_EXTRA_ARG */
150 typedef struct
151 {
153  int nVersion;
154 
157 
159  GDALProgressFunc pfnProgress;
162 
169  double dfXOff;
171  double dfYOff;
173  double dfXSize;
175  double dfYSize;
177 
178 #ifndef DOXYGEN_SKIP
179 #define RASTERIO_EXTRA_ARG_CURRENT_VERSION 1
180 #endif
181 
185 #define INIT_RASTERIO_EXTRA_ARG(s) \
186  do { (s).nVersion = RASTERIO_EXTRA_ARG_CURRENT_VERSION; \
187  (s).eResampleAlg = GRIORA_NearestNeighbour; \
188  (s).pfnProgress = CPL_NULLPTR; \
189  (s).pProgressData = CPL_NULLPTR; \
190  (s).bFloatingPointWindowValidity = FALSE; } while(0)
191 
193 typedef enum
214 
215 const char CPL_DLL *GDALGetColorInterpretationName( GDALColorInterp );
216 GDALColorInterp CPL_DLL GDALGetColorInterpretationByName( const char *pszName );
217 
219 typedef enum
220 { GPI_Gray=0, GPI_RGB=1, GPI_CMYK=2, GPI_HLS=3
226 
228 
229 /* "well known" metadata items. */
230 
233 #define GDALMD_AREA_OR_POINT "AREA_OR_POINT"
234 
236 # define GDALMD_AOP_AREA "Area"
237 
239 # define GDALMD_AOP_POINT "Point"
240 
241 /* -------------------------------------------------------------------- */
242 /* GDAL Specific error codes. */
243 /* */
244 /* error codes 100 to 299 reserved for GDAL. */
245 /* -------------------------------------------------------------------- */
246 #ifndef DOXYGEN_SKIP
247 #define CPLE_WrongFormat CPL_STATIC_CAST(CPLErrorNum, 200)
248 #endif
249 
250 /* -------------------------------------------------------------------- */
251 /* Define handle types related to various internal classes. */
252 /* -------------------------------------------------------------------- */
253 
255 typedef void *GDALMajorObjectH;
256 
258 typedef void *GDALDatasetH;
259 
261 typedef void *GDALRasterBandH;
262 
264 typedef void *GDALDriverH;
265 
267 typedef void *GDALColorTableH;
268 
271 
273 typedef void *GDALAsyncReaderH;
274 
277 
281 typedef enum {
289 
291 typedef struct GDALExtendedDataTypeHS* GDALExtendedDataTypeH;
293 typedef struct GDALEDTComponentHS* GDALEDTComponentH;
295 typedef struct GDALGroupHS* GDALGroupH;
297 typedef struct GDALMDArrayHS* GDALMDArrayH;
299 typedef struct GDALAttributeHS* GDALAttributeH;
301 typedef struct GDALDimensionHS* GDALDimensionH;
302 
303 /* ==================================================================== */
304 /* Registration/driver related. */
305 /* ==================================================================== */
306 
308 #define GDAL_DMD_LONGNAME "DMD_LONGNAME"
309 
311 #define GDAL_DMD_HELPTOPIC "DMD_HELPTOPIC"
312 
314 #define GDAL_DMD_MIMETYPE "DMD_MIMETYPE"
315 
317 #define GDAL_DMD_EXTENSION "DMD_EXTENSION"
318 
323 #define GDAL_DMD_CONNECTION_PREFIX "DMD_CONNECTION_PREFIX"
324 
328 #define GDAL_DMD_EXTENSIONS "DMD_EXTENSIONS"
329 
331 #define GDAL_DMD_CREATIONOPTIONLIST "DMD_CREATIONOPTIONLIST"
332 
336 #define GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST "DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST"
337 
341 #define GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST "DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST"
342 
346 #define GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST "DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST"
347 
351 #define GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST "DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST"
352 
356 #define GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST "DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST"
357 
361 #define GDAL_DMD_OPENOPTIONLIST "DMD_OPENOPTIONLIST"
362 
364 #define GDAL_DMD_CREATIONDATATYPES "DMD_CREATIONDATATYPES"
365 
369 #define GDAL_DMD_CREATIONFIELDDATATYPES "DMD_CREATIONFIELDDATATYPES"
370 
374 #define GDAL_DMD_CREATIONFIELDDATASUBTYPES "DMD_CREATIONFIELDDATASUBTYPES"
375 
377 #define GDAL_DMD_SUBDATASETS "DMD_SUBDATASETS"
378 
380 #define GDAL_DCAP_OPEN "DCAP_OPEN"
381 
390 #define GDAL_DCAP_CREATE "DCAP_CREATE"
391 
396 #define GDAL_DCAP_CREATE_MULTIDIMENSIONAL "DCAP_CREATE_MULTIDIMENSIONAL"
397 
406 #define GDAL_DCAP_CREATECOPY "DCAP_CREATECOPY"
407 
413 #define GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL "DCAP_CREATECOPY_MULTIDIMENSIONAL"
414 
418 #define GDAL_DCAP_MULTIDIM_RASTER "DCAP_MULTIDIM_RASTER"
419 
421 #define GDAL_DCAP_SUBCREATECOPY "DCAP_SUBCREATECOPY"
422 
424 #define GDAL_DCAP_VIRTUALIO "DCAP_VIRTUALIO"
425 
429 #define GDAL_DCAP_RASTER "DCAP_RASTER"
430 
434 #define GDAL_DCAP_VECTOR "DCAP_VECTOR"
435 
439 #define GDAL_DCAP_GNM "DCAP_GNM"
440 
444 #define GDAL_DCAP_NOTNULL_FIELDS "DCAP_NOTNULL_FIELDS"
445 
449 #define GDAL_DCAP_DEFAULT_FIELDS "DCAP_DEFAULT_FIELDS"
450 
454 #define GDAL_DCAP_NOTNULL_GEOMFIELDS "DCAP_NOTNULL_GEOMFIELDS"
455 
461 #define GDAL_DCAP_NONSPATIAL "DCAP_NONSPATIAL"
462 
466 #define GDAL_DCAP_FEATURE_STYLES "DCAP_FEATURE_STYLES"
467 
471 #define GDAL_DIM_TYPE_HORIZONTAL_X "HORIZONTAL_X"
472 
476 #define GDAL_DIM_TYPE_HORIZONTAL_Y "HORIZONTAL_Y"
477 
481 #define GDAL_DIM_TYPE_VERTICAL "VERTICAL"
482 
486 #define GDAL_DIM_TYPE_TEMPORAL "TEMPORAL"
487 
491 #define GDAL_DIM_TYPE_PARAMETRIC "PARAMETRIC"
492 
493 
494 void CPL_DLL CPL_STDCALL GDALAllRegister( void );
495 
496 GDALDatasetH CPL_DLL CPL_STDCALL GDALCreate( GDALDriverH hDriver,
497  const char *, int, int, int, GDALDataType,
499 GDALDatasetH CPL_DLL CPL_STDCALL
500 GDALCreateCopy( GDALDriverH, const char *, GDALDatasetH,
501  int, CSLConstList, GDALProgressFunc, void * ) CPL_WARN_UNUSED_RESULT;
502 
503 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriver( const char * pszFilename,
504  CSLConstList papszFileList );
505 
506 GDALDriverH CPL_DLL CPL_STDCALL GDALIdentifyDriverEx(
507  const char *pszFilename, unsigned int nIdentifyFlags,
508  const char *const *papszAllowedDrivers, const char *const *papszFileList);
509 
510 GDALDatasetH CPL_DLL CPL_STDCALL
511 GDALOpen( const char *pszFilename, GDALAccess eAccess ) CPL_WARN_UNUSED_RESULT;
512 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenShared( const char *, GDALAccess ) CPL_WARN_UNUSED_RESULT;
513 
514 /* Note: we define GDAL_OF_READONLY and GDAL_OF_UPDATE to be on purpose */
515 /* equals to GA_ReadOnly and GA_Update */
516 
521 #define GDAL_OF_READONLY 0x00
522 
527 #define GDAL_OF_UPDATE 0x01
528 
533 #define GDAL_OF_ALL 0x00
534 
539 #define GDAL_OF_RASTER 0x02
540 
545 #define GDAL_OF_VECTOR 0x04
546 
551 #define GDAL_OF_GNM 0x08
552 
557 #define GDAL_OF_MULTIDIM_RASTER 0x10
558 
559 #ifndef DOXYGEN_SKIP
560 #define GDAL_OF_KIND_MASK 0x1E
561 #endif
562 
567 #define GDAL_OF_SHARED 0x20
568 
573 #define GDAL_OF_VERBOSE_ERROR 0x40
574 
581 #define GDAL_OF_INTERNAL 0x80
582 
592 #define GDAL_OF_DEFAULT_BLOCK_ACCESS 0
593 
602 #define GDAL_OF_ARRAY_BLOCK_ACCESS 0x100
603 
612 #define GDAL_OF_HASHSET_BLOCK_ACCESS 0x200
613 
614 #ifndef DOXYGEN_SKIP
615 /* Reserved for a potential future alternative to GDAL_OF_ARRAY_BLOCK_ACCESS
616  * and GDAL_OF_HASHSET_BLOCK_ACCESS */
617 #define GDAL_OF_RESERVED_1 0x300
618 
620 #define GDAL_OF_BLOCK_ACCESS_MASK 0x300
621 #endif
622 
623 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
624  unsigned int nOpenFlags,
625  const char* const* papszAllowedDrivers,
626  const char* const* papszOpenOptions,
627  const char* const* papszSiblingFiles ) CPL_WARN_UNUSED_RESULT;
628 
629 int CPL_DLL CPL_STDCALL GDALDumpOpenDatasets( FILE * );
630 
631 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriverByName( const char * );
632 int CPL_DLL CPL_STDCALL GDALGetDriverCount( void );
633 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDriver( int );
634 GDALDriverH CPL_DLL CPL_STDCALL GDALCreateDriver( void );
635 void CPL_DLL CPL_STDCALL GDALDestroyDriver( GDALDriverH );
636 int CPL_DLL CPL_STDCALL GDALRegisterDriver( GDALDriverH );
637 void CPL_DLL CPL_STDCALL GDALDeregisterDriver( GDALDriverH );
638 void CPL_DLL CPL_STDCALL GDALDestroyDriverManager( void );
639 #ifndef DOXYGEN_SKIP
640 void CPL_DLL GDALDestroy( void );
641 #endif
642 CPLErr CPL_DLL CPL_STDCALL GDALDeleteDataset( GDALDriverH, const char * );
643 CPLErr CPL_DLL CPL_STDCALL GDALRenameDataset( GDALDriverH,
644  const char * pszNewName,
645  const char * pszOldName );
646 CPLErr CPL_DLL CPL_STDCALL GDALCopyDatasetFiles( GDALDriverH,
647  const char * pszNewName,
648  const char * pszOldName);
649 int CPL_DLL CPL_STDCALL GDALValidateCreationOptions( GDALDriverH,
650  CSLConstList papszCreationOptions);
651 
652 /* The following are deprecated */
653 const char CPL_DLL * CPL_STDCALL GDALGetDriverShortName( GDALDriverH );
654 const char CPL_DLL * CPL_STDCALL GDALGetDriverLongName( GDALDriverH );
655 const char CPL_DLL * CPL_STDCALL GDALGetDriverHelpTopic( GDALDriverH );
656 const char CPL_DLL * CPL_STDCALL GDALGetDriverCreationOptionList( GDALDriverH );
657 
658 /* ==================================================================== */
659 /* GDAL_GCP */
660 /* ==================================================================== */
661 
663 typedef struct
664 {
666  char *pszId;
667 
669  char *pszInfo;
670 
672  double dfGCPPixel;
674  double dfGCPLine;
675 
677  double dfGCPX;
678 
680  double dfGCPY;
681 
683  double dfGCPZ;
684 } GDAL_GCP;
685 
686 void CPL_DLL CPL_STDCALL GDALInitGCPs( int, GDAL_GCP * );
687 void CPL_DLL CPL_STDCALL GDALDeinitGCPs( int, GDAL_GCP * );
688 GDAL_GCP CPL_DLL * CPL_STDCALL GDALDuplicateGCPs( int, const GDAL_GCP * );
689 
690 int CPL_DLL CPL_STDCALL
691 GDALGCPsToGeoTransform( int nGCPCount, const GDAL_GCP *pasGCPs,
692  double *padfGeoTransform, int bApproxOK ) CPL_WARN_UNUSED_RESULT;
693 int CPL_DLL CPL_STDCALL
694 GDALInvGeoTransform( double *padfGeoTransformIn,
695  double *padfInvGeoTransformOut ) CPL_WARN_UNUSED_RESULT;
696 void CPL_DLL CPL_STDCALL GDALApplyGeoTransform( double *, double, double,
697  double *, double * );
698 void CPL_DLL GDALComposeGeoTransforms(const double *padfGeoTransform1,
699  const double *padfGeoTransform2,
700  double *padfGeoTransformOut);
701 
702 /* ==================================================================== */
703 /* major objects (dataset, and, driver, drivermanager). */
704 /* ==================================================================== */
705 
706 char CPL_DLL ** CPL_STDCALL GDALGetMetadataDomainList( GDALMajorObjectH hObject );
707 char CPL_DLL ** CPL_STDCALL GDALGetMetadata( GDALMajorObjectH, const char * );
709  const char * );
710 const char CPL_DLL * CPL_STDCALL
711 GDALGetMetadataItem( GDALMajorObjectH, const char *, const char * );
712 CPLErr CPL_DLL CPL_STDCALL
713 GDALSetMetadataItem( GDALMajorObjectH, const char *, const char *,
714  const char * );
715 const char CPL_DLL * CPL_STDCALL GDALGetDescription( GDALMajorObjectH );
716 void CPL_DLL CPL_STDCALL GDALSetDescription( GDALMajorObjectH, const char * );
717 
718 /* ==================================================================== */
719 /* GDALDataset class ... normally this represents one file. */
720 /* ==================================================================== */
721 
723 #define GDAL_DS_LAYER_CREATIONOPTIONLIST "DS_LAYER_CREATIONOPTIONLIST"
724 
725 GDALDriverH CPL_DLL CPL_STDCALL GDALGetDatasetDriver( GDALDatasetH );
726 char CPL_DLL ** CPL_STDCALL GDALGetFileList( GDALDatasetH );
727 void CPL_DLL CPL_STDCALL GDALClose( GDALDatasetH );
728 int CPL_DLL CPL_STDCALL GDALGetRasterXSize( GDALDatasetH );
729 int CPL_DLL CPL_STDCALL GDALGetRasterYSize( GDALDatasetH );
730 int CPL_DLL CPL_STDCALL GDALGetRasterCount( GDALDatasetH );
731 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetRasterBand( GDALDatasetH, int );
732 
733 CPLErr CPL_DLL CPL_STDCALL GDALAddBand( GDALDatasetH hDS, GDALDataType eType,
734  CSLConstList papszOptions );
735 
736 GDALAsyncReaderH CPL_DLL CPL_STDCALL
737 GDALBeginAsyncReader(GDALDatasetH hDS, int nXOff, int nYOff,
738  int nXSize, int nYSize,
739  void *pBuf, int nBufXSize, int nBufYSize,
740  GDALDataType eBufType, int nBandCount, int* panBandMap,
741  int nPixelSpace, int nLineSpace, int nBandSpace,
742  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
743 
744 void CPL_DLL CPL_STDCALL
746 
747 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIO(
748  GDALDatasetH hDS, GDALRWFlag eRWFlag,
749  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
750  void * pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType,
751  int nBandCount, int *panBandCount,
752  int nPixelSpace, int nLineSpace, int nBandSpace) CPL_WARN_UNUSED_RESULT;
753 
754 CPLErr CPL_DLL CPL_STDCALL GDALDatasetRasterIOEx(
755  GDALDatasetH hDS, GDALRWFlag eRWFlag,
756  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
757  void * pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType,
758  int nBandCount, int *panBandCount,
759  GSpacing nPixelSpace, GSpacing nLineSpace, GSpacing nBandSpace,
761 
762 CPLErr CPL_DLL CPL_STDCALL GDALDatasetAdviseRead( GDALDatasetH hDS,
763  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
764  int nBXSize, int nBYSize, GDALDataType eBDataType,
765  int nBandCount, int *panBandCount, CSLConstList papszOptions );
766 
767 const char CPL_DLL * CPL_STDCALL GDALGetProjectionRef( GDALDatasetH );
769 CPLErr CPL_DLL CPL_STDCALL GDALSetProjection( GDALDatasetH, const char * );
771 CPLErr CPL_DLL CPL_STDCALL GDALGetGeoTransform( GDALDatasetH, double * );
772 CPLErr CPL_DLL CPL_STDCALL GDALSetGeoTransform( GDALDatasetH, double * );
773 
774 int CPL_DLL CPL_STDCALL GDALGetGCPCount( GDALDatasetH );
775 const char CPL_DLL * CPL_STDCALL GDALGetGCPProjection( GDALDatasetH );
777 const GDAL_GCP CPL_DLL * CPL_STDCALL GDALGetGCPs( GDALDatasetH );
778 CPLErr CPL_DLL CPL_STDCALL GDALSetGCPs( GDALDatasetH, int, const GDAL_GCP *,
779  const char * );
780 CPLErr CPL_DLL GDALSetGCPs2( GDALDatasetH, int, const GDAL_GCP *,
782 
783 void CPL_DLL * CPL_STDCALL GDALGetInternalHandle( GDALDatasetH, const char * );
784 int CPL_DLL CPL_STDCALL GDALReferenceDataset( GDALDatasetH );
785 int CPL_DLL CPL_STDCALL GDALDereferenceDataset( GDALDatasetH );
786 int CPL_DLL CPL_STDCALL GDALReleaseDataset( GDALDatasetH );
787 
788 CPLErr CPL_DLL CPL_STDCALL
789 GDALBuildOverviews( GDALDatasetH, const char *, int, int *,
790  int, int *, GDALProgressFunc, void * ) CPL_WARN_UNUSED_RESULT;
791 void CPL_DLL CPL_STDCALL GDALGetOpenDatasets( GDALDatasetH **hDS, int *pnCount );
792 int CPL_DLL CPL_STDCALL GDALGetAccess( GDALDatasetH hDS );
793 void CPL_DLL CPL_STDCALL GDALFlushCache( GDALDatasetH hDS );
794 
795 CPLErr CPL_DLL CPL_STDCALL
796  GDALCreateDatasetMaskBand( GDALDatasetH hDS, int nFlags );
797 
798 CPLErr CPL_DLL CPL_STDCALL GDALDatasetCopyWholeRaster(
799  GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions,
800  GDALProgressFunc pfnProgress, void *pProgressData ) CPL_WARN_UNUSED_RESULT;
801 
802 CPLErr CPL_DLL CPL_STDCALL GDALRasterBandCopyWholeRaster(
803  GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand,
804  const char * const * constpapszOptions,
805  GDALProgressFunc pfnProgress, void *pProgressData ) CPL_WARN_UNUSED_RESULT;
806 
807 CPLErr CPL_DLL
809  int nOverviewCount, GDALRasterBandH *pahOverviewBands,
810  const char *pszResampling,
811  GDALProgressFunc pfnProgress, void *pProgressData );
812 
815 OGRLayerH CPL_DLL GDALDatasetGetLayerByName( GDALDatasetH, const char * );
817 OGRLayerH CPL_DLL GDALDatasetCreateLayer( GDALDatasetH, const char *,
819  CSLConstList );
820 OGRLayerH CPL_DLL GDALDatasetCopyLayer( GDALDatasetH, OGRLayerH, const char *,
821  CSLConstList );
822 void CPL_DLL GDALDatasetResetReading( GDALDatasetH );
824  OGRLayerH* phBelongingLayer,
825  double* pdfProgressPct,
826  GDALProgressFunc pfnProgress,
827  void* pProgressData );
828 int CPL_DLL GDALDatasetTestCapability( GDALDatasetH, const char * );
829 OGRLayerH CPL_DLL GDALDatasetExecuteSQL( GDALDatasetH, const char *,
830  OGRGeometryH, const char * );
835 OGRErr CPL_DLL GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce);
838 
839 /* ==================================================================== */
840 /* GDALRasterBand ... one band/channel in a dataset. */
841 /* ==================================================================== */
842 
847 #define SRCVAL(papoSource, eSrcType, ii) \
848  (eSrcType == GDT_Byte ? \
849  CPL_REINTERPRET_CAST(const GByte*,papoSource)[ii] : \
850  (eSrcType == GDT_Float32 ? \
851  CPL_REINTERPRET_CAST(const float*,papoSource)[ii] : \
852  (eSrcType == GDT_Float64 ? \
853  CPL_REINTERPRET_CAST(const double*,papoSource)[ii] : \
854  (eSrcType == GDT_Int32 ? \
855  CPL_REINTERPRET_CAST(const GInt32*,papoSource)[ii] : \
856  (eSrcType == GDT_UInt16 ? \
857  CPL_REINTERPRET_CAST(const GUInt16*,papoSource)[ii] : \
858  (eSrcType == GDT_Int16 ? \
859  CPL_REINTERPRET_CAST(const GInt16*,papoSource)[ii] : \
860  (eSrcType == GDT_UInt32 ? \
861  CPL_REINTERPRET_CAST(const GUInt32*,papoSource)[ii] : \
862  (eSrcType == GDT_CInt16 ? \
863  CPL_REINTERPRET_CAST(const GInt16*,papoSource)[(ii) * 2] : \
864  (eSrcType == GDT_CInt32 ? \
865  CPL_REINTERPRET_CAST(const GInt32*,papoSource)[(ii) * 2] : \
866  (eSrcType == GDT_CFloat32 ? \
867  CPL_REINTERPRET_CAST(const float*,papoSource)[(ii) * 2] : \
868  (eSrcType == GDT_CFloat64 ? \
869  CPL_REINTERPRET_CAST(const double*,papoSource)[(ii) * 2] : 0)))))))))))
870 
873 typedef CPLErr
874 (*GDALDerivedPixelFunc)(void **papoSources, int nSources, void *pData,
875  int nBufXSize, int nBufYSize,
876  GDALDataType eSrcType, GDALDataType eBufType,
877  int nPixelSpace, int nLineSpace);
878 
879 GDALDataType CPL_DLL CPL_STDCALL GDALGetRasterDataType( GDALRasterBandH );
880 void CPL_DLL CPL_STDCALL
881 GDALGetBlockSize( GDALRasterBandH, int * pnXSize, int * pnYSize );
882 
883 CPLErr CPL_DLL CPL_STDCALL
884 GDALGetActualBlockSize( GDALRasterBandH, int nXBlockOff, int nYBlockOff,
885  int *pnXValid, int *pnYValid );
886 
887 CPLErr CPL_DLL CPL_STDCALL GDALRasterAdviseRead( GDALRasterBandH hRB,
888  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
889  int nBXSize, int nBYSize, GDALDataType eBDataType, CSLConstList papszOptions );
890 
891 CPLErr CPL_DLL CPL_STDCALL
892 GDALRasterIO( GDALRasterBandH hRBand, GDALRWFlag eRWFlag,
893  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
894  void * pBuffer, int nBXSize, int nBYSize,GDALDataType eBDataType,
895  int nPixelSpace, int nLineSpace ) CPL_WARN_UNUSED_RESULT;
896 CPLErr CPL_DLL CPL_STDCALL
897 GDALRasterIOEx( GDALRasterBandH hRBand, GDALRWFlag eRWFlag,
898  int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize,
899  void * pBuffer, int nBXSize, int nBYSize,GDALDataType eBDataType,
900  GSpacing nPixelSpace, GSpacing nLineSpace,
902 CPLErr CPL_DLL CPL_STDCALL GDALReadBlock( GDALRasterBandH, int, int, void * ) CPL_WARN_UNUSED_RESULT;
903 CPLErr CPL_DLL CPL_STDCALL GDALWriteBlock( GDALRasterBandH, int, int, void * ) CPL_WARN_UNUSED_RESULT;
904 int CPL_DLL CPL_STDCALL GDALGetRasterBandXSize( GDALRasterBandH );
905 int CPL_DLL CPL_STDCALL GDALGetRasterBandYSize( GDALRasterBandH );
906 GDALAccess CPL_DLL CPL_STDCALL GDALGetRasterAccess( GDALRasterBandH );
907 int CPL_DLL CPL_STDCALL GDALGetBandNumber( GDALRasterBandH );
908 GDALDatasetH CPL_DLL CPL_STDCALL GDALGetBandDataset( GDALRasterBandH );
909 
910 GDALColorInterp CPL_DLL CPL_STDCALL
912 CPLErr CPL_DLL CPL_STDCALL
916 int CPL_DLL CPL_STDCALL GDALHasArbitraryOverviews( GDALRasterBandH );
917 int CPL_DLL CPL_STDCALL GDALGetOverviewCount( GDALRasterBandH );
918 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetOverview( GDALRasterBandH, int );
919 double CPL_DLL CPL_STDCALL GDALGetRasterNoDataValue( GDALRasterBandH, int * );
920 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterNoDataValue( GDALRasterBandH, double );
921 CPLErr CPL_DLL CPL_STDCALL GDALDeleteRasterNoDataValue( GDALRasterBandH );
922 char CPL_DLL ** CPL_STDCALL GDALGetRasterCategoryNames( GDALRasterBandH );
924 double CPL_DLL CPL_STDCALL GDALGetRasterMinimum( GDALRasterBandH, int *pbSuccess );
925 double CPL_DLL CPL_STDCALL GDALGetRasterMaximum( GDALRasterBandH, int *pbSuccess );
926 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterStatistics(
927  GDALRasterBandH, int bApproxOK, int bForce,
928  double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev );
929 CPLErr CPL_DLL CPL_STDCALL GDALComputeRasterStatistics(
930  GDALRasterBandH, int bApproxOK,
931  double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev,
932  GDALProgressFunc pfnProgress, void *pProgressData );
933 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterStatistics(
934  GDALRasterBandH hBand,
935  double dfMin, double dfMax, double dfMean, double dfStdDev );
936 
938 
939 const char CPL_DLL * CPL_STDCALL GDALGetRasterUnitType( GDALRasterBandH );
940 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterUnitType( GDALRasterBandH hBand, const char *pszNewValue );
941 double CPL_DLL CPL_STDCALL GDALGetRasterOffset( GDALRasterBandH, int *pbSuccess );
942 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterOffset( GDALRasterBandH hBand, double dfNewOffset);
943 double CPL_DLL CPL_STDCALL GDALGetRasterScale( GDALRasterBandH, int *pbSuccess );
944 CPLErr CPL_DLL CPL_STDCALL GDALSetRasterScale( GDALRasterBandH hBand, double dfNewOffset );
945 void CPL_DLL CPL_STDCALL
946 GDALComputeRasterMinMax( GDALRasterBandH hBand, int bApproxOK,
947  double adfMinMax[2] );
948 CPLErr CPL_DLL CPL_STDCALL GDALFlushRasterCache( GDALRasterBandH hBand );
949 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogram( GDALRasterBandH hBand,
950  double dfMin, double dfMax,
951  int nBuckets, int *panHistogram,
952  int bIncludeOutOfRange, int bApproxOK,
953  GDALProgressFunc pfnProgress,
954  void * pProgressData )
956  CPL_WARN_DEPRECATED("Use GDALGetRasterHistogramEx() instead")
958  ;
959 CPLErr CPL_DLL CPL_STDCALL GDALGetRasterHistogramEx( GDALRasterBandH hBand,
960  double dfMin, double dfMax,
961  int nBuckets, GUIntBig *panHistogram,
962  int bIncludeOutOfRange, int bApproxOK,
963  GDALProgressFunc pfnProgress,
964  void * pProgressData );
965 CPLErr CPL_DLL CPL_STDCALL GDALGetDefaultHistogram( GDALRasterBandH hBand,
966  double *pdfMin, double *pdfMax,
967  int *pnBuckets, int **ppanHistogram,
968  int bForce,
969  GDALProgressFunc pfnProgress,
970  void * pProgressData )
972  CPL_WARN_DEPRECATED("Use GDALGetDefaultHistogramEx() instead")
974  ;
975 CPLErr CPL_DLL CPL_STDCALL GDALGetDefaultHistogramEx( GDALRasterBandH hBand,
976  double *pdfMin, double *pdfMax,
977  int *pnBuckets, GUIntBig **ppanHistogram,
978  int bForce,
979  GDALProgressFunc pfnProgress,
980  void * pProgressData );
981 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogram( GDALRasterBandH hBand,
982  double dfMin, double dfMax,
983  int nBuckets, int *panHistogram )
985  CPL_WARN_DEPRECATED("Use GDALSetDefaultHistogramEx() instead")
987  ;
988 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultHistogramEx( GDALRasterBandH hBand,
989  double dfMin, double dfMax,
990  int nBuckets, GUIntBig *panHistogram );
991 int CPL_DLL CPL_STDCALL
993 GDALRasterBandH CPL_DLL CPL_STDCALL
995 GDALRasterBandH CPL_DLL CPL_STDCALL
997 CPLErr CPL_DLL CPL_STDCALL GDALFillRaster( GDALRasterBandH hBand,
998  double dfRealValue, double dfImaginaryValue );
999 CPLErr CPL_DLL CPL_STDCALL
1000 GDALComputeBandStats( GDALRasterBandH hBand, int nSampleStep,
1001  double *pdfMean, double *pdfStdDev,
1002  GDALProgressFunc pfnProgress,
1003  void *pProgressData );
1005  int nOverviewCount,
1006  GDALRasterBandH *pahOverviews,
1007  GDALProgressFunc pfnProgress,
1008  void *pProgressData );
1009 
1010 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL GDALGetDefaultRAT(
1011  GDALRasterBandH hBand );
1012 CPLErr CPL_DLL CPL_STDCALL GDALSetDefaultRAT( GDALRasterBandH,
1014 CPLErr CPL_DLL CPL_STDCALL GDALAddDerivedBandPixelFunc( const char *pszName,
1015  GDALDerivedPixelFunc pfnPixelFunc );
1016 
1017 GDALRasterBandH CPL_DLL CPL_STDCALL GDALGetMaskBand( GDALRasterBandH hBand );
1018 int CPL_DLL CPL_STDCALL GDALGetMaskFlags( GDALRasterBandH hBand );
1019 CPLErr CPL_DLL CPL_STDCALL
1020  GDALCreateMaskBand( GDALRasterBandH hBand, int nFlags );
1021 
1023 #define GMF_ALL_VALID 0x01
1024 
1026 #define GMF_PER_DATASET 0x02
1027 
1029 #define GMF_ALPHA 0x04
1030 
1032 #define GMF_NODATA 0x08
1033 
1037 #define GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED 0x01
1038 
1043 #define GDAL_DATA_COVERAGE_STATUS_DATA 0x02
1044 
1050 #define GDAL_DATA_COVERAGE_STATUS_EMPTY 0x04
1051 
1052 int CPL_DLL CPL_STDCALL GDALGetDataCoverageStatus( GDALRasterBandH hBand,
1053  int nXOff, int nYOff,
1054  int nXSize, int nYSize,
1055  int nMaskFlagStop,
1056  double* pdfDataPct );
1057 
1058 /* ==================================================================== */
1059 /* GDALAsyncReader */
1060 /* ==================================================================== */
1061 
1062 GDALAsyncStatusType CPL_DLL CPL_STDCALL
1063 GDALARGetNextUpdatedRegion(GDALAsyncReaderH hARIO, double dfTimeout,
1064  int* pnXBufOff, int* pnYBufOff,
1065  int* pnXBufSize, int* pnYBufSize );
1066 int CPL_DLL CPL_STDCALL GDALARLockBuffer(GDALAsyncReaderH hARIO,
1067  double dfTimeout);
1068 void CPL_DLL CPL_STDCALL GDALARUnlockBuffer(GDALAsyncReaderH hARIO);
1069 
1070 /* -------------------------------------------------------------------- */
1071 /* Helper functions. */
1072 /* -------------------------------------------------------------------- */
1073 int CPL_DLL CPL_STDCALL GDALGeneralCmdLineProcessor( int nArgc, char ***ppapszArgv,
1074  int nOptions );
1075 void CPL_DLL CPL_STDCALL GDALSwapWords( void *pData, int nWordSize, int nWordCount,
1076  int nWordSkip );
1077 void CPL_DLL CPL_STDCALL GDALSwapWordsEx( void *pData, int nWordSize, size_t nWordCount,
1078  int nWordSkip );
1079 
1080 void CPL_DLL CPL_STDCALL
1081  GDALCopyWords( const void * CPL_RESTRICT pSrcData,
1082  GDALDataType eSrcType, int nSrcPixelOffset,
1083  void * CPL_RESTRICT pDstData,
1084  GDALDataType eDstType, int nDstPixelOffset,
1085  int nWordCount );
1086 
1087 void CPL_DLL CPL_STDCALL
1088  GDALCopyWords64( const void * CPL_RESTRICT pSrcData,
1089  GDALDataType eSrcType, int nSrcPixelOffset,
1090  void * CPL_RESTRICT pDstData,
1091  GDALDataType eDstType, int nDstPixelOffset,
1092  GPtrDiff_t nWordCount );
1093 
1094 void CPL_DLL
1095 GDALCopyBits( const GByte *pabySrcData, int nSrcOffset, int nSrcStep,
1096  GByte *pabyDstData, int nDstOffset, int nDstStep,
1097  int nBitCount, int nStepCount );
1098 
1099 int CPL_DLL CPL_STDCALL GDALLoadWorldFile( const char *, double * );
1100 int CPL_DLL CPL_STDCALL GDALReadWorldFile( const char *, const char *,
1101  double * );
1102 int CPL_DLL CPL_STDCALL GDALWriteWorldFile( const char *, const char *,
1103  double * );
1104 int CPL_DLL CPL_STDCALL GDALLoadTabFile( const char *, double *, char **,
1105  int *, GDAL_GCP ** );
1106 int CPL_DLL CPL_STDCALL GDALReadTabFile( const char *, double *, char **,
1107  int *, GDAL_GCP ** );
1108 int CPL_DLL CPL_STDCALL GDALLoadOziMapFile( const char *, double *, char **,
1109  int *, GDAL_GCP ** );
1110 int CPL_DLL CPL_STDCALL GDALReadOziMapFile( const char *, double *,
1111  char **, int *, GDAL_GCP ** );
1112 
1113 const char CPL_DLL * CPL_STDCALL GDALDecToDMS( double, const char *, int );
1114 double CPL_DLL CPL_STDCALL GDALPackedDMSToDec( double );
1115 double CPL_DLL CPL_STDCALL GDALDecToPackedDMS( double );
1116 
1117 /* Note to developers : please keep this section in sync with ogr_core.h */
1118 
1119 #ifndef GDAL_VERSION_INFO_DEFINED
1120 #ifndef DOXYGEN_SKIP
1121 #define GDAL_VERSION_INFO_DEFINED
1122 #endif
1123 const char CPL_DLL * CPL_STDCALL GDALVersionInfo( const char * );
1124 #endif
1125 
1126 #ifndef GDAL_CHECK_VERSION
1127 
1128 int CPL_DLL CPL_STDCALL GDALCheckVersion( int nVersionMajor, int nVersionMinor,
1129  const char* pszCallingComponentName);
1130 
1134 #define GDAL_CHECK_VERSION(pszCallingComponentName) \
1135  GDALCheckVersion(GDAL_VERSION_MAJOR, GDAL_VERSION_MINOR, pszCallingComponentName)
1136 
1137 #endif
1138 
1141 typedef struct
1142 {
1143  double dfLINE_OFF;
1144  double dfSAMP_OFF;
1145  double dfLAT_OFF;
1146  double dfLONG_OFF;
1147  double dfHEIGHT_OFF;
1149  double dfLINE_SCALE;
1150  double dfSAMP_SCALE;
1151  double dfLAT_SCALE;
1152  double dfLONG_SCALE;
1155  double adfLINE_NUM_COEFF[20];
1156  double adfLINE_DEN_COEFF[20];
1157  double adfSAMP_NUM_COEFF[20];
1158  double adfSAMP_DEN_COEFF[20];
1160  double dfMIN_LONG;
1161  double dfMIN_LAT;
1162  double dfMAX_LONG;
1163  double dfMAX_LAT;
1164 } GDALRPCInfo;
1165 
1166 int CPL_DLL CPL_STDCALL GDALExtractRPCInfo( CSLConstList, GDALRPCInfo * );
1167 
1168 /* ==================================================================== */
1169 /* Color tables. */
1170 /* ==================================================================== */
1171 
1173 typedef struct
1174 {
1176  short c1;
1177 
1179  short c2;
1180 
1182  short c3;
1183 
1185  short c4;
1186 } GDALColorEntry;
1187 
1189 void CPL_DLL CPL_STDCALL GDALDestroyColorTable( GDALColorTableH );
1190 GDALColorTableH CPL_DLL CPL_STDCALL GDALCloneColorTable( GDALColorTableH );
1192 int CPL_DLL CPL_STDCALL GDALGetColorEntryCount( GDALColorTableH );
1193 const GDALColorEntry CPL_DLL * CPL_STDCALL GDALGetColorEntry( GDALColorTableH, int );
1194 int CPL_DLL CPL_STDCALL GDALGetColorEntryAsRGB( GDALColorTableH, int, GDALColorEntry *);
1195 void CPL_DLL CPL_STDCALL GDALSetColorEntry( GDALColorTableH, int, const GDALColorEntry * );
1196 void CPL_DLL CPL_STDCALL GDALCreateColorRamp( GDALColorTableH hTable,
1197  int nStartIndex, const GDALColorEntry *psStartColor,
1198  int nEndIndex, const GDALColorEntry *psEndColor );
1199 
1200 /* ==================================================================== */
1201 /* Raster Attribute Table */
1202 /* ==================================================================== */
1203 
1210 
1212 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
1233 
1241 
1242 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1244 
1245 void CPL_DLL CPL_STDCALL GDALDestroyRasterAttributeTable(
1247 
1248 int CPL_DLL CPL_STDCALL GDALRATGetColumnCount( GDALRasterAttributeTableH );
1249 
1250 const char CPL_DLL * CPL_STDCALL GDALRATGetNameOfCol(
1252 GDALRATFieldUsage CPL_DLL CPL_STDCALL GDALRATGetUsageOfCol(
1254 GDALRATFieldType CPL_DLL CPL_STDCALL GDALRATGetTypeOfCol(
1256 
1257 int CPL_DLL CPL_STDCALL GDALRATGetColOfUsage( GDALRasterAttributeTableH,
1259 int CPL_DLL CPL_STDCALL GDALRATGetRowCount( GDALRasterAttributeTableH );
1260 
1261 const char CPL_DLL * CPL_STDCALL GDALRATGetValueAsString(
1262  GDALRasterAttributeTableH, int, int);
1263 int CPL_DLL CPL_STDCALL GDALRATGetValueAsInt(
1264  GDALRasterAttributeTableH, int, int);
1265 double CPL_DLL CPL_STDCALL GDALRATGetValueAsDouble(
1266  GDALRasterAttributeTableH, int, int);
1267 
1268 void CPL_DLL CPL_STDCALL GDALRATSetValueAsString( GDALRasterAttributeTableH, int, int,
1269  const char * );
1270 void CPL_DLL CPL_STDCALL GDALRATSetValueAsInt( GDALRasterAttributeTableH, int, int,
1271  int );
1272 void CPL_DLL CPL_STDCALL GDALRATSetValueAsDouble( GDALRasterAttributeTableH, int, int,
1273  double );
1274 
1275 int CPL_DLL CPL_STDCALL GDALRATChangesAreWrittenToFile( GDALRasterAttributeTableH hRAT );
1276 
1277 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsDouble( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1278  int iField, int iStartRow, int iLength, double *pdfData );
1279 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsInteger( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1280  int iField, int iStartRow, int iLength, int *pnData);
1281 CPLErr CPL_DLL CPL_STDCALL GDALRATValuesIOAsString( GDALRasterAttributeTableH hRAT, GDALRWFlag eRWFlag,
1282  int iField, int iStartRow, int iLength, CSLConstList papszStrList);
1283 
1284 void CPL_DLL CPL_STDCALL GDALRATSetRowCount( GDALRasterAttributeTableH,
1285  int );
1287  const char *,
1291  double, double );
1292 int CPL_DLL CPL_STDCALL GDALRATGetLinearBinning( GDALRasterAttributeTableH,
1293  double *, double * );
1294 CPLErr CPL_DLL CPL_STDCALL GDALRATSetTableType( GDALRasterAttributeTableH hRAT,
1295  const GDALRATTableType eInTableType );
1297 CPLErr CPL_DLL CPL_STDCALL GDALRATInitializeFromColorTable(
1299 GDALColorTableH CPL_DLL CPL_STDCALL GDALRATTranslateToColorTable(
1300  GDALRasterAttributeTableH, int nEntryCount );
1301 void CPL_DLL CPL_STDCALL GDALRATDumpReadable( GDALRasterAttributeTableH,
1302  FILE * );
1303 GDALRasterAttributeTableH CPL_DLL CPL_STDCALL
1305 
1306 void CPL_DLL* CPL_STDCALL
1308 
1309 int CPL_DLL CPL_STDCALL GDALRATGetRowOfValue( GDALRasterAttributeTableH, double );
1310 void CPL_DLL CPL_STDCALL GDALRATRemoveStatistics( GDALRasterAttributeTableH );
1311 
1312 /* ==================================================================== */
1313 /* GDAL Cache Management */
1314 /* ==================================================================== */
1315 
1316 void CPL_DLL CPL_STDCALL GDALSetCacheMax( int nBytes );
1317 int CPL_DLL CPL_STDCALL GDALGetCacheMax(void);
1318 int CPL_DLL CPL_STDCALL GDALGetCacheUsed(void);
1319 void CPL_DLL CPL_STDCALL GDALSetCacheMax64( GIntBig nBytes );
1320 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheMax64(void);
1321 GIntBig CPL_DLL CPL_STDCALL GDALGetCacheUsed64(void);
1322 
1323 int CPL_DLL CPL_STDCALL GDALFlushCacheBlock(void);
1324 
1325 /* ==================================================================== */
1326 /* GDAL virtual memory */
1327 /* ==================================================================== */
1328 
1330  GDALRWFlag eRWFlag,
1331  int nXOff, int nYOff,
1332  int nXSize, int nYSize,
1333  int nBufXSize, int nBufYSize,
1334  GDALDataType eBufType,
1335  int nBandCount, int* panBandMap,
1336  int nPixelSpace,
1337  GIntBig nLineSpace,
1338  GIntBig nBandSpace,
1339  size_t nCacheSize,
1340  size_t nPageSizeHint,
1341  int bSingleThreadUsage,
1342  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1343 
1345  GDALRWFlag eRWFlag,
1346  int nXOff, int nYOff,
1347  int nXSize, int nYSize,
1348  int nBufXSize, int nBufYSize,
1349  GDALDataType eBufType,
1350  int nPixelSpace,
1351  GIntBig nLineSpace,
1352  size_t nCacheSize,
1353  size_t nPageSizeHint,
1354  int bSingleThreadUsage,
1355  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1356 
1358  GDALRWFlag eRWFlag,
1359  int *pnPixelSpace,
1360  GIntBig *pnLineSpace,
1361  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1362 
1364 typedef enum
1365 {
1371  GTO_BSQ
1373 
1375  GDALRWFlag eRWFlag,
1376  int nXOff, int nYOff,
1377  int nXSize, int nYSize,
1378  int nTileXSize, int nTileYSize,
1379  GDALDataType eBufType,
1380  int nBandCount, int* panBandMap,
1381  GDALTileOrganization eTileOrganization,
1382  size_t nCacheSize,
1383  int bSingleThreadUsage,
1384  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1385 
1387  GDALRWFlag eRWFlag,
1388  int nXOff, int nYOff,
1389  int nXSize, int nYSize,
1390  int nTileXSize, int nTileYSize,
1391  GDALDataType eBufType,
1392  size_t nCacheSize,
1393  int bSingleThreadUsage,
1394  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1395 
1396 /* ==================================================================== */
1397 /* VRTPansharpenedDataset class. */
1398 /* ==================================================================== */
1399 
1400 GDALDatasetH CPL_DLL GDALCreatePansharpenedVRT( const char* pszXML,
1401  GDALRasterBandH hPanchroBand,
1402  int nInputSpectralBands,
1403  GDALRasterBandH* pahInputSpectralBands ) CPL_WARN_UNUSED_RESULT;
1404 
1405 /* =================================================================== */
1406 /* Misc API */
1407 /* ==================================================================== */
1408 
1409 CPLXMLNode CPL_DLL* GDALGetJPEG2000Structure(const char* pszFilename,
1410  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1411 
1412 /* ==================================================================== */
1413 /* Multidimensionnal API_api */
1414 /* ==================================================================== */
1415 
1417  const char * pszName,
1418  CSLConstList papszRootGroupOptions,
1419  CSLConstList papszOptions ) CPL_WARN_UNUSED_RESULT;
1420 
1424  const char* pszName, size_t nTotalSize,
1425  size_t nComponents, const GDALEDTComponentH* comps) CPL_WARN_UNUSED_RESULT;
1427 const char CPL_DLL* GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT);
1433 void CPL_DLL GDALExtendedDataTypeFreeComponents(GDALEDTComponentH* components, size_t nCount);
1435  GDALExtendedDataTypeH hTargetEDT);
1437  GDALExtendedDataTypeH hSecondEDT);
1438 
1439 GDALEDTComponentH CPL_DLL GDALEDTComponentCreate(const char* pszName, size_t nOffset, GDALExtendedDataTypeH hType) CPL_WARN_UNUSED_RESULT;
1440 void CPL_DLL GDALEDTComponentRelease(GDALEDTComponentH hComp);
1441 const char CPL_DLL* GDALEDTComponentGetName(GDALEDTComponentH hComp);
1442 size_t CPL_DLL GDALEDTComponentGetOffset(GDALEDTComponentH hComp);
1444 
1446 void CPL_DLL GDALGroupRelease(GDALGroupH hGroup);
1447 const char CPL_DLL *GDALGroupGetName(GDALGroupH hGroup);
1448 const char CPL_DLL *GDALGroupGetFullName(GDALGroupH hGroup);
1449 char CPL_DLL **GDALGroupGetMDArrayNames(GDALGroupH hGroup, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1450 GDALMDArrayH CPL_DLL GDALGroupOpenMDArray(GDALGroupH hGroup, const char* pszMDArrayName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1451 char CPL_DLL **GDALGroupGetGroupNames(GDALGroupH hGroup, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1452 GDALGroupH CPL_DLL GDALGroupOpenGroup(GDALGroupH hGroup, const char* pszSubGroupName, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1453 GDALDimensionH CPL_DLL *GDALGroupGetDimensions(GDALGroupH hGroup, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1454 GDALAttributeH CPL_DLL GDALGroupGetAttribute(GDALGroupH hGroup, const char* pszName) CPL_WARN_UNUSED_RESULT;
1455 GDALAttributeH CPL_DLL *GDALGroupGetAttributes(GDALGroupH hGroup, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1458  const char* pszSubGroupName,
1459  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1461  const char* pszName,
1462  const char* pszType,
1463  const char* pszDirection,
1464  GUInt64 nSize,
1465  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1467  const char* pszName,
1468  size_t nDimensions,
1469  GDALDimensionH* pahDimensions,
1470  GDALExtendedDataTypeH hEDT,
1471  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1473  const char* pszName,
1474  size_t nDimensions,
1475  const GUInt64* panDimensions,
1476  GDALExtendedDataTypeH hEDT,
1477  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1478 
1479 void CPL_DLL GDALMDArrayRelease(GDALMDArrayH hMDArray);
1480 const char CPL_DLL* GDALMDArrayGetName(GDALMDArrayH hArray);
1481 const char CPL_DLL* GDALMDArrayGetFullName(GDALMDArrayH hArray);
1483 size_t CPL_DLL GDALMDArrayGetDimensionCount(GDALMDArrayH hArray);
1486 int CPL_DLL GDALMDArrayRead(GDALMDArrayH hArray,
1487  const GUInt64* arrayStartIdx,
1488  const size_t* count,
1489  const GInt64* arrayStep,
1490  const GPtrDiff_t* bufferStride,
1491  GDALExtendedDataTypeH bufferDatatype,
1492  void* pDstBuffer,
1493  const void* pDstBufferAllocStart,
1494  size_t nDstBufferllocSize);
1495 int CPL_DLL GDALMDArrayWrite(GDALMDArrayH hArray,
1496  const GUInt64* arrayStartIdx,
1497  const size_t* count,
1498  const GInt64* arrayStep,
1499  const GPtrDiff_t* bufferStride,
1500  GDALExtendedDataTypeH bufferDatatype,
1501  const void* pSrcBuffer,
1502  const void* psrcBufferAllocStart,
1503  size_t nSrcBufferllocSize);
1504 GDALAttributeH CPL_DLL GDALMDArrayGetAttribute(GDALMDArrayH hArray, const char* pszName) CPL_WARN_UNUSED_RESULT;
1505 GDALAttributeH CPL_DLL *GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t* pnCount, CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1507  const char* pszName,
1508  size_t nDimensions,
1509  const GUInt64* panDimensions,
1510  GDALExtendedDataTypeH hEDT,
1511  CSLConstList papszOptions) CPL_WARN_UNUSED_RESULT;
1512 const void CPL_DLL *GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray);
1513 double CPL_DLL GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray,
1514  int* pbHasNoDataValue);
1515 int CPL_DLL GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void*);
1517  double dfNoDataValue);
1518 int CPL_DLL GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale);
1519 double CPL_DLL GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue);
1520 int CPL_DLL GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset);
1521 double CPL_DLL GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue);
1522 GUInt64 CPL_DLL *GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount);
1523 int CPL_DLL GDALMDArraySetUnit(GDALMDArrayH hArray, const char*);
1524 const char CPL_DLL *GDALMDArrayGetUnit(GDALMDArrayH hArray);
1527 size_t CPL_DLL *GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray, size_t *pnCount,
1528  size_t nMaxChunkMemory);
1530 GDALMDArrayH CPL_DLL GDALMDArrayGetView(GDALMDArrayH hArray, const char* pszViewExpr);
1532  size_t nNewAxisCount,
1533  const int *panMapNewAxisToOldAxis);
1535 GDALMDArrayH CPL_DLL GDALMDArrayGetMask(GDALMDArrayH hArray, CSLConstList papszOptions);
1537  size_t iXDim, size_t iYDim);
1538 
1539 void CPL_DLL GDALAttributeRelease(GDALAttributeH hAttr);
1540 void CPL_DLL GDALReleaseAttributes(GDALAttributeH* attributes, size_t nCount);
1541 const char CPL_DLL* GDALAttributeGetName(GDALAttributeH hAttr);
1542 const char CPL_DLL* GDALAttributeGetFullName(GDALAttributeH hAttr);
1544 size_t CPL_DLL GDALAttributeGetDimensionCount(GDALAttributeH hAttr);
1547 GByte CPL_DLL *GDALAttributeReadAsRaw(GDALAttributeH hAttr, size_t *pnSize) CPL_WARN_UNUSED_RESULT;
1548 void CPL_DLL GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte* raw, size_t nSize);
1549 const char CPL_DLL* GDALAttributeReadAsString(GDALAttributeH hAttr);
1550 int CPL_DLL GDALAttributeReadAsInt(GDALAttributeH hAttr);
1551 double CPL_DLL GDALAttributeReadAsDouble(GDALAttributeH hAttr);
1553 int CPL_DLL *GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t* pnCount) CPL_WARN_UNUSED_RESULT;
1554 double CPL_DLL *GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr, size_t* pnCount) CPL_WARN_UNUSED_RESULT;
1555 int CPL_DLL GDALAttributeWriteRaw(GDALAttributeH hAttr, const void*, size_t);
1556 int CPL_DLL GDALAttributeWriteString(GDALAttributeH hAttr, const char*);
1558 int CPL_DLL GDALAttributeWriteInt(GDALAttributeH hAttr, int);
1559 int CPL_DLL GDALAttributeWriteDouble(GDALAttributeH hAttr, double);
1560 int CPL_DLL GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double*, size_t);
1561 
1562 void CPL_DLL GDALDimensionRelease(GDALDimensionH hDim);
1563 void CPL_DLL GDALReleaseDimensions(GDALDimensionH* dims, size_t nCount);
1564 const char CPL_DLL *GDALDimensionGetName(GDALDimensionH hDim);
1565 const char CPL_DLL *GDALDimensionGetFullName(GDALDimensionH hDim);
1566 const char CPL_DLL *GDALDimensionGetType(GDALDimensionH hDim);
1567 const char CPL_DLL *GDALDimensionGetDirection(GDALDimensionH hDim);
1571 
1572 CPL_C_END
1573 
1574 #endif /* ndef GDAL_H_INCLUDED */
GCI_HueBand
@ GCI_HueBand
Definition: gdal.h:202
GDALGetAsyncStatusTypeByName
GDALAsyncStatusType GDALGetAsyncStatusTypeByName(const char *)
Get AsyncStatusType by symbolic name.
Definition: gdal_misc.cpp:790
GDALAttributeReadAsIntArray
int * GDALAttributeReadAsIntArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of integers.
Definition: gdalmultidim.cpp:7131
GDALGroupGetStructuralInfo
CSLConstList GDALGroupGetStructuralInfo(GDALGroupH hGroup)
Return structural information on the group.
Definition: gdalmultidim.cpp:5979
GDALCheckVersion
int GDALCheckVersion(int nVersionMajor, int nVersionMinor, const char *pszCallingComponentName)
Return TRUE if GDAL library version at runtime matches nVersionMajor.nVersionMinor.
Definition: gdal_misc.cpp:2308
GDALDimensionGetType
const char * GDALDimensionGetType(GDALDimensionH hDim)
Return dimension type.
Definition: gdalmultidim.cpp:7362
GDALMDArrayGetName
const char * GDALMDArrayGetName(GDALMDArrayH hArray)
Return array name.
Definition: gdalmultidim.cpp:6142
GDALRATInitializeFromColorTable
CPLErr GDALRATInitializeFromColorTable(GDALRasterAttributeTableH, GDALColorTableH)
Initialize from color table.
Definition: gdal_rat.cpp:999
GDALRATTableType
GDALRATTableType
RAT table type (thematic or athematic)
Definition: gdal.h:1237
GDAL_GCP::pszId
char * pszId
Unique identifier, often numeric.
Definition: gdal.h:666
GDALMDArrayH
struct GDALMDArrayHS * GDALMDArrayH
Opaque type for C++ GDALMDArray.
Definition: gdal.h:297
GDALVersionInfo
const char * GDALVersionInfo(const char *)
Get runtime version information.
Definition: gdal_misc.cpp:2186
GDT_Int32
@ GDT_Int32
Definition: gdal.h:66
GDALRenameDataset
CPLErr GDALRenameDataset(GDALDriverH, const char *pszNewName, const char *pszOldName)
Rename a dataset.
Definition: gdaldriver.cpp:1443
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:2575
GDALAttributeReadAsRaw
GByte * GDALAttributeReadAsRaw(GDALAttributeH hAttr, size_t *pnSize)
Return the raw value of an attribute.
Definition: gdalmultidim.cpp:7000
GDALRasterAttributeTableH
void * GDALRasterAttributeTableH
Opaque type used for the C bindings of the C++ GDALRasterAttributeTable class.
Definition: gdal.h:270
GDALGetDataTypeSizeBytes
int GDALGetDataTypeSizeBytes(GDALDataType)
Get data type size in bytes.
Definition: gdal_misc.cpp:305
GDALGetRasterScale
double GDALGetRasterScale(GDALRasterBandH, int *pbSuccess)
Fetch the raster value scale.
Definition: gdalrasterband.cpp:2550
GDALGetDriverShortName
const char * GDALGetDriverShortName(GDALDriverH)
Return the short name of a driver.
Definition: gdaldriver.cpp:1605
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:685
GDALGetDriverCreationOptionList
const char * GDALGetDriverCreationOptionList(GDALDriverH)
Return the list of creation options of the driver.
Definition: gdaldriver.cpp:1683
GDALEDTComponentGetName
const char * GDALEDTComponentGetName(GDALEDTComponentH hComp)
Return the name.
Definition: gdalmultidim.cpp:5708
GDALGetRasterSampleOverview
GDALRasterBandH GDALGetRasterSampleOverview(GDALRasterBandH, int)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2319
GByte
unsigned char GByte
Unsigned byte type.
Definition: cpl_port.h:215
GDALGetDefaultHistogramEx
CPLErr GDALGetDefaultHistogramEx(GDALRasterBandH hBand, double *pdfMin, double *pdfMax, int *pnBuckets, GUIntBig **ppanHistogram, int bForce, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch default raster histogram.
Definition: gdalrasterband.cpp:3616
GDALDuplicateGCPs
GDAL_GCP * GDALDuplicateGCPs(int, const GDAL_GCP *)
Duplicate an array of GCPs.
Definition: gdal_misc.cpp:1244
GDALAttributeH
struct GDALAttributeHS * GDALAttributeH
Opaque type for C++ GDALAttribute.
Definition: gdal.h:299
GUInt64
GUIntBig GUInt64
Unsigned 64 bit integer type.
Definition: cpl_port.h:269
GDALGeneralCmdLineProcessor
int GDALGeneralCmdLineProcessor(int nArgc, char ***ppapszArgv, int nOptions)
General utility option processing.
Definition: gdal_misc.cpp:2862
GDALMDArrayGetSpatialRef
OGRSpatialReferenceH GDALMDArrayGetSpatialRef(GDALMDArrayH hArray)
Return the spatial reference system object associated with the array.
Definition: gdalmultidim.cpp:6861
GDALRPCInfo::dfSAMP_OFF
double dfSAMP_OFF
Definition: gdal.h:1144
GCI_GreenBand
@ GCI_GreenBand
Definition: gdal.h:199
GTO_TIP
@ GTO_TIP
Definition: gdal.h:1367
GDALRasterIOExtraArg::bFloatingPointWindowValidity
int bFloatingPointWindowValidity
Definition: gdal.h:167
GDALRasterIOEx
CPLErr GDALRasterIOEx(GDALRasterBandH hRBand, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, GSpacing nPixelSpace, GSpacing nLineSpace, GDALRasterIOExtraArg *psExtraArg)
Read/write a region of image data for this band.
Definition: gdalrasterband.cpp:423
GDALFlushCacheBlock
int GDALFlushCacheBlock(void)
Try to flush one cached raster block.
Definition: gdalrasterblock.cpp:372
GDALAttributeWriteString
int GDALAttributeWriteString(GDALAttributeH hAttr, const char *)
Write an attribute from a string value.
Definition: gdalmultidim.cpp:7216
GDT_Float32
@ GDT_Float32
Definition: gdal.h:69
GDALGetMetadataDomainList
char ** GDALGetMetadataDomainList(GDALMajorObjectH hObject)
Fetch list of metadata domains.
Definition: gdalmajorobject.cpp:219
GDALDimensionGetFullName
const char * GDALDimensionGetFullName(GDALDimensionH hDim)
Return dimension full name.
Definition: gdalmultidim.cpp:7348
GDALRATGetRowOfValue
int GDALRATGetRowOfValue(GDALRasterAttributeTableH, double)
Get row for pixel value.
Definition: gdal_rat.cpp:378
cpl_error.h
CPL error handling services.
GDALGetRasterCategoryNames
char ** GDALGetRasterCategoryNames(GDALRasterBandH)
Fetch the list of category names for this raster.
Definition: gdalrasterband.cpp:1531
GDALGetColorInterpretationName
const char * GDALGetColorInterpretationName(GDALColorInterp)
Get name of color interpretation.
Definition: gdal_misc.cpp:904
GDALDimensionGetIndexingVariable
GDALMDArrayH GDALDimensionGetIndexingVariable(GDALDimensionH hDim)
Return the variable that is used to index the dimension (if there is one).
Definition: gdalmultidim.cpp:7409
GDALARLockBuffer
int GDALARLockBuffer(GDALAsyncReaderH hARIO, double dfTimeout)
Lock image buffer.
Definition: gdaldefaultasync.cpp:233
GDALGetJPEG2000Structure
CPLXMLNode * GDALGetJPEG2000Structure(const char *pszFilename, CSLConstList papszOptions)
Dump the structure of a JPEG2000 file as a XML tree.
Definition: gdaljp2structure.cpp:1659
GDAL_GCP::dfGCPX
double dfGCPX
X position of GCP in georeferenced space.
Definition: gdal.h:677
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:3223
GFU_GreenMax
@ GFU_GreenMax
Definition: gdal.h:1228
GDALGroupGetGroupNames
char ** GDALGroupGetGroupNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of sub-groups contained in this group.
Definition: gdalmultidim.cpp:5842
cpl_virtualmem.h
Virtual memory management.
GDALMDArraySetNoDataValueAsDouble
int GDALMDArraySetNoDataValueAsDouble(GDALMDArrayH hArray, double dfNoDataValue)
Set the nodata value as a double.
Definition: gdalmultidim.cpp:6509
GDALRPCInfo::dfMAX_LAT
double dfMAX_LAT
Definition: gdal.h:1163
GDALMDArrayGetStructuralInfo
CSLConstList GDALMDArrayGetStructuralInfo(GDALMDArrayH hArray)
Return structural information on the array.
Definition: gdalmultidim.cpp:6686
GDALDatasetSetStyleTableDirectly
void GDALDatasetSetStyleTableDirectly(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4627
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:6098
GDALDeinitGCPs
void GDALDeinitGCPs(int, GDAL_GCP *)
De-initialize an array of GCPs (initialized with GDALInitGCPs())
Definition: gdal_misc.cpp:1217
GDALFindDataType
GDALDataType GDALFindDataType(int nBits, int bSigned, int bFloating, int bComplex)
Finds the smallest data type able to support the given requirements.
Definition: gdal_misc.cpp:233
GEDTC_STRING
@ GEDTC_STRING
String value.
Definition: gdal.h:285
GDALGetRandomRasterSample
int GDALGetRandomRasterSample(GDALRasterBandH, int, float *)
Undocumented.
Definition: gdal_misc.cpp:1012
GDALRPCInfo::dfLAT_OFF
double dfLAT_OFF
Definition: gdal.h:1145
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:3418
GFU_MinMax
@ GFU_MinMax
Definition: gdal.h:1218
GEDTC_NUMERIC
@ GEDTC_NUMERIC
Numeric value.
Definition: gdal.h:283
GCI_Max
@ GCI_Max
Definition: gdal.h:212
GDT_Unknown
@ GDT_Unknown
Definition: gdal.h:61
GDALExtendedDataTypeGetName
const char * GDALExtendedDataTypeGetName(GDALExtendedDataTypeH hEDT)
Return type name.
Definition: gdalmultidim.cpp:5513
GDALRATGetValueAsDouble
double GDALRATGetValueAsDouble(GDALRasterAttributeTableH, int, int)
Fetch field value as a double.
Definition: gdal_rat.cpp:1652
GRIORA_Cubic
@ GRIORA_Cubic
Definition: gdal.h:132
GDALSetMetadataItem
CPLErr GDALSetMetadataItem(GDALMajorObjectH, const char *, const char *, const char *)
Set single metadata item.
Definition: gdalmajorobject.cpp:415
GDALCopyDatasetFiles
CPLErr GDALCopyDatasetFiles(GDALDriverH, const char *pszNewName, const char *pszOldName)
Copy the files of a dataset.
Definition: gdaldriver.cpp:1568
GDAL_GCP::dfGCPLine
double dfGCPLine
Line (y) location of GCP on raster.
Definition: gdal.h:674
GCI_GrayIndex
@ GCI_GrayIndex
Definition: gdal.h:196
GDALGetPaletteInterpretation
GDALPaletteInterp GDALGetPaletteInterpretation(GDALColorTableH)
Fetch palette interpretation.
Definition: gdalcolortable.cpp:356
GDALRPCInfo::dfSAMP_SCALE
double dfSAMP_SCALE
Definition: gdal.h:1150
GDALGetCacheUsed64
GIntBig GDALGetCacheUsed64(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:355
GDALOverviewMagnitudeCorrection
CPLErr GDALOverviewMagnitudeCorrection(GDALRasterBandH hBaseBand, int nOverviewCount, GDALRasterBandH *pahOverviews, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:4095
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
cpl_minixml.h
Definitions for CPL mini XML Parser/Serializer.
GDALSetColorEntry
void GDALSetColorEntry(GDALColorTableH, int, const GDALColorEntry *)
Set entry in color table.
Definition: gdalcolortable.cpp:245
GDALTileOrganization
GDALTileOrganization
! Enumeration to describe the tile organization
Definition: gdal.h:1365
GDALMDArraySetOffset
int GDALMDArraySetOffset(GDALMDArrayH hArray, double dfOffset)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:6546
GFU_Red
@ GFU_Red
Definition: gdal.h:1219
GRIORA_Lanczos
@ GRIORA_Lanczos
Definition: gdal.h:134
GDALReadWorldFile
int GDALReadWorldFile(const char *, const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:1958
GDALColorTableH
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:267
GDALSetRasterCategoryNames
CPLErr GDALSetRasterCategoryNames(GDALRasterBandH, CSLConstList)
Set the category names for this band.
Definition: gdalrasterband.cpp:1583
GDALGroupGetMDArrayNames
char ** GDALGroupGetMDArrayNames(GDALGroupH hGroup, CSLConstList papszOptions)
Return the list of multidimensional array names contained in this group.
Definition: gdalmultidim.cpp:5799
GDALRPCInfo::dfLONG_SCALE
double dfLONG_SCALE
Definition: gdal.h:1152
GDT_UInt32
@ GDT_UInt32
Definition: gdal.h:65
GDALGetCacheMax
int GDALGetCacheMax(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:200
GDALClose
void GDALClose(GDALDatasetH)
Close GDAL dataset.
Definition: gdaldataset.cpp:3624
GDT_CFloat64
@ GDT_CFloat64
Definition: gdal.h:75
GDALGetOpenDatasets
void GDALGetOpenDatasets(GDALDatasetH **hDS, int *pnCount)
Fetch all open GDAL dataset handles.
Definition: gdaldataset.cpp:2670
GDALDatasetStartTransaction
OGRErr GDALDatasetStartTransaction(GDALDatasetH hDS, int bForce)
For datasources which support transactions, StartTransaction creates a transaction.
Definition: gdaldataset.cpp:7141
GDT_CInt32
@ GDT_CInt32
Definition: gdal.h:72
GDALDatasetCopyWholeRaster
CPLErr GDALDatasetCopyWholeRaster(GDALDatasetH hSrcDS, GDALDatasetH hDstDS, CSLConstList papszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy all dataset raster data.
Definition: rasterio.cpp:4393
GDALGetRasterBand
GDALRasterBandH GDALGetRasterBand(GDALDatasetH, int)
Fetch a band object for a dataset.
Definition: gdaldataset.cpp:783
GDALGetGCPs
const GDAL_GCP * GDALGetGCPs(GDALDatasetH)
Fetch GCPs.
Definition: gdaldataset.cpp:1690
GDALGetNonComplexDataType
GDALDataType GDALGetNonComplexDataType(GDALDataType)
Return the base data type for the specified input.
Definition: gdal_misc.cpp:760
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:6184
GDALSwapWordsEx
void GDALSwapWordsEx(void *pData, int nWordSize, size_t nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:1907
GDALGetBlockSize
void GDALGetBlockSize(GDALRasterBandH, int *pnXSize, int *pnYSize)
Fetch the "natural" block size of this band.
Definition: gdalrasterband.cpp:905
GDALColorEntry::c4
short c4
Definition: gdal.h:1185
GCI_PaletteIndex
@ GCI_PaletteIndex
Definition: gdal.h:197
GDALColorEntry
Color tuple.
Definition: gdal.h:1174
GDALGetFileList
char ** GDALGetFileList(GDALDatasetH)
Fetch files forming dataset.
Definition: gdaldataset.cpp:2993
GTO_BSQ
@ GTO_BSQ
Definition: gdal.h:1371
GDALGetRasterAccess
GDALAccess GDALGetRasterAccess(GDALRasterBandH)
Find out if we have update permission for this band.
Definition: gdalrasterband.cpp:1485
GDALColorInterp
GDALColorInterp
Definition: gdal.h:194
GFT_Real
@ GFT_Real
Definition: gdal.h:1207
GFU_Max
@ GFU_Max
Definition: gdal.h:1217
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:6400
GDALInitGCPs
void GDALInitGCPs(int, GDAL_GCP *)
Initialize an array of GCPs.
Definition: gdal_misc.cpp:1191
GDALGetMetadata
char ** GDALGetMetadata(GDALMajorObjectH, const char *)
Fetch metadata.
Definition: gdalmajorobject.cpp:266
GDALGetOverviewCount
int GDALGetOverviewCount(GDALRasterBandH)
Return the number of overview layers available.
Definition: gdalrasterband.cpp:2203
GF_Read
@ GF_Read
Definition: gdal.h:120
GTO_BIT
@ GTO_BIT
Definition: gdal.h:1369
GDALDeleteRasterNoDataValue
CPLErr GDALDeleteRasterNoDataValue(GDALRasterBandH)
Remove the no data value for this band.
Definition: gdalrasterband.cpp:1751
GDALARUnlockBuffer
void GDALARUnlockBuffer(GDALAsyncReaderH hARIO)
Unlock image buffer.
Definition: gdaldefaultasync.cpp:268
GDALDimensionGetSize
GUInt64 GDALDimensionGetSize(GDALDimensionH hDim)
Return the size, that is the number of values along the dimension.
Definition: gdalmultidim.cpp:7390
GDALSetRasterStatistics
CPLErr GDALSetRasterStatistics(GDALRasterBandH hBand, double dfMin, double dfMax, double dfMean, double dfStdDev)
Set statistics on band.
Definition: gdalrasterband.cpp:5434
GInt64
GIntBig GInt64
Signed 64 bit integer type.
Definition: cpl_port.h:267
GDALGroupRelease
void GDALGroupRelease(GDALGroupH hGroup)
Release the GDAL in-memory object associated with a GDALGroupH.
Definition: gdalmultidim.cpp:5752
GDALGetDataTypeSizeBits
int GDALGetDataTypeSizeBits(GDALDataType eDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:350
GDALExtendedDataTypeCanConvertTo
int GDALExtendedDataTypeCanConvertTo(GDALExtendedDataTypeH hSourceEDT, GDALExtendedDataTypeH hTargetEDT)
Return whether this data type can be converted to the other one.
Definition: gdalmultidim.cpp:5589
GDALRasterBandCopyWholeRaster
CPLErr GDALRasterBandCopyWholeRaster(GDALRasterBandH hSrcBand, GDALRasterBandH hDstBand, const char *const *constpapszOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Copy a whole raster band.
Definition: rasterio.cpp:4720
GDALLoadWorldFile
int GDALLoadWorldFile(const char *, double *)
Read ESRI world file.
Definition: gdal_misc.cpp:1864
GDALDereferenceDataset
int GDALDereferenceDataset(GDALDatasetH)
Subtract one from dataset reference count.
Definition: gdaldataset.cpp:1378
GPtrDiff_t
int GPtrDiff_t
Integer type large enough to hold the difference between 2 addresses.
Definition: cpl_port.h:289
GDALGroupOpenGroup
GDALGroupH GDALGroupOpenGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Open and return a sub-group.
Definition: gdalmultidim.cpp:5864
GDALDestroyDriver
void GDALDestroyDriver(GDALDriverH)
Destroy a GDALDriver.
Definition: gdaldriver.cpp:118
GCI_SaturationBand
@ GCI_SaturationBand
Definition: gdal.h:203
GDALOpen
GDALDatasetH GDALOpen(const char *pszFilename, GDALAccess eAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3125
GDALExtendedDataTypeClass
GDALExtendedDataTypeClass
Enumeration giving the class of a GDALExtendedDataType.
Definition: gdal.h:281
GDALAttributeReadAsDouble
double GDALAttributeReadAsDouble(GDALAttributeH hAttr)
Return the value of an attribute as a double.
Definition: gdalmultidim.cpp:7097
GCI_YCbCr_YBand
@ GCI_YCbCr_YBand
Definition: gdal.h:209
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:7510
GDALGetColorInterpretationByName
GDALColorInterp GDALGetColorInterpretationByName(const char *pszName)
Get color interpretation by symbolic name.
Definition: gdal_misc.cpp:983
GCI_CyanBand
@ GCI_CyanBand
Definition: gdal.h:205
GDALAttributeReadAsInt
int GDALAttributeReadAsInt(GDALAttributeH hAttr)
Return the value of an attribute as a integer.
Definition: gdalmultidim.cpp:7077
GDALARGetNextUpdatedRegion
GDALAsyncStatusType GDALARGetNextUpdatedRegion(GDALAsyncReaderH hARIO, double dfTimeout, int *pnXBufOff, int *pnYBufOff, int *pnXBufSize, int *pnYBufSize)
Get async IO update.
Definition: gdaldefaultasync.cpp:174
GDALReadOziMapFile
int GDALReadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1565
GDALCreateMaskBand
CPLErr GDALCreateMaskBand(GDALRasterBandH hBand, int nFlags)
Adds a mask band to the current band.
Definition: gdalrasterband.cpp:6331
GDALDataType
GDALDataType
Definition: gdal.h:60
CPLXMLNode
Document node structure.
Definition: cpl_minixml.h:70
GDALMDArrayGetTotalElementsCount
GUInt64 GDALMDArrayGetTotalElementsCount(GDALMDArrayH hArray)
Return the total number of values in the array.
Definition: gdalmultidim.cpp:6170
GRTT_ATHEMATIC
@ GRTT_ATHEMATIC
Definition: gdal.h:1239
GDALCloneColorTable
GDALColorTableH GDALCloneColorTable(GDALColorTableH)
Make a copy of a color table.
Definition: gdalcolortable.cpp:280
GDALGetGCPSpatialRef
OGRSpatialReferenceH GDALGetGCPSpatialRef(GDALDatasetH)
Get output spatial reference system for GCPs.
Definition: gdaldataset.cpp:1612
OGRFeatureH
void * OGRFeatureH
Opaque type for a feature (OGRFeature)
Definition: ogr_api.h:314
GDALRPCInfo::dfLAT_SCALE
double dfLAT_SCALE
Definition: gdal.h:1151
GDALSetRasterUnitType
CPLErr GDALSetRasterUnitType(GDALRasterBandH hBand, const char *pszNewValue)
Set unit type.
Definition: gdalrasterband.cpp:2696
OGRStyleTableH
void * OGRStyleTableH
Opaque type for a style table (OGRStyleTable)
Definition: ogr_api.h:316
GCI_RedBand
@ GCI_RedBand
Definition: gdal.h:198
GFU_Generic
@ GFU_Generic
Definition: gdal.h:1213
GDALRPCInfo::dfLINE_OFF
double dfLINE_OFF
Definition: gdal.h:1143
GDALExtendedDataTypeFreeComponents
void GDALExtendedDataTypeFreeComponents(GDALEDTComponentH *components, size_t nCount)
Free the return of GDALExtendedDataTypeGetComponents().
Definition: gdalmultidim.cpp:5658
GDALAddBand
CPLErr GDALAddBand(GDALDatasetH hDS, GDALDataType eType, CSLConstList papszOptions)
Add a band to a dataset.
Definition: gdaldataset.cpp:590
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:361
GDALDimensionGetName
const char * GDALDimensionGetName(GDALDimensionH hDim)
Return dimension name.
Definition: gdalmultidim.cpp:7334
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:5821
GDALDatasetGetTiledVirtualMem
CPLVirtualMem * GDALDatasetGetTiledVirtualMem(GDALDatasetH hDS, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize, int nYSize, int nTileXSize, int nTileYSize, GDALDataType eBufType, int nBandCount, int *panBandMap, GDALTileOrganization eTileOrganization, size_t nCacheSize, int bSingleThreadUsage, CSLConstList papszOptions)
Create a CPLVirtualMem object from a GDAL dataset object, with tiling organization.
Definition: gdalvirtualmem.cpp:1554
GDALMajorObjectH
void * GDALMajorObjectH
Opaque type used for the C bindings of the C++ GDALMajorObject class.
Definition: gdal.h:255
GFU_Blue
@ GFU_Blue
Definition: gdal.h:1221
GDALDatasetRollbackTransaction
OGRErr GDALDatasetRollbackTransaction(GDALDatasetH hDS)
For datasources which support transactions, RollbackTransaction will roll back a datasource to its st...
Definition: gdaldataset.cpp:7248
GDALGetRasterBandYSize
int GDALGetRasterBandYSize(GDALRasterBandH)
Fetch YSize of raster.
Definition: gdalrasterband.cpp:2770
GDALRasterIOExtraArg::eResampleAlg
GDALRIOResampleAlg eResampleAlg
Definition: gdal.h:156
GDT_UInt16
@ GDT_UInt16
Definition: gdal.h:63
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:6305
GDALExtendedDataTypeGetNumericDataType
GDALDataType GDALExtendedDataTypeGetNumericDataType(GDALExtendedDataTypeH hEDT)
Return numeric data type (only valid when GetClass() == GEDTC_NUMERIC)
Definition: gdalmultidim.cpp:5541
GDALExtendedDataTypeGetSize
size_t GDALExtendedDataTypeGetSize(GDALExtendedDataTypeH hEDT)
Return data type size in bytes.
Definition: gdalmultidim.cpp:5555
GDALRATGetNameOfCol
const char * GDALRATGetNameOfCol(GDALRasterAttributeTableH, int)
Fetch name of indicated column.
Definition: gdal_rat.cpp:1314
GCI_LightnessBand
@ GCI_LightnessBand
Definition: gdal.h:204
GFU_AlphaMin
@ GFU_AlphaMin
Definition: gdal.h:1226
GDALSetGCPs2
CPLErr GDALSetGCPs2(GDALDatasetH, int, const GDAL_GCP *, OGRSpatialReferenceH)
Assign GCPs.
Definition: gdaldataset.cpp:1871
GFU_Min
@ GFU_Min
Definition: gdal.h:1216
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:248
GDALGetDataTypeByName
GDALDataType GDALGetDataTypeByName(const char *)
Get data type by symbolic name.
Definition: gdal_misc.cpp:626
GDALGetRasterXSize
int GDALGetRasterXSize(GDALDatasetH)
Fetch raster width in pixels.
Definition: gdaldataset.cpp:695
GDALDataTypeIsInteger
int GDALDataTypeIsInteger(GDALDataType)
Is data type integer? (might be complex)
Definition: gdal_misc.cpp:445
GFU_BlueMax
@ GFU_BlueMax
Definition: gdal.h:1229
GDALDatasetGetLayerCount
int GDALDatasetGetLayerCount(GDALDatasetH)
Get the number of layers in this dataset.
Definition: gdaldataset.cpp:4219
GDALGetPaletteInterpretationName
const char * GDALGetPaletteInterpretationName(GDALPaletteInterp)
Get name of palette interpretation.
Definition: gdal_misc.cpp:864
GDALMDArraySetUnit
int GDALMDArraySetUnit(GDALMDArrayH hArray, const char *)
Set the variable unit.
Definition: gdalmultidim.cpp:6803
GDALDeleteDataset
CPLErr GDALDeleteDataset(GDALDriverH, const char *)
Delete named dataset.
Definition: gdaldriver.cpp:1316
GRIORA_NearestNeighbour
@ GRIORA_NearestNeighbour
Definition: gdal.h:130
GDALHasArbitraryOverviews
int GDALHasArbitraryOverviews(GDALRasterBandH)
Check for arbitrary overviews.
Definition: gdalrasterband.cpp:2163
GDALBuildOverviews
CPLErr GDALBuildOverviews(GDALDatasetH, const char *, int, int *, int, int *, GDALProgressFunc, void *)
Build raster overview(s)
Definition: gdaldataset.cpp:1968
GDALGetBandDataset
GDALDatasetH GDALGetBandDataset(GDALRasterBandH)
Fetch the owning dataset handle.
Definition: gdalrasterband.cpp:2853
GDALGetRasterStatistics
CPLErr GDALGetRasterStatistics(GDALRasterBandH, int bApproxOK, int bForce, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev)
Fetch image statistics.
Definition: gdalrasterband.cpp:3837
GDALComputeRasterMinMax
void GDALComputeRasterMinMax(GDALRasterBandH hBand, int bApproxOK, double adfMinMax[2])
Compute the min/max values for a band.
Definition: gdalrasterband.cpp:5702
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
GDALSetGCPs
CPLErr GDALSetGCPs(GDALDatasetH, int, const GDAL_GCP *, const char *)
Assign GCPs.
Definition: gdaldataset.cpp:1849
GDALGetInternalHandle
void * GDALGetInternalHandle(GDALDatasetH, const char *)
Fetch a format specific internally meaningful handle.
Definition: gdaldataset.cpp:1275
GDALRasterAdviseRead
CPLErr GDALRasterAdviseRead(GDALRasterBandH hRB, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, int nBXSize, int nBYSize, GDALDataType eBDataType, CSLConstList papszOptions)
Advise driver of upcoming read requests.
Definition: gdalrasterband.cpp:3708
GDALColorEntry::c2
short c2
Definition: gdal.h:1179
GDALGetMaskFlags
int GDALGetMaskFlags(GDALRasterBandH hBand)
Return the status flags of the mask band associated with the band.
Definition: gdalrasterband.cpp:6242
GDALRasterIOExtraArg::dfXOff
double dfXOff
Definition: gdal.h:169
GDALAttributeWriteDoubleArray
int GDALAttributeWriteDoubleArray(GDALAttributeH hAttr, const double *, size_t)
Write an attribute from an array of double.
Definition: gdalmultidim.cpp:7305
GDALGetDriverCount
int GDALGetDriverCount(void)
Fetch the number of registered drivers.
Definition: gdaldrivermanager.cpp:360
OGRSpatialReferenceH
void * OGRSpatialReferenceH
Opaque type for a spatial reference system.
Definition: ogr_api.h:75
GDALGetColorEntryCount
int GDALGetColorEntryCount(GDALColorTableH)
Get number of color entries in table.
Definition: gdalcolortable.cpp:317
GDALEDTComponentRelease
void GDALEDTComponentRelease(GDALEDTComponentH hComp)
Release the GDAL in-memory object associated with a GDALEDTComponentH.
Definition: gdalmultidim.cpp:5693
GDALAttributeReadAsString
const char * GDALAttributeReadAsString(GDALAttributeH hAttr)
Return the value of an attribute as a string.
Definition: gdalmultidim.cpp:7057
GDALGetCacheMax64
GIntBig GDALGetCacheMax64(void)
Get maximum cache memory.
Definition: gdalrasterblock.cpp:239
GDALCreate
GDALDatasetH GDALCreate(GDALDriverH hDriver, const char *, int, int, int, GDALDataType, CSLConstList)
Create a new dataset with this driver.
Definition: gdaldriver.cpp:320
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:6955
GDALDataTypeUnionWithValue
GDALDataType GDALDataTypeUnionWithValue(GDALDataType eDT, double dValue, int bComplex)
Union a data type with the one found for a value.
Definition: gdal_misc.cpp:175
GDALMDArrayGetAttributes
GDALAttributeH * GDALMDArrayGetAttributes(GDALMDArrayH hArray, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this array.
Definition: gdalmultidim.cpp:6374
GDALGetRasterHistogram
CPLErr GDALGetRasterHistogram(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, int *panHistogram, int bIncludeOutOfRange, int bApproxOK, GDALProgressFunc pfnProgress, void *pProgressData)
Compute raster histogram.
Definition: gdalrasterband.cpp:3352
GF_Write
@ GF_Write
Definition: gdal.h:121
GCI_YellowBand
@ GCI_YellowBand
Definition: gdal.h:207
GDALRasterIOExtraArg::pProgressData
void * pProgressData
Definition: gdal.h:161
GDALValidateCreationOptions
int GDALValidateCreationOptions(GDALDriverH, CSLConstList papszCreationOptions)
Validate the list of creation options that are handled by a driver.
Definition: gdaldriver.cpp:1724
GDALMDArrayGetProcessingChunkSize
size_t * GDALMDArrayGetProcessingChunkSize(GDALMDArrayH hArray, size_t *pnCount, size_t nMaxChunkMemory)
Return an optimal chunk size for read/write oerations, given the natural block size and memory constr...
Definition: gdalmultidim.cpp:6657
GFU_RedMin
@ GFU_RedMin
Definition: gdal.h:1223
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:5895
GDALDatasetGetNextFeature
OGRFeatureH GDALDatasetGetNextFeature(GDALDatasetH hDS, OGRLayerH *phBelongingLayer, double *pdfProgressPct, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch the next available feature from this dataset.
Definition: gdaldataset.cpp:6921
GDT_CFloat32
@ GDT_CFloat32
Definition: gdal.h:74
GDALEDTComponentGetOffset
size_t GDALEDTComponentGetOffset(GDALEDTComponentH hComp)
Return the offset (in bytes) of the component in the compound data type.
Definition: gdalmultidim.cpp:5722
GDALGetDriverLongName
const char * GDALGetDriverLongName(GDALDriverH)
Return the long name of a driver.
Definition: gdaldriver.cpp:1627
GDALMDArrayGetOffset
double GDALMDArrayGetOffset(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:6586
GDALAttributeGetFullName
const char * GDALAttributeGetFullName(GDALAttributeH hAttr)
Return the full name of the attribute.
Definition: gdalmultidim.cpp:6908
GDALExtendedDataTypeGetMaxStringLength
size_t GDALExtendedDataTypeGetMaxStringLength(GDALExtendedDataTypeH hEDT)
Return the maximum length of a string in bytes.
Definition: gdalmultidim.cpp:5571
GDALDataTypeIsFloating
int GDALDataTypeIsFloating(GDALDataType)
Is data type floating? (might be complex)
Definition: gdal_misc.cpp:418
GDALDeregisterDriver
void GDALDeregisterDriver(GDALDriverH)
Deregister the passed driver.
Definition: gdaldrivermanager.cpp:575
CSLConstList
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1212
GDALCreateColorTable
GDALColorTableH GDALCreateColorTable(GDALPaletteInterp)
Construct a new color table.
Definition: gdalcolortable.cpp:69
GDALGetRasterSampleOverviewEx
GDALRasterBandH GDALGetRasterSampleOverviewEx(GDALRasterBandH, GUIntBig)
Fetch best sampling overview.
Definition: gdalrasterband.cpp:2342
GUIntBig
unsigned long long GUIntBig
Large unsigned integer type (generally 64-bit unsigned integer type).
Definition: cpl_port.h:251
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
GDALGetDriver
GDALDriverH GDALGetDriver(int)
Fetch driver by index.
Definition: gdaldrivermanager.cpp:398
GDALMDArrayGetAttribute
GDALAttributeH GDALMDArrayGetAttribute(GDALMDArrayH hArray, const char *pszName)
Return an attribute by its name.
Definition: gdalmultidim.cpp:6345
GDALDatasetCopyLayer
OGRLayerH GDALDatasetCopyLayer(GDALDatasetH, OGRLayerH, const char *, CSLConstList)
Duplicate an existing layer.
Definition: gdaldataset.cpp:4514
GDALMDArrayGetRawNoDataValue
const void * GDALMDArrayGetRawNoDataValue(GDALMDArrayH hArray)
Return the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:6439
GDALEDTComponentH
struct GDALEDTComponentHS * GDALEDTComponentH
Opaque type for C++ GDALEDTComponent.
Definition: gdal.h:293
GDALExtendedDataTypeCreate
GDALExtendedDataTypeH GDALExtendedDataTypeCreate(GDALDataType eType)
Return a new GDALExtendedDataType of class GEDTC_NUMERIC.
Definition: gdalmultidim.cpp:5431
GDT_Float64
@ GDT_Float64
Definition: gdal.h:70
GDALRasterIOExtraArg::pfnProgress
GDALProgressFunc pfnProgress
Definition: gdal.h:159
GDALIdentifyDriver
GDALDriverH GDALIdentifyDriver(const char *pszFilename, CSLConstList papszFileList)
Identify the driver that can open a raster file.
Definition: gdaldriver.cpp:2145
GDALAttributeRelease
void GDALAttributeRelease(GDALAttributeH hAttr)
Release the GDAL in-memory object associated with a GDALAttribute.
Definition: gdalmultidim.cpp:6877
GDALFillRaster
CPLErr GDALFillRaster(GDALRasterBandH hBand, double dfRealValue, double dfImaginaryValue)
Fill this band with a constant value.
Definition: gdalrasterband.cpp:1448
GDALRATSetTableType
CPLErr GDALRATSetTableType(GDALRasterAttributeTableH hRAT, const GDALRATTableType eInTableType)
Set RAT Table Type.
Definition: gdal_rat.cpp:591
GDALRPCInfo::dfMIN_LONG
double dfMIN_LONG
Definition: gdal.h:1160
GFU_RedMax
@ GFU_RedMax
Definition: gdal.h:1227
GDALDatasetResetReading
void GDALDatasetResetReading(GDALDatasetH)
Reset feature reading to start on the first feature.
Definition: gdaldataset.cpp:6694
GDALGetGeoTransform
CPLErr GDALGetGeoTransform(GDALDatasetH, double *)
Fetch the affine transformation coefficients.
Definition: gdaldataset.cpp:1184
GDALRPCInfo::dfLONG_OFF
double dfLONG_OFF
Definition: gdal.h:1146
GDAL_GCP
Ground Control Point.
Definition: gdal.h:664
CPL_C_END
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339
GRIORA_CubicSpline
@ GRIORA_CubicSpline
Definition: gdal.h:133
GDALGetDataTypeSize
int GDALGetDataTypeSize(GDALDataType)
Get data type size in bits.
Definition: gdal_misc.cpp:372
GFU_Name
@ GFU_Name
Definition: gdal.h:1215
GDALSetDescription
void GDALSetDescription(GDALMajorObjectH, const char *)
Set object description.
Definition: gdalmajorobject.cpp:136
GDALMDArrayGetView
GDALMDArrayH GDALMDArrayGetView(GDALMDArrayH hArray, const char *pszViewExpr)
Return a view of the array using slicing or field access.
Definition: gdalmultidim.cpp:6702
GDALGetDescription
const char * GDALGetDescription(GDALMajorObjectH)
Fetch object description.
Definition: gdalmajorobject.cpp:95
GFU_Alpha
@ GFU_Alpha
Definition: gdal.h:1222
GDALCreateRasterAttributeTable
GDALRasterAttributeTableH GDALCreateRasterAttributeTable(void)
Construct empty table.
Definition: gdal_rat.cpp:1203
GCI_Undefined
@ GCI_Undefined
Definition: gdal.h:195
GDALWriteBlock
CPLErr GDALWriteBlock(GDALRasterBandH, int, int, void *)
Write a block of image data efficiently.
Definition: gdalrasterband.cpp:722
GDALReadBlock
CPLErr GDALReadBlock(GDALRasterBandH, int, int, void *)
Read a block of image data efficiently.
Definition: gdalrasterband.cpp:566
GDALSetDefaultHistogram
CPLErr GDALSetDefaultHistogram(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, int *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:5750
GDALMDArrayRelease
void GDALMDArrayRelease(GDALMDArrayH hMDArray)
Release the GDAL in-memory object associated with a GDALMDArray.
Definition: gdalmultidim.cpp:6129
GDALAttributeWriteInt
int GDALAttributeWriteInt(GDALAttributeH hAttr, int)
Write an attribute from a integer value.
Definition: gdalmultidim.cpp:7237
GDALCreateMultiDimensional
GDALDatasetH GDALCreateMultiDimensional(GDALDriverH hDriver, const char *pszName, CSLConstList papszRootGroupOptions, CSLConstList papszOptions)
Create a new multidimensioanl dataset with this driver.
Definition: gdaldriver.cpp:413
GDALSetDefaultRAT
CPLErr GDALSetDefaultRAT(GDALRasterBandH, GDALRasterAttributeTableH)
Set default Raster Attribute Table.
Definition: gdalrasterband.cpp:5893
GDALReleaseDimensions
void GDALReleaseDimensions(GDALDimensionH *dims, size_t nCount)
Free the return of GDALGroupGetDimensions() or GDALMDArrayGetDimensions()
Definition: gdalmultidim.cpp:6231
GRIORA_Mode
@ GRIORA_Mode
Definition: gdal.h:137
GDALExtendedDataTypeCreateString
GDALExtendedDataTypeH GDALExtendedDataTypeCreateString(size_t nMaxStringLength)
Return a new GDALExtendedDataType of class GEDTC_STRING.
Definition: gdalmultidim.cpp:5450
GDALAttributeGetTotalElementsCount
GUInt64 GDALAttributeGetTotalElementsCount(GDALAttributeH hAttr)
Return the total number of values in the attribute.
Definition: gdalmultidim.cpp:6922
GDALDatasetReleaseResultSet
void GDALDatasetReleaseResultSet(GDALDatasetH, OGRLayerH)
Release results of ExecuteSQL().
Definition: gdaldataset.cpp:4195
GDALExtendedDataTypeGetClass
GDALExtendedDataTypeClass GDALExtendedDataTypeGetClass(GDALExtendedDataTypeH hEDT)
Return type class.
Definition: gdalmultidim.cpp:5527
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:4568
GFU_PixelCount
@ GFU_PixelCount
Definition: gdal.h:1214
GDALGetDriverByName
GDALDriverH GDALGetDriverByName(const char *)
Fetch a driver based on the short name.
Definition: gdaldrivermanager.cpp:619
GDALAttributeReadAsStringArray
char ** GDALAttributeReadAsStringArray(GDALAttributeH hAttr)
Return the value of an attribute as an array of strings.
Definition: gdalmultidim.cpp:7113
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:2811
GDALMDArrayGetNoDataValueAsDouble
double GDALMDArrayGetNoDataValueAsDouble(GDALMDArrayH hArray, int *pbHasNoDataValue)
Return the nodata value as a double.
Definition: gdalmultidim.cpp:6465
GDALSetRasterScale
CPLErr GDALSetRasterScale(GDALRasterBandH hBand, double dfNewOffset)
Set scaling ratio.
Definition: gdalrasterband.cpp:2601
GDALSetCacheMax
void GDALSetCacheMax(int nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:120
GFU_GreenMin
@ GFU_GreenMin
Definition: gdal.h:1224
GDALGetAccess
int GDALGetAccess(GDALDatasetH hDS)
Return access flag.
Definition: gdaldataset.cpp:2704
GDALMDArrayGetScale
double GDALMDArrayGetScale(GDALMDArrayH hArray, int *pbHasValue)
Get the scale value to apply to raw values.
Definition: gdalmultidim.cpp:6564
GCI_YCbCr_CrBand
@ GCI_YCbCr_CrBand
Definition: gdal.h:211
GCI_BlackBand
@ GCI_BlackBand
Definition: gdal.h:208
GDALApplyGeoTransform
void GDALApplyGeoTransform(double *, double, double, double *, double *)
Apply GeoTransform to x/y coordinate.
Definition: gdaltransformer.cpp:3764
GDALDumpOpenDatasets
int GDALDumpOpenDatasets(FILE *)
List open datasets.
Definition: gdaldataset.cpp:3709
GDALFlushCache
void GDALFlushCache(GDALDatasetH hDS)
Flush all write cached data to disk.
Definition: gdaldataset.cpp:460
GRIORA_Gauss
@ GRIORA_Gauss
Definition: gdal.h:138
GDALMDArraySetRawNoDataValue
int GDALMDArraySetRawNoDataValue(GDALMDArrayH hArray, const void *)
Set the nodata value as a "raw" value.
Definition: gdalmultidim.cpp:6490
GDALGetRasterCount
int GDALGetRasterCount(GDALDatasetH)
Fetch the number of raster bands on this dataset.
Definition: gdaldataset.cpp:816
GDALGetDefaultHistogram
CPLErr GDALGetDefaultHistogram(GDALRasterBandH hBand, double *pdfMin, double *pdfMax, int *pnBuckets, int **ppanHistogram, int bForce, GDALProgressFunc pfnProgress, void *pProgressData)
Fetch default raster histogram.
Definition: gdalrasterband.cpp:3545
OGRGeometryH
void * OGRGeometryH
Opaque type for a geometry.
Definition: ogr_api.h:60
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:1182
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
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:3387
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:3098
GSpacing
GIntBig GSpacing
Type to express pixel, line or band spacing.
Definition: gdal.h:276
GDALSetGeoTransform
CPLErr GDALSetGeoTransform(GDALDatasetH, double *)
Set the affine transformation coefficients.
Definition: gdaldataset.cpp:1234
GDALRATSetValueAsInt
void GDALRATSetValueAsInt(GDALRasterAttributeTableH, int, int, int)
Set field value from integer.
Definition: gdal_rat.cpp:1827
GCI_BlueBand
@ GCI_BlueBand
Definition: gdal.h:200
GDALGroupCreateGroup
GDALGroupH GDALGroupCreateGroup(GDALGroupH hGroup, const char *pszSubGroupName, CSLConstList papszOptions)
Create a sub-group within a group.
Definition: gdalmultidim.cpp:6013
GDALAccess
GDALAccess
Definition: gdal.h:113
GDALAttributeWriteDouble
int GDALAttributeWriteDouble(GDALAttributeH hAttr, double)
Write an attribute from a double value.
Definition: gdalmultidim.cpp:7259
GDALDatasetTestCapability
int GDALDatasetTestCapability(GDALDatasetH, const char *)
Test if capability is available.
Definition: gdaldataset.cpp:7023
GDALLoadOziMapFile
int GDALLoadOziMapFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for OZI .map.
Definition: gdal_misc.cpp:1357
GDALFlushRasterCache
CPLErr GDALFlushRasterCache(GDALRasterBandH hBand)
Flush raster data cache.
Definition: gdalrasterband.cpp:1044
GDALAllRegister
void GDALAllRegister(void)
Register all known configured GDAL drivers.
Definition: gdalallregister.cpp:62
GDALGroupGetFullName
const char * GDALGroupGetFullName(GDALGroupH hGroup)
Return the full name of the group.
Definition: gdalmultidim.cpp:5783
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:6828
GDALAttributeGetDimensionCount
size_t GDALAttributeGetDimensionCount(GDALAttributeH hAttr)
Return the number of dimensions.
Definition: gdalmultidim.cpp:6936
GDALGetBandNumber
int GDALGetBandNumber(GDALRasterBandH)
Fetch the band number.
Definition: gdalrasterband.cpp:2812
GDALAsyncStatusType
GDALAsyncStatusType
status of the asynchronous stream
Definition: gdal.h:101
GDALAttributeReadAsDoubleArray
double * GDALAttributeReadAsDoubleArray(GDALAttributeH hAttr, size_t *pnCount)
Return the value of an attribute as an array of doubles.
Definition: gdalmultidim.cpp:7160
GDALDecToPackedDMS
double GDALDecToPackedDMS(double)
Convert decimal degrees into packed DMS value (DDDMMMSSS.SS).
Definition: gdal_misc.cpp:2365
GDALDatasetCommitTransaction
OGRErr GDALDatasetCommitTransaction(GDALDatasetH hDS)
For datasources which support transactions, CommitTransaction commits a transaction.
Definition: gdaldataset.cpp:7196
GDALAttributeWriteRaw
int GDALAttributeWriteRaw(GDALAttributeH hAttr, const void *, size_t)
Write an attribute from raw values expressed in GetDataType()
Definition: gdalmultidim.cpp:7195
GFT_Integer
@ GFT_Integer
Definition: gdal.h:1206
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:6687
GDALRATFieldType
GDALRATFieldType
Field type of raster attribute table.
Definition: gdal.h:1205
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:4598
GDALGetDriverHelpTopic
const char * GDALGetDriverHelpTopic(GDALDriverH)
Return the URL to the help that describes the driver.
Definition: gdaldriver.cpp:1658
GDALAttributeFreeRawResult
void GDALAttributeFreeRawResult(GDALAttributeH hAttr, GByte *raw, size_t nSize)
Free the return of GDALAttributeAsRaw()
Definition: gdalmultidim.cpp:7021
OGRErr
int OGRErr
Type for a OGR error.
Definition: ogr_core.h:318
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:6065
GDALExtendedDataTypeRelease
void GDALExtendedDataTypeRelease(GDALExtendedDataTypeH hEDT)
Release the GDAL in-memory object associated with a GDALExtendedDataTypeH.
Definition: gdalmultidim.cpp:5500
GDALEDTComponentGetType
GDALExtendedDataTypeH GDALEDTComponentGetType(GDALEDTComponentH hComp)
Return the data type of the component.
Definition: gdalmultidim.cpp:5736
GDALComputeBandStats
CPLErr GDALComputeBandStats(GDALRasterBandH hBand, int nSampleStep, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Undocumented.
Definition: overview.cpp:3960
GDALReleaseDataset
int GDALReleaseDataset(GDALDatasetH)
Drop a reference to this object, and destroy if no longer referenced.
Definition: gdaldataset.cpp:1420
GA_ReadOnly
@ GA_ReadOnly
Definition: gdal.h:114
GFT_String
@ GFT_String
Definition: gdal.h:1208
GDALRPCInfo::dfMIN_LAT
double dfMIN_LAT
Definition: gdal.h:1161
GDALRasterBandGetTiledVirtualMem
CPLVirtualMem * GDALRasterBandGetTiledVirtualMem(GDALRasterBandH hBand, GDALRWFlag eRWFlag, int nXOff, int nYOff, int nXSize, int nYSize, int nTileXSize, int nTileYSize, GDALDataType eBufType, size_t nCacheSize, int bSingleThreadUsage, CSLConstList papszOptions)
Create a CPLVirtualMem object from a GDAL rasterband object, with tiling organization.
Definition: gdalvirtualmem.cpp:1669
GDALRegisterDriver
int GDALRegisterDriver(GDALDriverH)
Register a driver for use.
Definition: gdaldrivermanager.cpp:517
GDALCreateDatasetMaskBand
CPLErr GDALCreateDatasetMaskBand(GDALDatasetH hDS, int nFlags)
Adds a mask band to the dataset.
Definition: gdaldataset.cpp:3070
GDALSetRasterColorInterpretation
CPLErr GDALSetRasterColorInterpretation(GDALRasterBandH, GDALColorInterp)
Set color interpretation of a band.
Definition: gdalrasterband.cpp:2024
GIntBig
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:248
GDAL_GCP::pszInfo
char * pszInfo
Informational message or "".
Definition: gdal.h:669
GDAL_GCP::dfGCPPixel
double dfGCPPixel
Pixel (x) location of GCP on raster.
Definition: gdal.h:672
GDALGetRasterOffset
double GDALGetRasterOffset(GDALRasterBandH, int *pbSuccess)
Fetch the raster value offset.
Definition: gdalrasterband.cpp:2444
GDALGroupH
struct GDALGroupHS * GDALGroupH
Opaque type for C++ GDALGroup.
Definition: gdal.h:295
GDALRPCInfo::dfMAX_LONG
double dfMAX_LONG
Definition: gdal.h:1162
GDALOpenShared
GDALDatasetH GDALOpenShared(const char *, GDALAccess)
Open a raster file as a GDALDataset.
Definition: gdaldataset.cpp:3599
GDALDimensionRelease
void GDALDimensionRelease(GDALDimensionH hDim)
Release the GDAL in-memory object associated with a GDALDimension.
Definition: gdalmultidim.cpp:7321
GRIORA_Average
@ GRIORA_Average
Definition: gdal.h:135
GDALAttributeGetDataType
GDALExtendedDataTypeH GDALAttributeGetDataType(GDALAttributeH hAttr)
Return the data type.
Definition: gdalmultidim.cpp:6978
GDALDatasetGetRootGroup
GDALGroupH GDALDatasetGetRootGroup(GDALDatasetH hDS)
Return the root GDALGroup of this dataset.
Definition: gdalmultidim.cpp:7451
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:5474
GDALGCPsToGeoTransform
int GDALGCPsToGeoTransform(int nGCPCount, const GDAL_GCP *pasGCPs, double *padfGeoTransform, int bApproxOK)
Generate Geotransform from GCPs.
Definition: gdal_misc.cpp:2407
GDALEDTComponentCreate
GDALEDTComponentH GDALEDTComponentCreate(const char *pszName, size_t nOffset, GDALExtendedDataTypeH hType)
Create a new GDALEDTComponent.
Definition: gdalmultidim.cpp:5677
OGRwkbGeometryType
OGRwkbGeometryType
List of well known binary geometry types.
Definition: ogr_core.h:346
GDALGetColorEntry
const GDALColorEntry * GDALGetColorEntry(GDALColorTableH, int)
Fetch a color entry from table.
Definition: gdalcolortable.cpp:135
GDALAsyncReaderH
void * GDALAsyncReaderH
Opaque type used for the C bindings of the C++ GDALAsyncReader class.
Definition: gdal.h:273
GDALFindDataTypeForValue
GDALDataType GDALFindDataTypeForValue(double dValue, int bComplex)
Finds the smallest data type able to support the provided value.
Definition: gdal_misc.cpp:281
GDALAttributeWriteStringArray
int GDALAttributeWriteStringArray(GDALAttributeH hAttr, CSLConstList)
Write an attribute from an array of strings.
Definition: gdalmultidim.cpp:7281
GDALGetGCPProjection
const char * GDALGetGCPProjection(GDALDatasetH)
Get output projection for GCPs.
Definition: gdaldataset.cpp:1657
GDALReadTabFile
int GDALReadTabFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for MapInfo .tab files.
Definition: gdal_misc.cpp:1761
GDALRasterIOExtraArg
Structure to pass extra arguments to RasterIO() method.
Definition: gdal.h:151
GDALExtendedDataTypeEquals
int GDALExtendedDataTypeEquals(GDALExtendedDataTypeH hFirstEDT, GDALExtendedDataTypeH hSecondEDT)
Return whether this data type is equal to another one.
Definition: gdalmultidim.cpp:5609
GDAL_GCP::dfGCPY
double dfGCPY
Y position of GCP in georeferenced space.
Definition: gdal.h:680
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:942
GDALDimensionGetDirection
const char * GDALDimensionGetDirection(GDALDimensionH hDim)
Return dimension direction.
Definition: gdalmultidim.cpp:7376
GDALGetActualBlockSize
CPLErr GDALGetActualBlockSize(GDALRasterBandH, int nXBlockOff, int nYBlockOff, int *pnXValid, int *pnYValid)
Retrieve the actual block size for a given block offset.
Definition: gdalrasterband.cpp:797
GDT_CInt16
@ GDT_CInt16
Definition: gdal.h:71
GRTT_THEMATIC
@ GRTT_THEMATIC
Definition: gdal.h:1238
GDALGetRasterColorInterpretation
GDALColorInterp GDALGetRasterColorInterpretation(GDALRasterBandH)
How should this band be interpreted as color?
Definition: gdalrasterband.cpp:1975
GDALRATDumpReadable
void GDALRATDumpReadable(GDALRasterAttributeTableH, FILE *)
Dump RAT in readable form.
Definition: gdal_rat.cpp:1159
cpl_port.h
Core portability definitions for CPL.
GDALRWFlag
GDALRWFlag
Definition: gdal.h:119
GDALReleaseAttributes
void GDALReleaseAttributes(GDALAttributeH *attributes, size_t nCount)
Free the return of GDALGroupGetAttributes() or GDALMDArrayGetAttributes()
Definition: gdalmultidim.cpp:5994
GDALSetCacheMax64
void GDALSetCacheMax64(GIntBig nBytes)
Set maximum cache memory.
Definition: gdalrasterblock.cpp:146
ogr_api.h
C API and defines for OGRFeature, OGRGeometry, and OGRDataSource related classes.
GDALEndAsyncReader
void GDALEndAsyncReader(GDALDatasetH hDS, GDALAsyncReaderH hAsynchReaderH)
End asynchronous request.
Definition: gdaldataset.cpp:3958
GDALRATFieldUsage
GDALRATFieldUsage
Field usage of raster attribute table.
Definition: gdal.h:1212
GA_Update
@ GA_Update
Definition: gdal.h:115
GDALDestroyDriverManager
void GDALDestroyDriverManager(void)
Destroy the driver manager.
Definition: gdaldrivermanager.cpp:898
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:6036
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:2733
GDT_Int16
@ GDT_Int16
Definition: gdal.h:64
GDALAttributeGetName
const char * GDALAttributeGetName(GDALAttributeH hAttr)
Return the name of the attribute.
Definition: gdalmultidim.cpp:6892
GDALPackedDMSToDec
double GDALPackedDMSToDec(double)
Convert a packed DMS value (DDDMMMSSS.SS) into decimal degrees.
Definition: gdal_misc.cpp:2349
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:6265
GDALSetProjection
CPLErr GDALSetProjection(GDALDatasetH, const char *)
Set the projection reference string for this dataset.
Definition: gdaldataset.cpp:1118
GDALGetRasterMinimum
double GDALGetRasterMinimum(GDALRasterBandH, int *pbSuccess)
Fetch the minimum value for this band.
Definition: gdalrasterband.cpp:1933
GFU_AlphaMax
@ GFU_AlphaMax
Definition: gdal.h:1230
GDALGetRasterDataType
GDALDataType GDALGetRasterDataType(GDALRasterBandH)
Fetch the pixel data type for this band.
Definition: gdalrasterband.cpp:838
GDALCreateColorRamp
void GDALCreateColorRamp(GDALColorTableH hTable, int nStartIndex, const GDALColorEntry *psStartColor, int nEndIndex, const GDALColorEntry *psEndColor)
Create color ramp.
Definition: gdalcolortable.cpp:447
GDALGetDataTypeName
const char * GDALGetDataTypeName(GDALDataType)
Get name of data type.
Definition: gdal_misc.cpp:565
GCI_YCbCr_CbBand
@ GCI_YCbCr_CbBand
Definition: gdal.h:210
GDALGetSpatialRef
OGRSpatialReferenceH GDALGetSpatialRef(GDALDatasetH)
Fetch the projection definition string for this dataset.
Definition: gdaldataset.cpp:926
GFU_MaxCount
@ GFU_MaxCount
Definition: gdal.h:1231
GDALGetRasterNoDataValue
double GDALGetRasterNoDataValue(GDALRasterBandH, int *)
Fetch the no data value for this band.
Definition: gdalrasterband.cpp:1635
GDALRasterIOExtraArg::dfYSize
double dfYSize
Definition: gdal.h:175
GPI_Gray
@ GPI_Gray
Definition: gdal.h:221
GDALRasterBandAsMDArray
GDALMDArrayH GDALRasterBandAsMDArray(GDALRasterBandH)
Return a view of this raster band as a 2D multidimensional GDALMDArray.
Definition: gdalmultidim.cpp:7480
GDALRATGetTableType
GDALRATTableType GDALRATGetTableType(GDALRasterAttributeTableH hRAT)
Get Rat Table Type.
Definition: gdal_rat.cpp:571
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:4466
GDALDatasetGetLayerByName
OGRLayerH GDALDatasetGetLayerByName(GDALDatasetH, const char *)
Fetch a layer by name.
Definition: gdaldataset.cpp:4276
GDALSetRasterNoDataValue
CPLErr GDALSetRasterNoDataValue(GDALRasterBandH, double)
Set the no data value for this band.
Definition: gdalrasterband.cpp:1703
GDALGroupGetAttributes
GDALAttributeH * GDALGroupGetAttributes(GDALGroupH hGroup, size_t *pnCount, CSLConstList papszOptions)
Return the list of attributes contained in this group.
Definition: gdalmultidim.cpp:5950
GDALSetRasterOffset
CPLErr GDALSetRasterOffset(GDALRasterBandH hBand, double dfNewOffset)
Set scaling offset.
Definition: gdalrasterband.cpp:2494
CPLErr
CPLErr
Error category.
Definition: cpl_error.h:53
GDALMDArraySetSpatialRef
int GDALMDArraySetSpatialRef(GDALMDArrayH, OGRSpatialReferenceH)
Assign a spatial reference system object to the the array.
Definition: gdalmultidim.cpp:6844
GDALWriteWorldFile
int GDALWriteWorldFile(const char *, const char *, double *)
Write ESRI world file.
Definition: gdal_misc.cpp:2116
GDALRPCInfo::dfLINE_SCALE
double dfLINE_SCALE
Definition: gdal.h:1149
GDALGetMaskBand
GDALRasterBandH GDALGetMaskBand(GDALRasterBandH hBand)
Return the mask band associated with the band.
Definition: gdalrasterband.cpp:6152
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:3158
GDALRasterIO
CPLErr GDALRasterIO(GDALRasterBandH hRBand, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, int nPixelSpace, int nLineSpace)
Read/write a region of image data for this band.
Definition: gdalrasterband.cpp:395
GDALMDArraySetScale
int GDALMDArraySetScale(GDALMDArrayH hArray, double dfScale)
Set the scale value to apply to raw values.
Definition: gdalmultidim.cpp:6528
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:874
GDALRasterIOExtraArg::dfXSize
double dfXSize
Definition: gdal.h:173
GDALGetCacheUsed
int GDALGetCacheUsed(void)
Get cache memory used.
Definition: gdalrasterblock.cpp:325
GDAL_GCP::dfGCPZ
double dfGCPZ
Elevation of GCP, or zero if not known.
Definition: gdal.h:683
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:223
GDALRPCInfo
Structure to store Rational Polynomial Coefficients / Rigorous Projection Model.
Definition: gdal.h:1142
GDALRasterIOExtraArg::dfYOff
double dfYOff
Definition: gdal.h:171
GPI_HLS
@ GPI_HLS
Definition: gdal.h:224
GDT_Byte
@ GDT_Byte
Definition: gdal.h:62
GPI_RGB
@ GPI_RGB
Definition: gdal.h:222
GDALMDArrayGetMask
GDALMDArrayH GDALMDArrayGetMask(GDALMDArrayH hArray, CSLConstList papszOptions)
Return an array that is a mask for the current array.
Definition: gdalmultidim.cpp:6774
GDALDecToDMS
const char * GDALDecToDMS(double, const char *, int)
Translate a decimal degrees value to a DMS string with hemisphere.
Definition: gdal_misc.cpp:2332
GDALDataTypeIsConversionLossy
int GDALDataTypeIsConversionLossy(GDALDataType eTypeFrom, GDALDataType eTypeTo)
Is conversion from eTypeFrom to eTypeTo potentially lossy.
Definition: gdal_misc.cpp:502
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:2194
GDALRATGetRowCount
int GDALRATGetRowCount(GDALRasterAttributeTableH)
Fetch row count.
Definition: gdal_rat.cpp:1467
GDALExtractRPCInfo
int GDALExtractRPCInfo(CSLConstList, GDALRPCInfo *)
Extract RPC info from metadata, and apply to an RPCInfo structure.
Definition: gdal_misc.cpp:3418
GDALExtendedDataTypeGetComponents
GDALEDTComponentH * GDALExtendedDataTypeGetComponents(GDALExtendedDataTypeH hEDT, size_t *pnCount)
Return the components of the data type (only valid when GetClass() == GEDTC_COMPOUND)
Definition: gdalmultidim.cpp:5633
GDALRATSetRowCount
void GDALRATSetRowCount(GDALRasterAttributeTableH, int)
Set row count.
Definition: gdal_rat.cpp:332
GDALMDArrayGetDimensions
GDALDimensionH * GDALMDArrayGetDimensions(GDALMDArrayH hArray, size_t *pnCount)
Return the dimensions of the array.
Definition: gdalmultidim.cpp:6207
CPL_RESTRICT
#define CPL_RESTRICT
restrict keyword to declare that pointers do not alias
Definition: cpl_port.h:983
GDALGetOverview
GDALRasterBandH GDALGetOverview(GDALRasterBandH, int)
Fetch overview raster band object.
Definition: gdalrasterband.cpp:2245
GDALSetMetadata
CPLErr GDALSetMetadata(GDALMajorObjectH, CSLConstList, const char *)
Set metadata.
Definition: gdalmajorobject.cpp:318
GDALDataTypeIsSigned
int GDALDataTypeIsSigned(GDALDataType)
Is data type signed?
Definition: gdal_misc.cpp:475
GDALExtendedDataTypeH
struct GDALExtendedDataTypeHS * GDALExtendedDataTypeH
Opaque type for C++ GDALExtendedDataType.
Definition: gdal.h:291
GDALRIOResampleAlg
GDALRIOResampleAlg
RasterIO() resampling method.
Definition: gdal.h:129
GDALGetDatasetDriver
GDALDriverH GDALGetDatasetDriver(GDALDatasetH)
Fetch the driver to which this dataset relates.
Definition: gdaldataset.cpp:1308
GDALSetSpatialRef
CPLErr GDALSetSpatialRef(GDALDatasetH, OGRSpatialReferenceH)
Set the spatial reference system for this dataset.
Definition: gdaldataset.cpp:1060
GDALDestroyColorTable
void GDALDestroyColorTable(GDALColorTableH)
Destroys a color table.
Definition: gdalcolortable.cpp:96
GDALGetRasterColorTable
GDALColorTableH GDALGetRasterColorTable(GDALRasterBandH)
Fetch the color table associated with band.
Definition: gdalrasterband.cpp:2066
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:6722
GDALInvGeoTransform
int GDALInvGeoTransform(double *padfGeoTransformIn, double *padfInvGeoTransformOut)
Invert Geotransform.
Definition: gdaltransformer.cpp:3790
GDALRPCInfo::dfHEIGHT_SCALE
double dfHEIGHT_SCALE
Definition: gdal.h:1153
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:2604
GCI_AlphaBand
@ GCI_AlphaBand
Definition: gdal.h:201
GDALDimensionSetIndexingVariable
int GDALDimensionSetIndexingVariable(GDALDimensionH hDim, GDALMDArrayH hArray)
Set the variable that is used to index the dimension.
Definition: gdalmultidim.cpp:7431
GDALMDArrayGetUnscaled
GDALMDArrayH GDALMDArrayGetUnscaled(GDALMDArrayH hArray)
Return an array that is the unscaled version of the current one.
Definition: gdalmultidim.cpp:6752
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:5921
GDALGroupGetName
const char * GDALGroupGetName(GDALGroupH hGroup)
Return the name of the group.
Definition: gdalmultidim.cpp:5767
GDALPaletteInterp
GDALPaletteInterp
Definition: gdal.h:220
GDALGetColorEntryAsRGB
int GDALGetColorEntryAsRGB(GDALColorTableH, int, GDALColorEntry *)
Fetch a table entry in RGB format.
Definition: gdalcolortable.cpp:184
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
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:3906
GDALMDArrayGetFullName
const char * GDALMDArrayGetFullName(GDALMDArrayH hArray)
Return array full name.
Definition: gdalmultidim.cpp:6156
GDALDatasetGetLayer
OGRLayerH GDALDatasetGetLayer(GDALDatasetH, int)
Fetch a layer by index.
Definition: gdaldataset.cpp:4247
GDALRasterIOExtraArg::nVersion
int nVersion
Definition: gdal.h:153
GRIORA_Bilinear
@ GRIORA_Bilinear
Definition: gdal.h:131
GDALCreateCopy
GDALDatasetH GDALCreateCopy(GDALDriverH, const char *, GDALDatasetH, int, CSLConstList, GDALProgressFunc, void *)
Create a copy of a dataset.
Definition: gdaldriver.cpp:1138
GDALColorEntry::c1
short c1
Definition: gdal.h:1176
OGRLayerH
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition: ogr_api.h:521
GDALLoadTabFile
int GDALLoadTabFile(const char *, double *, char **, int *, GDAL_GCP **)
Helper function for translator implementer wanting support for MapInfo .tab files.
Definition: gdal_misc.cpp:1610
GFU_BlueMin
@ GFU_BlueMin
Definition: gdal.h:1225
GDALDataTypeUnion
GDALDataType GDALDataTypeUnion(GDALDataType, GDALDataType)
Return the smallest data type that can fully express both input data types.
Definition: gdal_misc.cpp:130
GDALRasterBandH
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:261
GDALGetRasterYSize
int GDALGetRasterYSize(GDALDatasetH)
Fetch raster height in pixels.
Definition: gdaldataset.cpp:729
GDALGetGCPCount
int GDALGetGCPCount(GDALDatasetH)
Get number of GCPs.
Definition: gdaldataset.cpp:1512
GDALGetProjectionRef
const char * GDALGetProjectionRef(GDALDatasetH)
Fetch the projection definition string for this dataset.
Definition: gdaldataset.cpp:971
GDALRPCInfo::dfHEIGHT_OFF
double dfHEIGHT_OFF
Definition: gdal.h:1147
GEDTC_COMPOUND
@ GEDTC_COMPOUND
Compound data type.
Definition: gdal.h:287
GDALComposeGeoTransforms
void GDALComposeGeoTransforms(const double *padfGeoTransform1, const double *padfGeoTransform2, double *padfGeoTransformOut)
Compose two geotransforms.
Definition: gdal_misc.cpp:2708
GDALGetDefaultRAT
GDALRasterAttributeTableH GDALGetDefaultRAT(GDALRasterBandH hBand)
Fetch default Raster Attribute Table.
Definition: gdalrasterband.cpp:5838
GDALSetDefaultHistogramEx
CPLErr GDALSetDefaultHistogramEx(GDALRasterBandH hBand, double dfMin, double dfMax, int nBuckets, GUIntBig *panHistogram)
Set default histogram.
Definition: gdalrasterband.cpp:5794
GDALSwapWords
void GDALSwapWords(void *pData, int nWordSize, int nWordCount, int nWordSkip)
Byte swap words in-place.
Definition: rasterio.cpp:1816
GDALDatasetDeleteLayer
OGRErr GDALDatasetDeleteLayer(GDALDatasetH, int)
Delete the indicated layer from the datasource.
Definition: gdaldataset.cpp:4306
GDALMDArrayGetDataType
GDALExtendedDataTypeH GDALMDArrayGetDataType(GDALMDArrayH hArray)
Return the data type.
Definition: gdalmultidim.cpp:6248
GDALMDArrayGetBlockSize
GUInt64 * GDALMDArrayGetBlockSize(GDALMDArrayH hArray, size_t *pnCount)
Return the "natural" block size of the array along all dimensions.
Definition: gdalmultidim.cpp:6621
GDALDatasetH
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:258
GDALReferenceDataset
int GDALReferenceDataset(GDALDatasetH)
Add one to dataset reference count.
Definition: gdaldataset.cpp:1343
GDALCreateDriver
GDALDriverH GDALCreateDriver(void)
Create a GDALDriver.
Definition: gdaldriver.cpp:99
GDALRegenerateOverviews
CPLErr GDALRegenerateOverviews(GDALRasterBandH hSrcBand, int nOverviewCount, GDALRasterBandH *pahOverviewBands, const char *pszResampling, GDALProgressFunc pfnProgress, void *pProgressData)
Generate downsampled overviews.
Definition: overview.cpp:3093
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:6785
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:390
GDALGetRasterMaximum
double GDALGetRasterMaximum(GDALRasterBandH, int *pbSuccess)
Fetch the maximum value for this band.
Definition: gdalrasterband.cpp:1844
GDALGetAsyncStatusTypeName
const char * GDALGetAsyncStatusTypeName(GDALAsyncStatusType)
Get name of AsyncStatus data type.
Definition: gdal_misc.cpp:825
GDALGetRasterUnitType
const char * GDALGetRasterUnitType(GDALRasterBandH)
Return raster unit type.
Definition: gdalrasterband.cpp:2643
GDALRATSetLinearBinning
CPLErr GDALRATSetLinearBinning(GDALRasterAttributeTableH, double, double)
Set linear binning information.
Definition: gdal_rat.cpp:504
GFU_Green
@ GFU_Green
Definition: gdal.h:1220
GCI_MagentaBand
@ GCI_MagentaBand
Definition: gdal.h:206
GDALSetRasterColorTable
CPLErr GDALSetRasterColorTable(GDALRasterBandH, GDALColorTableH)
Set the raster color table.
Definition: gdalrasterband.cpp:2119
GDALDriverH
void * GDALDriverH
Opaque type used for the C bindings of the C++ GDALDriver class.
Definition: gdal.h:264
GDALDimensionH
struct GDALDimensionHS * GDALDimensionH
Opaque type for C++ GDALDimension.
Definition: gdal.h:301
GDALComputeRasterStatistics
CPLErr GDALComputeRasterStatistics(GDALRasterBandH, int bApproxOK, double *pdfMin, double *pdfMax, double *pdfMean, double *pdfStdDev, GDALProgressFunc pfnProgress, void *pProgressData)
Compute image statistics.
Definition: gdalrasterband.cpp:5360
GDALDatasetSetStyleTable
void GDALDatasetSetStyleTable(GDALDatasetH, OGRStyleTableH)
Set dataset style table.
Definition: gdaldataset.cpp:4656