6817 Commits

Author SHA1 Message Date
Nyall Dawson
644ef6a752 [processing] Initial work on porting base GUI classes to c++
- Add abstract base class for Processing widget wrappers to c++
- Add wrapper factory interface to c++
- Make QgsProcessingGuiRegistry also register widget wrapper
factories, and be responsible for creation of new c++
processing widget wrapper instances
- Start on private c++ implementation of boolean widget wrapper,
including unit tests
2018-09-04 19:06:07 +10:00
nirvn
5cd28034bd address comments, fix test 2018-09-04 10:07:07 +07:00
nirvn
65d9911e8b Rephrase short help 2018-09-04 10:07:07 +07:00
nirvn
48b18d4c6c [processing] add parameterAsInts function 2018-09-04 10:07:07 +07:00
nirvn
97adef21bd [processing] multiple band selection wrapper should return list of ints 2018-09-04 10:07:07 +07:00
nirvn
1664ef16d2 [FEATURE][processing] gdal's rearrange band algorithm 2018-09-04 10:07:07 +07:00
nirvn
13ecaa4190 [needs-docs][processing] Add a multiple selection mode to the band parameter 2018-09-04 10:07:07 +07:00
Luigi Pirelli
b3d94f110f safer check if crs is None 2018-09-03 14:02:34 +02:00
Luigi Pirelli
33f83d68f0 revert crs to sourceCrs for feature sources 2018-09-03 10:58:37 +02:00
Luigi Pirelli
ddc5e52ab3 update template to current api (3.4) 2018-08-31 10:41:22 +02:00
Luigi Pirelli
123f694013
Merge pull request #7742 from agiudiceandrea/fix-equals-SpatialJoin
[processing] Fix 'equals' predicate in SpatialJoin and SpatialJoinSummary
2018-08-30 16:10:14 +02:00
Andrea Giudiceandrea
e56da0e58a
Add test for Join by location (equals)
Adds a test for "Join attributes by location" processing algorithm 'equals' predicate
2018-08-30 09:59:26 +02:00
Harrissou Sant-anna
00b0e3b0bc [needs-docs] Fix parameter's label and some distance default value
more coherent with meters
2018-08-30 05:10:42 +10:00
Harrissou Sant-anna
4e1d29ee24 [Processing][Needs-docs] Allow optional "value" in "select by attribute" algorithm
because it's not needed to run null checks (fixes #19469 which is actually reported in the wrong way)
2018-08-30 05:10:21 +10:00
Andrea Giudiceandrea
afcf048e23
Fix 'equals' predicate in SpatialJoinSummary
This fixes a typo in SpatialJoinSummary.py "Join attributes by location (summary)" algorithm that prevents the 'equals' predicate to work
2018-08-29 01:09:53 +02:00
Andrea Giudiceandrea
abd4d0ee11
Fix 'equals' predicate in SpatialJoin
This fixes a typo in SpatialJoin.py "Join attributes by location" algorithm that prevents the 'equals' predicate to work
2018-08-29 01:07:08 +02:00
Luigi Pirelli
6aa36166e4 adapted tests to new variables added in expressionContext 2018-08-28 17:06:10 +02:00
Luigi Pirelli
9e2286ae98 fix layer mapping in case direct use NOT in a model 2018-08-28 17:06:10 +02:00
Luigi Pirelli
d3144b97af remove unused method 2018-08-28 17:06:09 +02:00
Luigi Pirelli
6a2934cfa3 use complete layerSource instead of only basename 2018-08-28 17:06:09 +02:00
Luigi Pirelli
1bc1bb2f13 fix use layer source and managed string parsing in case of translation 2018-08-28 17:06:09 +02:00
Luigi Pirelli
faf9716a52 fix some code weakness and review comments 2018-08-28 17:06:09 +02:00
Luigi Pirelli
5a3b319e1c change expression to use layers in the current execution scope 2018-08-28 17:06:08 +02:00
Luigi Pirelli
5ebe5d6c5b show variableDescription as shown in the list of variables 2018-08-28 17:06:08 +02:00
Nyall Dawson
304033c916 [processing] Use distance parameter for Points Along Geometry offsets
and Topological Coloring distance parameters

