|
static gdal::dataset_unique_ptr | blockToSingleBandMemoryDataset (int pixelWidth, int pixelHeight, const QgsRectangle &extent, void *block, GDALDataType dataType) |
| Converts an raster block to a single band GDAL memory dataset. More...
|
|
static gdal::dataset_unique_ptr | createMultiBandMemoryDataset (GDALDataType dataType, int bands, const QgsRectangle &extent, int width, int height, const QgsCoordinateReferenceSystem &crs) |
| Creates a new multi band memory dataset with given parameters. More...
|
|
static gdal::dataset_unique_ptr | createSingleBandMemoryDataset (GDALDataType dataType, const QgsRectangle &extent, int width, int height, const QgsCoordinateReferenceSystem &crs) |
| Creates a new single band memory dataset with given parameters. More...
|
|
static gdal::dataset_unique_ptr | createSingleBandTiffDataset (const QString &filename, GDALDataType dataType, const QgsRectangle &extent, int width, int height, const QgsCoordinateReferenceSystem &crs) |
| Creates a new single band TIFF dataset with given parameters. More...
|
|
static QString | helpCreationOptionsFormat (const QString &format) |
| Gets creation options metadata for a given format. More...
|
|
static gdal::dataset_unique_ptr | imageToMemoryDataset (const QImage &image) |
| Converts an image to a GDAL memory dataset by borrowing image data. More...
|
|
static QStringList | multiLayerFileExtensions () |
| Returns a list of file extensions which potentially contain multiple layers representing GDAL raster or vector layers. More...
|
|
static char ** | papszFromStringList (const QStringList &list) |
| Helper function. More...
|
|
static bool | pathIsCheapToOpen (const QString &path, int smallFileSizeLimit=50000) |
| Returns true if the dataset at the specified path is considered "cheap" to open. More...
|
|
static QImage | resampleImage (const QImage &image, QSize outputSize, GDALRIOResampleAlg resampleAlg) |
| Resamples a QImage image using GDAL resampler. More...
|
|
static bool | resampleSingleBandRaster (GDALDatasetH hSrcDS, GDALDatasetH hDstDS, GDALResampleAlg resampleAlg, const char *pszCoordinateOperation) |
| Resamples a single band raster to the destination dataset with different resolution (and possibly with different CRS). More...
|
|
static GDALDatasetH | rpcAwareAutoCreateWarpedVrt (GDALDatasetH hSrcDS, const char *pszSrcWKT, const char *pszDstWKT, GDALResampleAlg eResampleAlg, double dfMaxError, const GDALWarpOptions *psOptionsIn) |
| This is a copy of GDALAutoCreateWarpedVRT optimized for imagery using RPC georeferencing that also sets RPC_HEIGHT in GDALCreateGenImgProjTransformer2 based on HEIGHT_OFF. More...
|
|
static void * | rpcAwareCreateTransformer (GDALDatasetH hSrcDS, GDALDatasetH hDstDS=nullptr, char **papszOptions=nullptr) |
| This is a wrapper around GDALCreateGenImgProjTransformer2() that takes into account RPC georeferencing (it sets RPC_HEIGHT in GDALCreateGenImgProjTransformer2 based on HEIGHT_OFF). More...
|
|
static void | setupProxy () |
| Sets the gdal proxy variables. More...
|
|
static bool | supportsRasterCreate (GDALDriverH driver) |
| Reads whether a driver supports GDALCreate() for raster purposes. More...
|
|
static QString | validateCreationOptionsFormat (const QStringList &createOptions, const QString &format) |
| Validates creation options for a given format, regardless of layer. More...
|
|
static bool | vrtMatchesLayerType (const QString &vrtPath, QgsMapLayerType type) |
| Returns true if the VRT file at the specified path is a VRT matching the given layer type. More...
|
|