| 
    QGIS API Documentation
    3.14.0-Pi (9f7028fd23)
    
   | 
 
 
 
 
Go to the documentation of this file.
   25 #include <cpl_string.h> 
   27 #include "qgis_analysis.h" 
  140     double calculateKernelValue( 
double distance, 
double bandwidth, 
KernelShape shape, 
OutputValues outputType ) 
const;
 
  142     double uniformKernel( 
double distance, 
double bandwidth, 
OutputValues outputType ) 
const;
 
  144     double quarticKernel( 
double distance, 
double bandwidth, 
OutputValues outputType ) 
const;
 
  146     double triweightKernel( 
double distance, 
double bandwidth, 
OutputValues outputType ) 
const;
 
  148     double epanechnikovKernel( 
double distance, 
double bandwidth, 
OutputValues outputType ) 
const;
 
  150     double triangularKernel( 
double distance, 
double bandwidth, 
OutputValues outputType ) 
const;
 
  157     QString mOutputFormat;
 
  172     GDALRasterBandH mRasterBandH;
 
  175     bool createEmptyLayer( GDALDriverH driver, 
const QgsRectangle &bounds, 
int rows, 
int columns ) 
const;
 
  176     int radiusSizeInPixels( 
double radius ) 
const;
 
  
QString weightField
Field name for weighting field, or empty if not using weights.
 
@ KernelEpanechnikov
Epanechnikov kernel.
 
QgsKernelDensityEstimation::OutputValues outputValues
Type of output value.
 
@ KernelTriangular
Triangular kernel.
 
@ InvalidParameters
Input parameters were not valid.
 
double pixelSize
Size of pixel in output file.
 
@ KernelUniform
Uniform (flat) kernel.
 
QgsKernelDensityEstimation::KernelShape shape
Kernel shape.
 
@ Success
Operation completed successfully.
 
@ DriverError
Could not open the driver for the specified format.
 
std::unique_ptr< std::remove_pointer< GDALDatasetH >::type, GDALDatasetCloser > dataset_unique_ptr
Scoped GDAL dataset.
 
@ RasterIoError
Error writing to raster.
 
double radius
Fixed radius, in map units.
 
Result
Result of operation.
 
@ OutputScaled
Output mathematically correct scaled values.
 
KernelShape
Kernel shape type.
 
double decayRatio
Decay ratio (Triangular kernels only)
 
QString radiusField
Field for radius, or empty if using a fixed radius.
 
@ FileCreationError
Error creating output file.
 
OutputValues
Output values type.
 
@ KernelTriweight
Triweight kernel.