48432 Commits

Author SHA1 Message Date
Nyall Dawson
494f7bcde1 Fix double clear actions sometimes show in spin boxes
Fixes #19178
2018-06-13 19:23:25 +10:00
Stéphane Brunner
dab4437780
Merge pull request #7208 from arnaud-morvan/wfs_srs_multilayer
[server] Fix BBOX SRS in WFS GetFeature POST with two queries
2018-06-13 11:15:48 +02:00
Nyall Dawson
59938c83cc [processing] Fix Python representation of matrix parameter values with null entries 2018-06-13 14:54:40 +10:00
Nyall Dawson
0da30699a5 [processing] Add unit tests for reclassify using nulls 2018-06-13 14:54:40 +10:00
Nyall Dawson
7c1dcfabcb Support infinite ranges for null class boundaries 2018-06-13 14:54:40 +10:00
Nyall Dawson
2320a043e2 Fix unit test 2018-06-13 14:54:40 +10:00
Nyall Dawson
1a226e6cd3 Report warnings when class boundaries overlap 2018-06-13 14:54:40 +10:00
Nyall Dawson
6b24d8c6d7 [processing] Restore window geometry for fixed table editor dialog 2018-06-13 14:54:40 +10:00
Nyall Dawson
0f0a7dc64a Add QgsRasterRange::asText for a text representation of a range 2018-06-13 14:54:40 +10:00
Nyall Dawson
f934c5c09a Add overlaps test to QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
eec2f47cb8 Remove a duplicate test 2018-06-13 14:54:40 +10:00
Nyall Dawson
dcd872ba15 Use default raster iterator tile size 2018-06-13 14:54:40 +10:00
Nyall Dawson
e45958eabe Move more raster block methods to header for better compiler optimisation 2018-06-13 14:54:40 +10:00
Nyall Dawson
fe863cb1f2 Unit tests for reclassification with data types 2018-06-13 14:54:40 +10:00
Nyall Dawson
a62a2bc7ce Expose choice of raster data type for reclassify algs 2018-06-13 14:54:40 +10:00
Nyall Dawson
b26957e41f Throw exception when raster output could not be created 2018-06-13 14:54:40 +10:00
Nyall Dawson
85d895d0e3 Fix cancelation support for reclassify algs 2018-06-13 14:54:40 +10:00
Nyall Dawson
d7a37fa3eb Throw exception when invalid band number specified 2018-06-13 14:54:40 +10:00
Nyall Dawson
50c28e416d Fix typo 2018-06-13 14:54:40 +10:00
Nyall Dawson
81d5a2d87e Throw exception for invalid table sizes 2018-06-13 14:54:40 +10:00
Nyall Dawson
82029f9cc8 Allow some frequently used methods to be inlined 2018-06-13 14:54:40 +10:00
Nyall Dawson
9be729321a Minor fixes 2018-06-13 14:54:40 +10:00
Nyall Dawson
443852270d Remove unused member 2018-06-13 14:54:40 +10:00
Nyall Dawson
79c907bf3e Add unique_ptr variant to QgsRasterIterator::readNextRasterPart 2018-06-13 14:54:40 +10:00
Nyall Dawson
dc77c59a45 Move body of reclassifyValue to header so it can be optimised 2018-06-13 14:54:40 +10:00
Nyall Dawson
a534286c89 Since 3.4->3.2 2018-06-13 14:54:40 +10:00
Nyall Dawson
2c2100b9ad More Travis debugging 2018-06-13 14:54:40 +10:00
Nyall Dawson
88669edec9 Try to debug Travis test failure 2018-06-13 14:54:40 +10:00
Nyall Dawson
7a157837cb Add tests for processing reclassification algorithms 2018-06-13 14:54:40 +10:00
Nyall Dawson
87290734b2 Unit tests for reclassification utils 2018-06-13 14:54:40 +10:00
Nyall Dawson
c5966b4777 Add typeinfo for RasterClass 2018-06-13 14:54:40 +10:00
Nyall Dawson
3ca9618cef Formatting 2018-06-13 14:54:40 +10:00
Nyall Dawson
059f343903 Add missing files 2018-06-13 14:54:40 +10:00
Nyall Dawson
dafa384317 Expose choice of how to handle out-of-class values 2018-06-13 14:54:40 +10:00
Nyall Dawson
18ddc4ec72 Expose choice of bounds handling during reclassification 2018-06-13 14:54:40 +10:00
Nyall Dawson
f0f5211ff5 Add reclassify by table algorithm 2018-06-13 14:54:40 +10:00
Nyall Dawson
3c8f80d1e6 Unit tests for list based contains 2018-06-13 14:54:40 +10:00
Nyall Dawson
a69274ac6d Add contains check to QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
d435a7a0fb Add bounds type handling to QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
efb44ad8e6 Fix equality test for QgsRasterRange when min/max is nan 2018-06-13 14:54:40 +10:00
Nyall Dawson
e14862e3fe Tests for QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
a2042a4ace Expose a method to Python 2018-06-13 14:54:40 +10:00
Nyall Dawson
0ab63274f6 Documentation for QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
ef81f3c5c6 [FEATURE] Native reclassify raster algorithms
Adds two new native QGIS raster reclassification algorithms:

- Reclassify by layer: reclassifies a raster using the ranges
specified via min/max/value fields from a vector table

- Reclassify by table: reclassifies a raster using a fixed
table entered by users in the algorithm dialog

Sponsored by SMEC/SJ
2018-06-13 14:54:40 +10:00
Alessandro Pasotti
4d3ff9a5c7
Merge pull request #7227 from elpaso/locale-make-overrideable
Use default QLocale instead of system
2018-06-12 19:19:36 +02:00
Alessandro Pasotti
e9520311fb Use default QLocale instead of system
no effect for now, but it makes the locale override
possible through QLocale::setDefault()
2018-06-12 15:19:24 +02:00
Alessandro Pasotti
dc651b6314
Merge pull request #7220 from elpaso/bugfix-19096-DD-symbol-preview
[bugfix] Clear all DD props before creating symbol preview
2018-06-12 11:51:06 +02:00
nirvn
f1397f8439 [processing] fix geometry by expression algorithm geometryless input 2018-06-12 19:02:34 +10:00
Alessandro Pasotti
4e37f381de
Merge pull request #7188 from elpaso/locale-formatting
[bugfix] Fix double precision I/O in form widgets
2018-06-12 08:32:52 +02:00
Denis Rouzaud
e899849def
Merge pull request #7199 from 3nids/vertex_tool
vertex tool fixes
2018-06-11 19:12:15 -08:00