52322 Commits

Author SHA1 Message Date
Nyall Dawson
583b602e76 [processing] Fix hasGeometry() method when output is a geometry-less vector table
From the dox for QgsProcessing.TypeVector: "When used for a sink this indicates
the sink has no geometry.". If an algorithm is using this value to indicate
"maybe has geometry" for an output, then that algorithm is incorrect and
should be using TypeVectorAnyGeometry instead.
2018-12-03 18:11:24 +10:00
Luigi Pirelli
e1b3524b5d
Merge pull request #8443 from NaturalGIS/fix_saga_point_distances
fix the SAGA Points Distances tool
2018-12-02 23:36:38 +01:00
Alessandro Pasotti
9b9881d3da
Merge pull request #8581 from elpaso/bugfix-20682-form-toggle-editing
[attributeform] Do not reset feature on editing toggled
2018-12-01 09:43:05 +01:00
Alessandro Pasotti
dd309ccbe5 [attributeform] Do not reset feature on editing toggled
... just reset values

Fixes #20682 - form toggle editing
2018-11-30 21:14:26 +01:00
Juergen E. Fischer
d9a70d084b INSTALL: add note about git core.filemode on windows (superceeds PR#8578)
(oci-devel now dependency of qgis-dev-deps in OSGeo4W)
2018-11-30 19:44:27 +01:00
Alessandro Pasotti
fbcfe0e992
Merge pull request #8579 from elpaso/opencl-2
[opencl] Support for platforms > 1.1
2018-11-30 18:25:10 +01:00
Alessandro Pasotti
13eca562f6 Fix build warning again (on debian opencl headers do not support 2.2) 2018-11-30 17:22:35 +01:00
Alessandro Pasotti
a471934e56 Fix build warning and cl-std for 2.x builds 2018-11-30 16:14:28 +01:00
Alessandro Pasotti
e5b8645953 Remove TODO comment because it's now done 2018-11-30 13:58:19 +01:00
Alessandro Pasotti
6176159a00 [opencl] Support for platforms > 1.1 2018-11-30 13:41:35 +01:00
Alessandro Pasotti
0af1ce40a8
Merge pull request #8571 from elpaso/bugfix-20601-rastercalc-duplicated-layer-names
Fix rastercalc duplicated layer names
2018-11-30 10:17:38 +01:00
volaya
e546129f5c [processing] fixed update of MultipleInputPanel after alg is run
Fixes #20670
2018-11-30 09:17:07 +01:00
Alessandro Pasotti
50e5414232 Coding style and SIP_DEPRECATED 2018-11-30 09:03:28 +01:00
Nyall Dawson
3a66b92522 [processing] Fix crash when running model through modeler dialog
Fixes #20676
2018-11-30 10:02:52 +10:00
stra2da
0e4b0980d8 first example deleted, cause it is for combine function 2018-11-30 07:39:57 +10:00
Denis Rouzaud
dde309439c
Merge pull request #8560 from 3nids/locator_context
Add context menu for locator filter results
2018-11-29 15:28:30 -04:00
Nyall Dawson
7c43bcda76 Add new "allowVersionCheck" setting
If true, users may control whether the version check is enabled
or disabled through the QGIS settings dialog. (The default
check behavior is determined by the existing 'checkVersion' setting).

If false, no version checking will be performed AND users will NOT
have an option to enable this check in the settings dialog.

This setting is intended for use in enterprise installs where QGIS version
management is handled centrally.
2018-11-30 05:03:58 +10:00
Nyall Dawson
59d2c5301f [processing] Fix exception when parameter metadata is set to extend inbuilt wrapper type 2018-11-30 05:02:59 +10:00
Nyall Dawson
d72c4d001f [processing] Allow parameter metadata to set the number of decimal places
to show in numeric/distance widgets

E.g. to only show 2 decimal places:

  # only show two decimal places in parameter's widgets, not 6:
  param.setMetadata( {'widget_wrapper':
    { 'decimals': 2 }
  })
2018-11-30 05:02:59 +10:00
Denis Rouzaud
157c8f4987 more doc 2018-11-29 14:28:14 -04:00
Alessandro Pasotti
1672d434ce Raster calc: refresh layers list if a layer is renamed or added/removed
Fixes #20601 - bug: Raster calculator produces empty results layer and no error message if input layer is one that has been renamed in QGIS layers panel
2018-11-29 18:30:01 +01:00
Denis Rouzaud
c13b419d21 fix python bindings 2018-11-29 12:50:48 -04:00
Blottiere Paul
b03d8a7f0e
Merge pull request #8551 from pblottiere/bugfix_wms
[server] OGC WMS 1.3.0
2018-11-29 16:36:37 +00:00
Denis Rouzaud
e03537a4cf fix typo 2018-11-29 08:27:15 -04:00
Alessandro Pasotti
137361b968
Merge pull request #8566 from anitagraser/master
updated splash to zanzibar
2018-11-29 13:20:18 +01:00
Alessandro Pasotti
f93af56fd6
Merge pull request #8570 from AlisterH/ticket20665
Expression calculator: clarify documentation for x_at() and y_at() (addresses #20665)
2018-11-29 13:19:59 +01:00
Denis Rouzaud
f24daa2b69 allow to use icons too 2018-11-29 08:15:12 -04:00
Denis Rouzaud
d272f3cf2a do not use qaction in the result, build context menu in the widget 2018-11-29 08:02:37 -04:00
Blottiere Paul
51a27b31b1 Update tests 2018-11-29 11:49:58 +00:00
Alessandro Pasotti
49da1c3be9 Return a vector instead of a list and deprecate rasterEntries 2018-11-29 12:46:30 +01:00
Alessandro Pasotti
80c12b590a Extend documentation 2018-11-29 12:35:09 +01:00
Alessandro Pasotti
18854dc7b6 Do not add duplicates in raster calc layers list
Related to #20601
2018-11-29 12:26:57 +01:00
Alister Hood
5256611169 Expression calculator: clarify documentation for x_at() and y_at() 2018-11-29 23:26:43 +13:00
Blottiere Paul
ce0d76a51d Remove qgis address from schemaLocation 2018-11-29 09:22:26 +00:00
Alessandro Pasotti
318c2461f3 Remove obsolete imported headers 2018-11-29 09:41:51 +01:00
Alessandro Pasotti
0fde410a58
Merge pull request #8564 from elpaso/rastercalculator-fast-track
Rastercalculator memory efficient track
2018-11-29 09:32:24 +01:00
Alessandro Pasotti
88d962ff6c
Merge pull request #8565 from elpaso/docker-testing-env-fixes
Docker testing env minor fixes and improvements
2018-11-29 09:12:08 +01:00
Nyall Dawson
f10b62c380 [processing] Fix crash on closing batch processing dialog
Refs #20650
2018-11-29 10:57:07 +10:00
Nyall Dawson
d207251251 [processing] Fix run as batch mode doesn't execute
Fixes #20650
2018-11-29 10:57:07 +10:00
Alessandro Pasotti
23a4fb6e70
Merge pull request #8567 from JamesShaeffer/bugfix-19959
[Bugfix] Fixes #19959 -  "Handle Bad Layers" dialog message text unclear
2018-11-28 23:49:03 +01:00
Alessandro Pasotti
81723586f5 Update reference hashes for calculator processing test 2018-11-28 22:43:28 +01:00
James Shaeffer
38df74c569 Updated the message for the 'unhandled layers' dialogue 2018-11-28 14:01:59 -07:00
Anita Graser
8d75371c68
updated splash to zanzibar 2018-11-28 21:01:27 +01:00
Alessandro Pasotti
52eeabae2d Less verbose output and import PyQt from qgis module 2018-11-28 17:14:17 +01:00
Alessandro Pasotti
6dab714e03 Fix ini file creation 2018-11-28 17:13:45 +01:00
nirvn
cdda581819 [processing] Add test & adjust handling of negative distance value
for multi ring (constant) algorithm
2018-11-28 22:47:39 +07: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
Denis Rouzaud
c48a706e49 use int as IDs to recognize context menu entries 2018-11-28 08:34:09 -04:00
Denis Rouzaud
91736fd9f6 fix doc 2018-11-28 07:46:24 -04:00
Denis Rouzaud
50d29b959c complete roleNames 2018-11-28 07:46:24 -04:00