14261 Commits

Author SHA1 Message Date
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
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
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
Denis Rouzaud
e03537a4cf fix typo 2018-11-29 08:27:15 -04: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
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
Alessandro Pasotti
0fde410a58
Merge pull request #8564 from elpaso/rastercalculator-fast-track
Rastercalculator memory efficient track
2018-11-29 09:32:24 +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
81723586f5 Update reference hashes for calculator processing test 2018-11-28 22:43:28 +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
1bc0fbf9d4 [locator] allow to have context menu entries for results 2018-11-28 07:46:24 -04:00
Alessandro Pasotti
e01cb7c46f Fix docstring for findNodes 2018-11-28 11:07:33 +01:00
nirvn
73d19e3c19 [processing] Add edit feature in-place menu shortcut
(useful for people who rely on the locator)
2018-11-28 16:53:31 +07:00
Alessandro Pasotti
e329fb5b97 Scanline implementation 2018-11-28 10:11:33 +01:00
Juergen E. Fischer
60ea432cbc fix windows build (partly reverts 1a199d095) 2018-11-27 23:16:03 +01:00
juanmpd
31f3f69d3c
Update Grass7Utils.py 2018-11-27 13:33:15 +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
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
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
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
Luigi Pirelli
f94d08d330
Merge pull request #8531 from Gustry/saga
fix nodata parameter in saga
2018-11-23 13:43:37 +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
Nyall Dawson
6fff62e668 Fix confusing override of accept method for non-dialog acceptance 2018-11-23 20:32:16 +11:00
Nyall Dawson
47bf1f49d8 Fix ownership of algorithm instance used by processing dialog 2018-11-23 20:32:16 +11:00
Nyall Dawson
4d97d20635 Fix incorrect ownership of processing algorithm dialog 2018-11-23 20:32:16 +11:00
Etienne Trimaille
c1f8db9b2e
fix nodata parameter in saga 2018-11-22 14:08:49 -04:00
Mathieu Pellerin
4e1d6841ae Avoid more needless project dirtying 2018-11-21 21:46:50 +07:00
Alessandro Pasotti
bb44e2b60b
Merge pull request #8512 from elpaso/docker-testing-env-tests
Docker testing env tests
2018-11-21 13:27:02 +01:00
Denis Rouzaud
d1d3a51efb
Merge pull request #8429 from lbartoletti/extendMapTool
[needs-docs][FEATURE] Trim/extend
2018-11-21 06:36:08 +01:00
Nyall Dawson
5603546c26 Dox 2018-11-21 08:48:55 +11:00