Fixes #19712
2018-08-28 10:21:10 +10:00
Harrissou Sant-anna
269edfd0df Fix parameter's label
Because all values are in layer units now and they can be overridden
2018-08-28 04:37:17 +10:00
Alexander Bruy
821a8ff0b5 [processing] fix incorrect output names 2018-08-26 11:26:07 +03:00
Nyall Dawson
83feea46a7 [processing] Accept geometry-less layers in more algorithms
Fixes #19685
2018-08-25 15:41:13 +10:00
Alexander Bruy
267b049d31 [dbmanager] fix versioning dialog UI (overlapping line edits) 2018-08-25 08:34:24 +03:00
Luigi Pirelli
3b29e59885 small fix in parameter description removing spaces 2018-08-24 06:18:51 +10:00
Luigi Pirelli
819a82ad54 added SAGA watershed segmentation execution test 2018-08-24 06:18:51 +10:00
Luigi Pirelli
ad96be96a9 Fix Thershold parameter for SAGA Watershed algorithm 2018-08-24 06:18:51 +10:00
Juergen E. Fischer
1cc1f16501 Fix translation string
(caused "tx ERROR: Error received from server: Qt Linguist variants are
not yet supported." on vanish)
2018-08-22 10:40:23 +02:00
Nyall Dawson
9fbef832c9 [processing] Also standardise names for Spatialite algorithms 2018-08-21 16:00:18 +10:00
Nyall Dawson
5fab46f41c [processing][needs-docs] Refine names for 'Import into PostGIS' algs
Renames the existing algorithms for clarity and consistency
to the format 'Export to PostgreSQL...'. Add tags so that they
still show when searching for the old names, and add descriptions
to make their use more obvious from the toolbox.

Fixes #19658
2018-08-21 16:00:18 +10:00
Nyall Dawson
5241ff3c22 [processing] Fix creation of new layers doesn't default output folder
Fixes #19637
2018-08-21 15:09:37 +10:00
Nyall Dawson
8f3ac4506b [processing] Remove some unused configuration settings 2018-08-21 15:09:37 +10:00
Nyall Dawson
16503b38b2 [processing] Add unit test for gdalinfo algorithm 2018-08-21 14:28:42 +10:00
Nyall Dawson
d0a705fad0 [processing][gdal] Fix ogrinfo algorithm fails when path name has spaces
Fixes #19655
2018-08-21 14:28:42 +10:00
Nyall Dawson
85d740026a [processing] Remove extraneous parameter value check
The subsequent call to checkParameterValues covers the same checks,
but in a more flexible way.

Refs discussion at https://github.com/qgis/QGIS-Documentation/pull/2797
2018-08-21 05:24:30 +10:00
Nyall Dawson
0d200623b1 [FEATURE][processing] Add non-joinable output to Join by Location alg
Allows unjoinable features to be saved to a separate optional layer
2018-08-18 08:03:39 +10:00
Nyall Dawson
773371a143 [FEATURE][processing] Join by field value can export unmatched records,
and reports counts of matched/unmatched features

This gives an explicit warning to users when features were not matched,
and optionally allows them to save non-matching features to a layer.
2018-08-18 08:03:39 +10:00
Rudi von Staden
8d0b0ac8d2 Remove unused function 2018-08-17 16:05:16 +02:00
Rudi von Staden
7f8d406d09 Give a more descriptive output name 2018-08-17 15:17:25 +02:00
Rudi von Staden
bbfd6990f4 Add documentation and improve input parameter descriptions 2018-08-17 14:21:09 +02:00
Rudi von Staden
7da8d727d1 Fix null output for k greater than number of points in k-neighbour algorithm
- if k is greater than the number of points, use the number of points
- if k <3 is provided, use 3
- remove unused as_polygon function
2018-08-16 21:27:22 +02:00
Heidi Vanparys
4ab4b42d27 Update Danish national CSW
geodata-info has been modernised (upgrade of GeoNetwork installation) and as a consequence, the CSW endpoint was changed from http://www.geodata-info.dk/registrant/srv/en/csw to https://geodata-info.dk/srv/dan/csw.
2018-08-16 19:12:53 +10:00
Nyall Dawson
a0b4e024bb [processing] Respect application stylesheet in modeler/script editor dialogs 2018-08-16 09:12:22 +10:00
Nyall Dawson
4930061b21 [processing] Fix incorrect OGR warnings when loading raster layer results
Fixes #19597
2018-08-16 06:37:18 +10:00
nirvn
94300eab7c Add proxy progress task for non-background algorithms 2018-08-16 06:22:16 +10:00