52266 Commits

Author SHA1 Message Date
Alessandro Pasotti
81723586f5 Update reference hashes for calculator processing test 2018-11-28 22:43:28 +01:00
Alessandro Pasotti
55017d7800 Fix rounding error while calculating output raster dimensions
This was creating artifacts in some situations (missing line
in the middle).
2018-11-28 14:46:21 +01:00
Alessandro Pasotti
e01cb7c46f Fix docstring for findNodes 2018-11-28 11:07:33 +01:00
Alessandro Pasotti
c3b3f7e93e Fix OR operator toString representation 2018-11-28 11:02:39 +01:00
Alessandro Pasotti
4140960208 Fix build warning 2018-11-28 10:57:03 +01:00
Alessandro Pasotti
9c55e451bc Remove debug code and improve comments 2018-11-28 10:33:50 +01:00
Alessandro Pasotti
8b50c3e1b2 Remove debug code 2018-11-28 10:32:34 +01:00
Alessandro Pasotti
51821e926d Drop std:: prefix from calculator operators 2018-11-28 10:15:21 +01:00
Alessandro Pasotti
e329fb5b97 Scanline implementation 2018-11-28 10:11:33 +01:00
Alessandro Pasotti
10517c8932 Extended message in progress dialog + removed unused cast 2018-11-28 10:11:22 +01:00
Alessandro Pasotti
3801e9e28b Added findNodes method and tests 2018-11-28 10:11:09 +01:00
Alessandro Pasotti
e2a2aecc8a
Merge pull request #8550 from elpaso/bugfix-20583-19760-raster-calculator
Raster calculator crash and hang fixes. Fixes #20583 #19760
2018-11-28 08:11:03 +01:00
Nyall Dawson
c5549bea48 Update test mask 2018-11-28 08:27:22 +10:00
Juergen E. Fischer
60ea432cbc fix windows build (partly reverts 1a199d095) 2018-11-27 23:16:03 +01:00
Juergen E. Fischer
06312f0ec2 update v2 header guards 2018-11-27 22:05:22 +01:00
Denis Rouzaud
6e7d56c26d
fix building without gui (#8561) 2018-11-27 15:25:35 -04:00
Rifa'i M. Hanif
a6d23449bc set user profile menu object name 2018-11-28 03:39:33 +10:00
Luigi Pirelli
42e30b6524
Merge pull request #8557 from juanmpd/patch-1
Update Grass7Utils.py. Fixes #20632 #20502
2018-11-27 15:14:57 +01:00
juanmpd
31f3f69d3c
Update Grass7Utils.py 2018-11-27 13:33:15 +01:00
Alessandro Pasotti
b3ed482bc8 Add check for int overflow on 32 bit systems 2018-11-27 11:37:02 +01:00
juanmpd
9b61eb8b71
Update Grass7Utils.py
Related to https://issues.qgis.org/issues/20632
This seems to solve this issue, but I don't really know if this change may be introducing some collateral effect.
It should be revised by someone with good knowledge of this piece of code.
2018-11-27 10:17:02 +01:00
Nyall Dawson
6cc41a9474 Remove an incorrect /Transfer/ annotation, add a missing /Transfer/ annotation 2018-11-27 19:07:06 +10:00
Nyall Dawson
2a03d2b210 Safer memory management 2018-11-27 19:07:06 +10:00
Nyall Dawson
1a199d0952 Use unique_ptr for owned pointer 2018-11-27 19:07:06 +10:00
Nyall Dawson
7ef6520160 [hig] Capitalization 2018-11-27 15:02:23 +10:00
Nyall Dawson
baf2a0fdf0 [hig] Capitalization, improve dialog titles 2018-11-27 13:18:21 +10:00
Nyall Dawson
f595d53d0a Negative indices count from back of linestring 2018-11-27 09:29:13 +10:00
Nyall Dawson
1e5479964f [FEATURE][API] Add some nice PyQGIS methods and exceptions to QgsLineString
- len(QgsCurve) returns number of points in curve
- raise IndexErrors when calling pointN, xAt, yAt, zAt, mAt, setXAt, setYAt,
setMAt, setZAt with invalid vertex indices
- Add [] getter for retrieving specific vertices, eg. ls[0] returns QgsPoint(...)
- Add [] setter for setting specific (existing) vertices, e.g. ls[1] = QgsPoint(1,2)
- Add del support for removing vertices, e.g. del ls[1] removes the second vertex
2018-11-27 09:29:13 +10:00
swiss-knight
b5ad33f639 Add ACCEPT_USE_OF_DEPRECATED_PROJ_API_H macro for proj_api.h to work with new release of proj4.
(cherry picked from commit 6a7e951442d4f4ce57cb7816d9a4e513c4415fba)
2018-11-27 08:44:42 +10:00
Juergen E. Fischer
c2f16cfc68 osgeo4w: fix grass plugin installation
(cherry picked from commit ec5a3b42b87e304690e241bca38d56870851fd10)
2018-11-26 23:16:14 +01:00
Juergen E. Fischer
6033c7439c osgeo4w: still upload build log when tests are skipped 2018-11-26 23:16:04 +01:00
Alessandro Pasotti
d3d18050a0 Re-add the progress bar to the calculator
Fixes #20583 - Raster calculator freezes the GUI with big rasters

... even if it is frozen while reding the raster,
at least it allows to abort the process later
2018-11-26 15:54:02 +01:00
Alessandro Pasotti
da5a171377 [gdal] Fix an int overflow issue with raster block read
Fixes #19760 - Raster calculator crashes QGIS 3

.. and probably more, but this is one of the greediest
piece of code because it reads the whole raster to memory.
2018-11-26 15:54:02 +01:00
nirvn
4d5edb2380 [processing] Use MultiPolygon as output wkb type for multi ring buffer (constant) 2018-11-26 17:17:52 +07:00
Nyall Dawson
1072ebb621 [browser] Add API to access the drive data items 2018-11-26 18:20:08 +10:00
nirvn
572664c787 [processing] Fix negative distance value wrongly prohibited for multi ring buffer (constant) 2018-11-26 15:08:44 +07:00
Nyall Dawson
0e760997e0 Also prompt to save projects with no layers, but changes
Because if a user wants a "layout only" project, we should still
give them unsaved changes warnings!
2018-11-26 17:11:54 +10:00
Nyall Dawson
64bd9e5a5e [processing] Fix traceback when modeller parameter invalid value is detected 2018-11-26 16:41:44 +10:00
Harrissou Sant-anna
72fdda7630 Deactivate help button for SAGA algorithms
to avoid user frustration because no help is provided in user manual (simply listing parameters and options already shown in GUI can't be called a help)
2018-11-26 11:59:10 +10:00
Faneva Andriamiadantsoa
7a9ba25e80 [FEATURE] Add dX, dY and residual on GCP Points (#8513)
* add dX, dY and residual on GCP Points
* add option to automatically save GCP Points in the raster-modified path
2018-11-26 10:44:55 +10:00
Juergen E. Fischer
4c3e43bd21 fix link error on windows
(cherry picked from commit 22034aa0704dde196fa18f9f7baa901834499b37)
2018-11-25 13:38:25 +01:00
Alessandro Pasotti
697e7044f5
Merge pull request #8530 from elpaso/bugfix-20591-dissolve-show-error
[processing] Show error when dissolve fails
2018-11-23 23:24:22 +01:00
Alessandro Pasotti
eb05f0a272 Translate debug message 2018-11-23 14:03:44 +01:00
rldhont
0e5718d2ef [Server][WFS] Null field value in GML has to be empty string 2018-11-23 13:47:27 +01:00
Luigi Pirelli
f94d08d330
Merge pull request #8531 from Gustry/saga
fix nodata parameter in saga
2018-11-23 13:43:37 +01:00
Alessandro Pasotti
7cec165cc9 Push debug message to console 2018-11-23 12:24:14 +01:00
Juergen E. Fischer
a6432c7581 debian packaging: include 3d bindings 2018-11-23 11:13:44 +01:00
Nyall Dawson
2c425c7bf0 Fix unit test 2018-11-23 20:32:16 +11:00
Nyall Dawson
0e928e8191 [processing] Correctly set parent widgets for algorithm dialogs
to avoid dialogs immediately going out of scope and being garbage
collected
2018-11-23 20:32:16 +11:00
Nyall Dawson
2617fd56f7 Fix context going out of scope 2018-11-23 20:32:16 +11:00