48108 Commits

Author SHA1 Message Date
Even Rouault
e94b1acd77
[OGR provider] Complementary fix for #18596, related to adding a new field to a GeoJSON file 2018-06-05 14:26:23 +02:00
Denis Rouzaud
8ef0d1f7d9 [pyqgis] add missing install of __init__.py for modules 2018-06-05 03:25:47 -08:00
Alessandro Pasotti
e3f02eac72
Merge pull request #7012 from elpaso/python-provider
Python provider QEP 122
2018-06-05 12:51:17 +02:00
Luigi Pirelli
b2fce7364d
Merge pull request #7180 from luipir/processing_optional_value_default_in_batch_fix19115
[processing] Correct management of optional rasters in batch mode. Fixes #19115
2018-06-05 12:47:11 +02:00
nirvn
c61e4821b5 [ui] do not hide floating panel toolbars for map-only view 2018-06-05 17:06:37 +07:00
Luigi Pirelli
fa7879ade1 [processing] Correct management of optional rasters in batch mode. Fixes #19115 2018-06-05 11:53:52 +02:00
Alessandro Pasotti
73cfe04712 Add missing import QgsCsException 2018-06-05 11:48:53 +02:00
Alessandro Pasotti
b97e8351a2 Re-enable the test on travis with a fix 2018-06-05 08:44:23 +02:00
Nyall Dawson
8c689b2d36 [processing] Fix create constant raster layer modifies pixel size
Fixes #18446
2018-06-05 16:15:58 +10:00
Matthias Kuhn
d9336c24e7
Merge pull request #7176 from nyalldawson/cmp0040
Don't use old policy for CMP0040
2018-06-05 07:48:44 +02:00
Nyall Dawson
bd0ec6e4e9 Don't use old policy for CMP0040
Seems no longer required in any case
2018-06-05 14:08:30 +10:00
Nyall Dawson
b69389b650 Run clang-tidy modernization checks 2018-06-05 12:50:39 +10:00
Nyall Dawson
8f55093642 Add some missing dox 2018-06-05 10:19:13 +10:00
Nyall Dawson
2ed144ac59 Apply clang-tidy readability-avoid-const-params-in-decls fixit
Checks whether a function declaration has parameters that are
top level const.

const values in declarations do not affect the signature of a
function, so they should not be put there.
2018-06-05 10:19:13 +10:00
Nyall Dawson
e91aed6617 [processing] Force model outputs to respect constraints set by
their underlying algorithm's provider

E.g. for model outputs generated by a saga algorithm, only
sdat and shp files are valid outputs. So only give users choices
of these instead of all formats.

Also fixes temporary file names generated as part of model
execution may use formats which are not compatible with the
algorithm's provider.

