44 static bool supportsRasterCreate( GDALDriverH driver );
74 static bool resampleSingleBandRaster(
GDALDatasetH hSrcDS,
GDALDatasetH hDstDS, GDALResampleAlg resampleAlg,
const char *pszCoordinateOperation );
87 static bool resampleSingleBandRaster(
GDALDatasetH hSrcDS,
89 GDALResampleAlg resampleAlg,
97 static QImage resampleImage(
const QImage &image, QSize outputSize, GDALRIOResampleAlg resampleAlg );
103 static QString helpCreationOptionsFormat(
const QString &format );
109 static QString validateCreationOptionsFormat(
const QStringList &createOptions,
const QString &format );
115 static char **papszFromStringList(
const QStringList &list );
164 const char *pszSrcWKT,
165 const char *pszDstWKT,
166 GDALResampleAlg eResampleAlg,
168 const GDALWarpOptions *psOptionsIn );
178 static void *rpcAwareCreateTransformer(
GDALDatasetH hSrcDS,
GDALDatasetH hDstDS =
nullptr,
char **papszOptions =
nullptr );
185 static GDALDataType gdalDataTypeFromQgisDataType(
Qgis::DataType dataType );
194#ifndef QT_NO_NETWORKPROXY
196 static void setupProxy();
213 static bool pathIsCheapToOpen(
const QString &path,
int smallFileSizeLimit = 50000 );
221 static QStringList multiLayerFileExtensions();
229 static bool vrtMatchesLayerType(
const QString &vrtPath,
Qgis::LayerType type );
231 friend class TestQgsGdalUtils;
DataType
Raster data types.
LayerType
Types of layers that can be added to a map.
This class represents a coordinate reference system (CRS).
Utilities for working with GDAL.
A class to represent a 2D point.
ResamplingMethod
Resampling method for provider-level resampling.
A rectangle specified with double values.
std::unique_ptr< std::remove_pointer< GDALDatasetH >::type, GDALDatasetCloser > dataset_unique_ptr
Scoped GDAL dataset.
const QgsCoordinateReferenceSystem & crs