History | View | Annotate | Download (15.9 KB)
Fix array creation mismatched allocation function warning
fix the memory leak of the raster calculator in the if expression
fix Code Layout
fix the memory leak of Raster Calculator in the destructor
Replace QgsDebugMsg(...) with QgsDebugError(...) and ensure itis ONLY used for error message reporting
Everything else gets bumped to QgsDebugMsg(..., >= 2)
QString fixups
Add if() function to raster calculator (#44839)
[feature] virtual raster data provider (#44195)
const ALL the things
Use clang-tidy const correctness fixit to add const to allvariables which it can
Fix crash in raster calculator on Windows builds
It's not safe to take the data from a vector like this, it will bedeleted as soon as the vector itself is
Fixes #32855
Fix raster calc OpenCL < operator
Fixes #32477
also:- catch build exceptions- remove parenthesis after casting numbers- add cast to raster ref (for fabs overload)
with tests
Fix multiple raster calc issues
Fixes #32023 Raster calculator change sign does not work when OpenCL is onFixes #32025 QGIS Raster Calculator outputs nodata only rasters
Bonus: three new operators with full test coverage- ABS- MIN- MAX
Fix raster calc OpenCL bool to float
Fixes #31193
[opencl] Fix raster calculator operator precedence
With test
Possibly fixes #21405 (not yet sure if the user was using OpenCL)
Flip sequential calls to QgsRasterBlock::isNoData/value to singleunified call
Because... speed!
opencl rastercalc fix int input rasters and cast to float
Cast to float all math operations because when theinput is not a float or a double opencl raisesan error regarding which override should pick.
By casting to float we are sure that the rightfunction will be called....
Remove obsolete imported headers
Fix OR operator toString representation
Remove debug code
Scanline implementation
Added findNodes method and tests
Apply clang-tidy modernization checks
Replace default constructors/destructors with = default
Run clang-tidy modernize-use-default-member-init to move memberinitialization to headers (c++11 style)
Remove redundant initializations
Fixes when a member is initialized both in the header andsource to the same initial value
(via clang-tidy modernize-use-default-member-init fixit)
run astyle on src/*
remove some deprecated methods, rename QgsAnnotation::mapPositionFixed() to hasFixedMapPosition()
Rename QGis class to Qgis, for capitalisation consistency
Rework includes to forward declare as much as possible
Should speed up recompilation when headers change
Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr
Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
sort includes
[rastercalc] Rework raster calculator to use QGIS raster classes
...rather than reading input layers directly through GDAL.Benefits include more robust handling of nodata/data type conversions,less code duplication, also being able to take advantage of features...
[rastercalc] More robust handling of nodata in calculations
Also allow creation of QgsRasterCalcNodes which directly referencea QgsRasterMatrix for testing.
[rastercalc] Switch all internal calculations to doubles
...for more accurate calculations (fix #9081)
Also:- Add test suite for raster calculator- Fix errors with log/log10 calculation and inputs <= 0- Fix loss of nodata values in certain circumstances
raster calculator: add logarithmic functions
Coverity fixes
Including a notable bug causing "mean" to be missing from mergeattributes dialog options.
more coverity fixes
identation update and fix clang 3.3 warnings
add missing copyright headers to c++ files
Add support for unary minus in raster calculator. Fixes ticket 3627
git-svn-id: http://svn.osgeo.org/qgis/trunk@15526 c8812cc2-4d05-0410-92ff-de0c093fc19c
[FEATURE]: AND and OR operator for raster calculator
git-svn-id: http://svn.osgeo.org/qgis/trunk@14892 c8812cc2-4d05-0410-92ff-de0c093fc19c
Fix consideration of nodata values in raster calculator, code cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@14503 c8812cc2-4d05-0410-92ff-de0c093fc19c
Apply patch #3178
git-svn-id: http://svn.osgeo.org/qgis/trunk@14483 c8812cc2-4d05-0410-92ff-de0c093fc19c
fix nightly build
git-svn-id: http://svn.osgeo.org/qgis/trunk@14445 c8812cc2-4d05-0410-92ff-de0c093fc19c
[FEATURE]: Add rastercalculator
git-svn-id: http://svn.osgeo.org/qgis/trunk@14442 c8812cc2-4d05-0410-92ff-de0c093fc19c