Statistics
| Branch: | Tag: | Revision:

qgis / src / analysis / raster / qgsrastercalcnode.cpp @ master

History | View | Annotate | Download (15.9 KB)

# Date Author Comment
71499aac 2023-06-26 07:45 AM Nyall Dawson

Fix array creation mismatched allocation function warning

7f360cbd 2023-06-12 10:42 AM Shaway

fix the memory leak of the raster calculator in the if expression

45cc5a12 2023-06-12 07:40 AM Shaway

fix Code Layout

d5405eb0 2023-06-09 11:10 AM Shaway

fix Code Layout

4e80c1f5 2023-06-09 05:04 AM Shaway

fix the memory leak of the raster calculator in the if expression

d398f9e7 2023-06-09 04:00 AM Shaway

fix the memory leak of Raster Calculator in the destructor

8a2c0e35 2023-05-20 08:19 AM Nyall Dawson

Replace QgsDebugMsg(...) with QgsDebugError(...) and ensure it
is ONLY used for error message reporting

Everything else gets bumped to QgsDebugMsg(..., >= 2)

72e94dcf 2021-10-21 06:09 AM Nyall Dawson

QString fixups

d602f77a 2021-09-07 09:48 AM Francesco Bursi

Add if() function to raster calculator (#44839)

  • start to work on new branch for conditional statement
  • adjust the layout
  • some pseudocode
  • start to design the type tFunct, that should lead to the conditional statement
  • modify the raw with a smart pointer...
179cb1d9 2021-08-17 10:00 AM Francesco Bursi

[feature] virtual raster data provider (#44195)

  • try to commit some changes in the branch
  • addedd 3 file, cmake, vrp .h and .cpp
  • updating VRP, no good results
  • try to solve some issue to the virtual raster provider
  • metadata class added, it should be developed...
19565032 2021-08-13 07:25 AM Nyall Dawson

const ALL the things

Use clang-tidy const correctness fixit to add const to all
variables which it can

e3d2dcdb 2019-11-26 09:25 AM Nyall Dawson

Fix crash in raster calculator on Windows builds

It's not safe to take the data from a vector like this, it will be
deleted as soon as the vector itself is

Fixes #32855

4263637b 2019-10-30 02:19 AM Alessandro Pasotti

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

d730c97f 2019-09-26 06:26 PM Alessandro Pasotti

Fix multiple raster calc issues

Fixes #32023 Raster calculator change sign does not work when OpenCL is on
Fixes #32025 QGIS Raster Calculator outputs nodata only rasters

Bonus: three new operators with full test coverage
- ABS
- MIN
- MAX

0c657f01 2019-09-11 03:56 PM Alessandro Pasotti

Fix raster calc OpenCL bool to float

Fixes #31193

88a96122 2019-02-27 10:21 PM Alessandro Pasotti

[opencl] Fix raster calculator operator precedence

With test

Possibly fixes #21405 (not yet sure if the user was using OpenCL)

fc996690 2019-01-22 02:13 AM Nyall Dawson

Flip sequential calls to QgsRasterBlock::isNoData/value to single
unified call

Because... speed!

b71a668a 2018-12-13 06:36 PM Alessandro Pasotti

opencl rastercalc fix int input rasters and cast to float

Cast to float all math operations because when the
input is not a float or a double opencl raises
an error regarding which override should pick.

By casting to float we are sure that the right
function will be called....

318c2461 2018-11-29 09:41 AM Alessandro Pasotti

Remove obsolete imported headers

c3b3f7e9 2018-11-28 11:02 AM Alessandro Pasotti

Fix OR operator toString representation

8b50c3e1 2018-11-28 10:32 AM Alessandro Pasotti

Remove debug code

e329fb5b 2018-11-28 10:11 AM Alessandro Pasotti

Scanline implementation

3801e9e2 2018-11-28 10:11 AM Alessandro Pasotti

Added findNodes method and tests

5e37e824 2018-07-23 04:18 AM Nyall Dawson

Apply clang-tidy modernization checks

92af1dac 2017-09-30 10:52 PM Nyall Dawson

Replace default constructors/destructors with = default

a87d352b 2017-09-26 09:02 PM Nyall Dawson

Run clang-tidy modernize-use-default-member-init to move member
initialization to headers (c++11 style)

ba64e3e5 2017-09-11 09:09 AM Nyall Dawson

Remove redundant initializations

Fixes when a member is initialized both in the header and
source to the same initial value

(via clang-tidy modernize-use-default-member-init fixit)

2e7de50b 2017-03-03 09:09 AM Denis Rouzaud

run astyle on src/*

7fdade1a 2016-08-23 03:00 PM Denis Rouzaud

remove some deprecated methods, rename QgsAnnotation::mapPositionFixed() to hasFixedMapPosition()

1a2231f1 2016-07-21 02:01 PM Nyall Dawson

Rename QGis class to Qgis, for capitalisation consistency

c628c0f4 2016-07-18 11:10 AM Nyall Dawson

Rework includes to forward declare as much as possible

Should speed up recompilation when headers change

576875e9 2015-12-15 01:24 AM Nyall Dawson

Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr

9e3183c6 2015-06-10 02:54 PM Denis Rouzaud

Revert "sort includes"

This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.

2b7d3d3c 2015-06-10 01:59 PM Denis Rouzaud

sort includes

559d7bb9 2015-06-10 01:45 PM Nyall Dawson

[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...

e1f7d330 2015-06-10 01:45 PM Nyall Dawson

[rastercalc] More robust handling of nodata in calculations

Also allow creation of QgsRasterCalcNodes which directly reference
a QgsRasterMatrix for testing.

f42f640d 2015-06-10 01:45 PM Nyall Dawson

[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

7019db88 2015-03-24 08:59 PM Jürgen Fischer

raster calculator: add logarithmic functions

0ccc07af 2015-02-23 09:48 PM Jürgen Fischer raster calculator fixes (fixes #12238)
  • GDALGetGeoTransform failures can be ignored (partly reverts 0080f9e)
  • handle quoted raster references
  • don't complain if the output file is not yet set
e4253721 2015-02-09 06:05 AM Nyall Dawson

Coverity fixes

Including a notable bug causing "mean" to be missing from merge
attributes dialog options.

9fb00653 2015-02-09 01:15 AM Jürgen Fischer

more coverity fixes

a3668f58 2015-02-07 02:31 AM Jürgen Fischer

more coverity fixes

9bbc647c 2013-06-20 11:40 PM Jürgen Fischer

identation update and fix clang 3.3 warnings

1e7b9ed0 2012-05-18 07:36 PM Jürgen Fischer

add missing copyright headers to c++ files

2edcfa66 2011-03-17 09:58 AM Marco Hugentobler

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

8586feb6 2010-12-11 10:43 PM Marco Hugentobler

[FEATURE]: AND and OR operator for raster calculator

git-svn-id: http://svn.osgeo.org/qgis/trunk@14892 c8812cc2-4d05-0410-92ff-de0c093fc19c

d2097c26 2010-11-04 12:11 PM Marco Hugentobler

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

19f0cdbc 2010-11-01 06:47 PM Marco Hugentobler

Apply patch #3178

git-svn-id: http://svn.osgeo.org/qgis/trunk@14483 c8812cc2-4d05-0410-92ff-de0c093fc19c

d1fe1448 2010-10-29 07:24 AM Jürgen Fischer

fix nightly build

git-svn-id: http://svn.osgeo.org/qgis/trunk@14445 c8812cc2-4d05-0410-92ff-de0c093fc19c

9e628254 2010-10-28 08:43 AM Marco Hugentobler

[FEATURE]: Add rastercalculator

git-svn-id: http://svn.osgeo.org/qgis/trunk@14442 c8812cc2-4d05-0410-92ff-de0c093fc19c