#include <omggdal.h>
Inheritance diagram for OmgGdal:
Definition at line 52 of file omggdal.h.
Public Types | |
enum | FileType { GeoTiff, ArcInfoAscii } |
Signals | |
void | error (QString theError) |
void | updateProgress (int theProgress, int theMaximum) |
Public Member Functions | |
OmgGdal () | |
~OmgGdal () | |
const QString | getWorldFile (const QString theFileName) |
const QString | getAsciiHeader (const QString theFileName) |
const bool | convert (const QString theInputFile, const QString theOutputFileName, const FileType theOutputFileType) |
void | buildSupportedRasterFileFilter (QString &theFileFiltersString) |
const QString | contour (const QString theInputFile) |
void | showProgress (int theProgress, int theMaximum) |
void | writeImage (QString theInputFileString, QString theOutputFileString, int theWidth, int theHeight) |
const bool | makeLegend (const QString theOutputFileName, const int theWidth) |
const bool | gdal2gdal (const QString theFileName, const QString theOutputFileName, const QString theFormat) |
const bool | gdal2Tiff (const QString theFileName, const QString theOutputFileName) |
const bool | gdal2Ascii (const QString theFileName, const QString theOutputFileName) |
Static Public Member Functions | |
static bool | isValidGdalFile (const QString theFilename) |
static bool | isValidGdalProj (const QString theFilename) |
Private Member Functions | |
void | calculateStats (BandStats *theBandStats, GDALDataset *gdalDataset) |
|
|
|
Definition at line 110 of file omggdal.cpp. |
|
Definition at line 117 of file omggdal.cpp. |
|
Get a list of supported GDAL datatype file filters. THis method was copied over from QGIS QgsRasterLayer
Definition at line 211 of file omggdal.cpp. Referenced by OmgGdalConverter::OmgGdalConverter(), and OmgGdalWarp::OmgGdalWarp(). |
|
Calculate image statistics Definition at line 664 of file omggdal.cpp. References error(). |
|
Create contour lines from probability surface Only the first raster band will be contoured.Contours are fixed at 10 unit increments. This method is based on the GDAL apps/gdal_contour.cpp sources
Definition at line 386 of file omggdal.cpp. References error(). Referenced by OmgGdalRasterContour::on_pbnProcess_clicked(). |
|
A Qt style wrapper for gdal to convert from one file format to another.
Definition at line 490 of file omggdal.cpp. References ArcInfoAscii, error(), gdal2Ascii(), gdal2Tiff(), and GeoTiff. Referenced by OmgGdalConverter::on_pbnProcess_clicked(). |
Here is the call graph for this function:
|
Referenced by calculateStats(), contour(), convert(), and gdal2gdal(). |
|
Definition at line 583 of file omggdal.cpp. References gdal2gdal(). Referenced by convert(). |
Here is the call graph for this function:
|
Convert a gdal raster to another gdal raster format.
Definition at line 527 of file omggdal.cpp. References error(), and progressCallback(). Referenced by gdal2Ascii(), and gdal2Tiff(). |
Here is the call graph for this function:
|
Definition at line 576 of file omggdal.cpp. References gdal2gdal(). Referenced by convert(). |
Here is the call graph for this function:
|
Definition at line 150 of file omggdal.cpp. Referenced by OmgRasterThreshold::accept(). |
|
Definition at line 121 of file omggdal.cpp. |
|
A simple test to see if a file is a valid gdal raster.
Definition at line 602 of file omggdal.cpp. Referenced by Omgui::traverseDirectories(). |
|
A simple test to see if a gdal raster has a valid projection
Definition at line 641 of file omggdal.cpp. Referenced by Omgui::traverseDirectories(). |
|
This method will return a pixmap legend representation for the pseudocolor ramp used.
Definition at line 806 of file omggdal.cpp. Referenced by OmgModel::postProcess(). |
|
Call the emitter a progress signal. We need this level of indirection to support gdal style call backs.
Definition at line 595 of file omggdal.cpp. References updateProgress(). Referenced by progressCallback(). |
|
Emit a progress signal. should only ever be called using the showProgress method so we can properly support gdal style callbacks
Referenced by showProgress(). |
|
Write a pseudocolour PNG out with user specified size.
Definition at line 765 of file omggdal.cpp. Referenced by OmgRasterThreshold::accept(), main(), and OmgModel::postProcess(). |