Fixes #18908
2018-06-05 10:05:32 +10:00
Harrissou Sant-anna
b8565386ea Remove unnecessary space at the bottom of widgets 2018-06-05 08:41:10 +10:00
Harrissou Sant-anna
70cb120567 Remove unnecessary space at the bottom of Source tab
and do some ui cleanup
2018-06-05 08:41:10 +10:00
Even Rouault
6160e066d7
Merge pull request #7167 from rouault/gpkg_perf_improvements
[OGR provider] Performance improvements on huge GeoPackage database (fixes #18402)
2018-06-04 21:34:30 +02:00
Nyall Dawson
8307264c3b [processing][SAGA] Avoid unicode errors when parsing description files
Fixes #19062
2018-06-05 05:25:16 +10:00
Alessandro Pasotti
a8ce494529 NULL -> nullptr in sip code 2018-06-04 18:20:48 +02:00
Matthias Kuhn
ba796447ca
Merge pull request #7169 from m-kuhn/attrTableCrash19054
Fix crash when removing layer with attribute table open
2018-06-04 16:49:19 +02:00
Alessandro Pasotti
d7a6c229e3 Revert "Re-enable test that was failing on Travis"
This reverts commit c4d62ef05ff268d903b0a821b43573b161b3964c.
2018-06-04 16:24:36 +02:00
Alessandro Pasotti
4d0de09e8a Removed debug message leftover 2018-06-04 16:24:15 +02:00
Matthias Kuhn
fcb6a74d23
Fix crash when removing layer with attribute table open
Fix #19054
2018-06-04 15:57:33 +02:00
Even Rouault
2502a3376e
[OGR provider] Custom GPKG implementation of GetExtent() only needed for GDAL < 2.4 2018-06-04 15:05:51 +02:00
Matthias Kuhn
0e4b595717
Merge pull request #7168 from m-kuhn/noTrDebugMessages
Do not translate debug messages
2018-06-04 14:57:40 +02:00
Alessandro Pasotti
c4d62ef05f Re-enable test that was failing on Travis 2018-06-04 14:27:01 +02:00
Alessandro Pasotti
6ece1aa543 registerProvider now returns a bool 2018-06-04 14:26:22 +02:00
Matthias Kuhn
474809ecef
Do not translate debug messages 2018-06-04 14:24:06 +02:00
Even Rouault
4f531359ae
[OGR provider] Performance improvements on huge GeoPackage database (fixes #18402)
- Introduce an approximate feature count for GeoPackage in case there are
  at least 100,000 rows in a table.
- Add a super fast implementation of GetExtent() for GeoPackage when there
  is an RTree
- Do not require feature count when enumerating layers from the browser
2018-06-04 14:23:55 +02:00
Even Rouault
0304ec49b6
qgsstyle.cpp: change protected to private 2018-06-04 14:13:15 +02:00
Even Rouault
4af0e4410e
Merge pull request #7153 from rouault/remove_VSIReadDirRecursive1
Remove VSIReadDirRecursive1()
2018-06-04 14:11:06 +02:00
nirvn
783b6b8120 [geometry] optimize point distance to point 2018-06-04 18:31:37 +07:00
Nyall Dawson
84806b9161 [processing] Fix cannot use feature source as input for model crs or extent parameters 2018-06-04 21:30:12 +10:00
Nyall Dawson
3b2f690d26 [processing] Also add table output for raster unique values report algorithm
Allows values to be used within models
2018-06-04 21:30:12 +10:00
Alessandro Pasotti
0430a8d59c Better comment to explain why the ref needs to be incremented 2018-06-04 11:51:11 +02:00
Nyall Dawson
e5e966bb7a Fix some shellcheck warnings in astyle scripts 2018-06-04 18:50:24 +10:00
Nyall Dawson
b65ee54527 Fix incorrectly capitalized accented menu entries
Fixes #19102
2018-06-04 18:37:43 +10:00
Matthias Kuhn
36712b9ed2
Merge pull request #7118 from m-kuhn/stringCompOperators
Cast left node to text on string comparison
2018-06-04 09:25:10 +02:00
Andrea Giudiceandrea
adf5eb77cf Add vector icons to some qgs algorithms (fixes #19082) (#7149) 2018-06-04 13:32:56 +07:00
Nyall Dawson
b8ff44e63d [processing][saga] Fix error in merge vector layers
Fixes #18545
2018-06-04 15:15:46 +10:00
Nyall Dawson
1bc1790b7b [processing][SAGA] Resync kriging parameters with saga manual
And remove duplicate kriging algorithms, add tests

Fixes #18191
2018-06-04 15:05:15 +10:00
Nyall Dawson
268aa171cb [processing][saga] Fix error in raster calculator
Fixes #18751
2018-06-04 14:01:24 +10:00
Nyall Dawson
a1d46de0de [processing] Fix evaluation of vector layer references to compatible feature sources
Refs #18545
2018-06-04 13:57:06 +10:00
Nyall Dawson
433513005a [processing][SAGA] Fix missing outputs from some algorithms
Fixes #19103
2018-06-04 13:16:08 +10:00
Nyall Dawson
f6ac45a510 [processing][saga] Add unit test for reclassify values (simple) 2018-06-04 12:58:12 +10:00
Nyall Dawson
3dde95de5d [processing][SAGA] Fix broken reclassify values algorithm
Fixes #18750
2018-06-04 12:58:12 +10:00
Nyall Dawson
4b354984e8 [processing] Matrix parameter values are always 1-dimensional
Fix gui wrapper returns 2-dimensional parameters, which don't
match with the expectations of QgsProcessingParameterMatrix
2018-06-04 12:58:12 +10:00
Nyall Dawson
f85a3d6bc0 [processing][SAGA] Fix exposed output formats to include only those supported by SAGA
Refs #18908
2018-06-04 12:00:28 +10:00
Nyall Dawson
1395dc0e9c Add missing license headers 2018-06-04 11:30:32 +10:00